mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
python-isodate: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
51adc67934
commit
cd1d0ba38b
2 changed files with 14 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-isodate'
|
# Template file for 'python-isodate'
|
||||||
pkgname=python-isodate
|
pkgname=python-isodate
|
||||||
version=0.5.4
|
version=0.5.4
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="isodate-${version}"
|
wrksrc="isodate-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="isodate"
|
pycompile_module="isodate"
|
||||||
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
|
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
|
||||||
|
@ -16,13 +15,19 @@ license="BSD"
|
||||||
distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz"
|
||||||
checksum=42105c41d037246dc1987e36d96f3752ffd5c0c24834dd12e4fdbe1e79544e31
|
checksum=42105c41d037246dc1987e36d96f3752ffd5c0c24834dd12e4fdbe1e79544e31
|
||||||
|
|
||||||
python3.4-isodate_package() {
|
python3-isodate_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4"
|
depends="python3"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="isodate"
|
pycompile_module="isodate"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-isodate>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-isodate_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-isodate>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-isodate
Symbolic link
1
srcpkgs/python3-isodate
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-isodate
|
Loading…
Add table
Reference in a new issue