python-testpath: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 16:21:19 +07:00
parent 4a7f39e388
commit 29f61ea963
3 changed files with 21 additions and 35 deletions

View file

@ -1,34 +0,0 @@
# Template file for 'python-testpath'
pkgname=python-testpath
version=0.4.2
revision=2
archs=noarch
wrksrc="testpath-${version}"
build_style=python-module
pycompile_module="testpath"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Test utilities for code working with files and commands (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/jupyter/testpath"
license="BSD-3-Clause"
distfiles="${PYPI_SITE}/t/testpath/testpath-${version}.tar.gz"
checksum=b694b3d9288dbd81685c5d2e7140b81365d46c29f5db4bc659de5aa6b98780f8
pre_build() {
rm -f testpath/cli-*.exe
}
post_install() {
vlicense LICENSE
}
python3-testpath_package() {
archs=noarch
depends="python3"
pycompile_module="testpath"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-testpath

View file

@ -0,0 +1,21 @@
# Template file for 'python3-testpath'
pkgname=python3-testpath
version=0.4.2
revision=3
wrksrc="testpath-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Test utilities for code working with files and commands (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter/testpath"
distfiles="${PYPI_SITE}/t/testpath/testpath-${version}.tar.gz"
checksum=b694b3d9288dbd81685c5d2e7140b81365d46c29f5db4bc659de5aa6b98780f8
pre_build() {
rm -f testpath/cli-*.exe
}
post_install() {
vlicense LICENSE
}