void-packages/srcpkgs/python-cssselect/template
maxice8 722a0b58b2 python-cssselect: update to 1.0.3.
Closes: #10232 [via git-merge-pr]
2017-12-29 18:14:56 +01:00

31 lines
799 B
Bash

# Template file for 'python-cssselect'
pkgname=python-cssselect
version=1.0.3
revision=1
noarch=yes
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.eu>"
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() {
noarch=yes
depends="python3"
pycompile_module="cssselect"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}