void-packages/srcpkgs/python-BeautifulSoup4/template
2019-03-01 12:04:45 -03:00

31 lines
849 B
Bash

# Template file for 'python-BeautifulSoup4'
pkgname=python-BeautifulSoup4
version=4.7.1
revision=2
archs=noarch
wrksrc="beautifulsoup4-${version}"
build_style=python-module
pycompile_module="bs4"
hostmakedepends="python-setuptools python3-setuptools"
depends="python python-soupsieve"
short_desc="Python2 HTML/XML parser"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
checksum=945065979fb8529dd2f37dbb58f00b661bdbcbebf954f93b32fdf5263ef35348
post_install() {
vlicense LICENSE
}
python3-BeautifulSoup4_package() {
archs=noarch
depends="python3 python3-soupsieve"
pycompile_module="bs4"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
vlicense LICENSE
}
}