python-testpath: drop package
This commit is contained in:
parent
4a7f39e388
commit
29f61ea963
3 changed files with 21 additions and 35 deletions
|
@ -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
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-testpath
|
21
srcpkgs/python3-testpath/template
Normal file
21
srcpkgs/python3-testpath/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue