void-packages/srcpkgs/python-BeautifulSoup4/template

32 lines
808 B
Bash

# Template file for 'python-BeautifulSoup4'
pkgname=python-BeautifulSoup4
version=4.6.3
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 <al3hex@gmail.com>"
homepage="http://www.crummy.com/software/BeautifulSoup/"
license="MIT"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
checksum=90f8e61121d6ae58362ce3bed8cd997efb00c914eae0ff3d363c32f9a9822d10
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
}
}