33 lines
892 B
Bash
33 lines
892 B
Bash
# Template file for 'python-BeautifulSoup4'
|
|
pkgname=python-BeautifulSoup4
|
|
version=4.4.1
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="beautifulsoup4-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python"
|
|
pycompile_module="bs4"
|
|
short_desc="Python2 HTML/XML parser"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="http://www.crummy.com/software/BeautifulSoup/"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
|
|
checksum=87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4
|
|
|
|
post_install() {
|
|
vlicense COPYING.txt LICENSE
|
|
}
|
|
|
|
python3.4-BeautifulSoup4_package() {
|
|
noarch=yes
|
|
depends="python3.4"
|
|
pycompile_version="3.4"
|
|
pycompile_module="bs4"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
vlicense COPYING.txt LICENSE
|
|
}
|
|
}
|