32 lines
804 B
Bash
32 lines
804 B
Bash
# Template file for 'python-cssselect'
|
|
pkgname=python-cssselect
|
|
version=1.0.3
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
pycompile_module="cssselect"
|
|
short_desc="CSS selectors for Python2"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
homepage="https://cssselect.readthedocs.io/"
|
|
license="3-clause-BSD"
|
|
distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
|
|
checksum=066d8bc5229af09617e24b3ca4d52f1f9092d9e061931f4184cd572885c23204
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-cssselect_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="cssselect"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|