# Template file for 'python-BeautifulSoup4' pkgname=python-BeautifulSoup4 version=4.6.1 revision=1 noarch=yes wrksrc="beautifulsoup4-${version}" build_style=python-module pycompile_module="bs4" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Python2 HTML/XML parser" maintainer="Alessio Sergi " homepage="http://www.crummy.com/software/BeautifulSoup/" license="MIT" distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz" checksum=bd43a3b26d2886acd63070c43da821b60dea603eb6d45bab0294aac6129adbfa post_install() { vlicense LICENSE } python3-BeautifulSoup4_package() { noarch=yes depends="python3" pycompile_module="bs4" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }