void-packages/srcpkgs/python-BeautifulSoup4/template

32 lines
849 B
Bash

# Template file for 'python-BeautifulSoup4'
pkgname=python-BeautifulSoup4
version=4.8.1
revision=1
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=6135db2ba678168c07950f9a16c4031822c6f4aec75a65e0a97bc5ca09789931
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
}
}