mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
python-backports_abc: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
d78298bf05
commit
3c4b1dab1c
1 changed files with 13 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-backports_abc'
|
# Template file for 'python-backports_abc'
|
||||||
pkgname=python-backports_abc
|
pkgname=python-backports_abc
|
||||||
version=0.4
|
version=0.4
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="backports_abc-${version}"
|
wrksrc="backports_abc-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="backports_abc.py"
|
pycompile_module="backports_abc.py"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Backport of collections.abc from Python 3.5 (Python2)"
|
short_desc="Backport of collections.abc from Python 3.5 (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
@ -16,13 +15,19 @@ license="PSF"
|
||||||
distfiles="${PYPI_SITE}/b/backports_abc/backports_abc-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/b/backports_abc/backports_abc-${version}.tar.gz"
|
||||||
checksum=8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5
|
checksum=8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5
|
||||||
|
|
||||||
python3.4-backports_abc_package() {
|
python3-backports_abc_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_version="3.4"
|
depends="python3"
|
||||||
pycompile_module="backports_abc.py"
|
pycompile_module="backports_abc.py"
|
||||||
depends="python3.4"
|
replaces="python3.4-backports_abc>=0"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-backports_abc_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-backports_abc>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue