mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
python-simplegeneric: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
9c33e07f5b
commit
be982f9ad9
2 changed files with 14 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-simplegeneric'
|
# Template file for 'python-simplegeneric'
|
||||||
pkgname=python-simplegeneric
|
pkgname=python-simplegeneric
|
||||||
version=0.8.1
|
version=0.8.1
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="simplegeneric-${version}"
|
wrksrc="simplegeneric-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="unzip python-setuptools python3-setuptools"
|
||||||
hostmakedepends="unzip python-setuptools python3.4-setuptools"
|
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="simplegeneric.py"
|
pycompile_module="simplegeneric.py"
|
||||||
short_desc="Simple generic functions for Python2"
|
short_desc="Simple generic functions for Python2"
|
||||||
|
@ -16,13 +15,19 @@ license="ZPL"
|
||||||
distfiles="${PYPI_SITE}/s/simplegeneric/simplegeneric-${version}.zip"
|
distfiles="${PYPI_SITE}/s/simplegeneric/simplegeneric-${version}.zip"
|
||||||
checksum=dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173
|
checksum=dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173
|
||||||
|
|
||||||
python3.4-simplegeneric_package() {
|
python3-simplegeneric_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4"
|
depends="python3"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="simplegeneric.py"
|
pycompile_module="simplegeneric.py"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-simplegeneric>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-simplegeneric_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-simplegeneric>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-simplegeneric
Symbolic link
1
srcpkgs/python3-simplegeneric
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-simplegeneric
|
Loading…
Add table
Reference in a new issue