python-py: drop package
This commit is contained in:
parent
e086fd8748
commit
910ab2464e
|
@ -1 +0,0 @@
|
|||
python-py
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'python-py'
|
||||
pkgname=python-py
|
||||
# Template file for 'python3-py'
|
||||
pkgname=python3-py
|
||||
version=1.9.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="py-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
checkdepends="python3-pytest"
|
||||
short_desc="Python2 development support library"
|
||||
short_desc="Python3 development support library"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/pytest-dev/py"
|
||||
|
@ -15,6 +15,10 @@ changelog="https://github.com/pytest-dev/py/raw/master/CHANGELOG"
|
|||
distfiles="${PYPI_SITE}/p/py/py-${version}.tar.gz"
|
||||
checksum=9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342
|
||||
|
||||
post_extract() {
|
||||
vsed -i -e 's/"setuptools-scm"//' setup.py
|
||||
}
|
||||
|
||||
do_check() {
|
||||
python3 -m pytest
|
||||
}
|
||||
|
@ -22,12 +26,3 @@ do_check() {
|
|||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-py_package() {
|
||||
depends="python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue