python-cssselect: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 22:42:25 +07:00
parent 40dd9cc362
commit 081975069c
3 changed files with 22 additions and 30 deletions

View file

@ -1,29 +0,0 @@
# Template file for 'python-cssselect'
pkgname=python-cssselect
version=1.1.0
revision=3
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="cssselect"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="CSS selectors for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://cssselect.readthedocs.io/"
distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
checksum=f95f8dedd925fd8f54edb3d2dfb44c190d9d18512377d3c1e2388d16126879bc
post_install() {
vlicense LICENSE
}
python3-cssselect_package() {
depends="python3"
pycompile_module="cssselect"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-cssselect

View file

@ -0,0 +1,22 @@
# Template file for 'python3-cssselect'
pkgname=python3-cssselect
version=1.1.0
revision=4
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="CSS selectors for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://cssselect.readthedocs.io/"
distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
checksum=f95f8dedd925fd8f54edb3d2dfb44c190d9d18512377d3c1e2388d16126879bc
do_check() {
:
}
post_install() {
vlicense LICENSE
}