python-pathspec: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:04:14 +07:00
parent c78e187315
commit 28fe6826bb
3 changed files with 18 additions and 31 deletions

View file

@ -1,30 +0,0 @@
# Template file for 'python-pathspec'
pkgname=python-pathspec
version=0.6.0
revision=2
archs=noarch
wrksrc="pathspec-${version}"
build_style=python-module
pycompile_module="pathspec"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 utility library for pattern matching of file paths"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://github.com/cpburnz/python-path-specification"
distfiles="${PYPI_SITE}/p/pathspec/pathspec-${version}.tar.gz"
checksum=e285ccc8b0785beadd4c18e5708b12bb8fcf529a1e61215b3feff1d1e559ea5c
do_check() {
python3 setup.py test
}
python3-pathspec_package() {
archs=noarch
pycompile_module="pathspec"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-pathspec

View file

@ -0,0 +1,18 @@
# Template file for 'python3-pathspec'
pkgname=python3-pathspec
version=0.6.0
revision=3
wrksrc="pathspec-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 utility library for pattern matching of file paths"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://github.com/cpburnz/python-path-specification"
distfiles="${PYPI_SITE}/p/pathspec/pathspec-${version}.tar.gz"
checksum=e285ccc8b0785beadd4c18e5708b12bb8fcf529a1e61215b3feff1d1e559ea5c
do_check() {
python3 setup.py test
}