mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
python-backports: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
fbf32a3aa5
commit
91be2ba1ff
2 changed files with 14 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-backports'
|
# Template file for 'python-backports'
|
||||||
pkgname=python-backports
|
pkgname=python-backports
|
||||||
version=1.0
|
version=1.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="backports-${version}"
|
wrksrc="backports-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="backports"
|
pycompile_module="backports"
|
||||||
hostmakedepends="python python3.4"
|
hostmakedepends="python python3"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Namespace for backported Python features (Python2)"
|
short_desc="Namespace for backported Python features (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
@ -16,13 +15,19 @@ license="PSF"
|
||||||
distfiles="https://dev.gentoo.org/~radhermit/dist/backports-${version}.tar.gz"
|
distfiles="https://dev.gentoo.org/~radhermit/dist/backports-${version}.tar.gz"
|
||||||
checksum=ee43d5b7bf4e79e04fbab30a09421cb5cbf4f56e7c14769393a7d1c34ea5e740
|
checksum=ee43d5b7bf4e79e04fbab30a09421cb5cbf4f56e7c14769393a7d1c34ea5e740
|
||||||
|
|
||||||
|
python3-backports_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
|
pycompile_module="backports"
|
||||||
|
replaces="python3.4-backports>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
||||||
python3.4-backports_package() {
|
python3.4-backports_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_version="3.4"
|
build_style=meta
|
||||||
pycompile_module="backports"
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
depends="python3.4"
|
depends="python3-backports>=${version}_${revision}"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3.4
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/python3-backports
Symbolic link
1
srcpkgs/python3-backports
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-backports
|
Loading…
Add table
Reference in a new issue