python-py: drop package
This commit is contained in:
parent
e086fd8748
commit
910ab2464e
2 changed files with 11 additions and 17 deletions
|
@ -1 +0,0 @@
|
||||||
python-py
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'python-py'
|
# Template file for 'python3-py'
|
||||||
pkgname=python-py
|
pkgname=python3-py
|
||||||
version=1.9.0
|
version=1.9.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="py-${version}"
|
wrksrc="py-${version}"
|
||||||
build_style=python-module
|
build_style=python3-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python"
|
depends="python3"
|
||||||
checkdepends="python3-pytest"
|
checkdepends="python3-pytest"
|
||||||
short_desc="Python2 development support library"
|
short_desc="Python3 development support library"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/pytest-dev/py"
|
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"
|
distfiles="${PYPI_SITE}/p/py/py-${version}.tar.gz"
|
||||||
checksum=9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342
|
checksum=9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
vsed -i -e 's/"setuptools-scm"//' setup.py
|
||||||
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 -m pytest
|
python3 -m pytest
|
||||||
}
|
}
|
||||||
|
@ -22,12 +26,3 @@ do_check() {
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-py_package() {
|
|
||||||
depends="python3"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue