python-pytz: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
10f48e6722
commit
edac400a1e
@ -1,12 +1,11 @@
|
||||
# Template file for 'python-pytz'
|
||||
pkgname=python-pytz
|
||||
version=2016.7
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="pytz-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python tzdata"
|
||||
pycompile_module="pytz"
|
||||
short_desc="Python2 timezone library"
|
||||
@ -26,14 +25,20 @@ post_install() {
|
||||
vlicense LICENSE.txt LICENSE
|
||||
}
|
||||
|
||||
python3.4-pytz_package() {
|
||||
python3-pytz_package() {
|
||||
noarch=yes
|
||||
depends="python3.4 tzdata"
|
||||
pycompile_version="3.4"
|
||||
depends="python3 tzdata"
|
||||
pycompile_module="pytz"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-pytz>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.txt LICENSE
|
||||
}
|
||||
}
|
||||
python3.4-pytz_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-pytz>=${version}_${revision}"
|
||||
}
|
||||
|
1
srcpkgs/python3-pytz
Symbolic link
1
srcpkgs/python3-pytz
Symbolic link
@ -0,0 +1 @@
|
||||
python-pytz
|
Loading…
Reference in New Issue
Block a user