void-packages/srcpkgs/python-BeautifulSoup4/template

30 lines
802 B
Bash

# Template file for 'python-BeautifulSoup4'
pkgname=python-BeautifulSoup4
version=4.8.2
revision=1
archs=noarch
wrksrc="beautifulsoup4-${version}"
build_style=python-module
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=05fd825eb01c290877657a56df4c6e4c311b3965bda790c613a3d6fb01a5462a
post_install() {
vlicense LICENSE
}
python3-BeautifulSoup4_package() {
archs=noarch
depends="python3 python3-soupsieve"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
vlicense LICENSE
}
}