python-tzlocal: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
3fd51b40e1
commit
a4f0b5b9ea
2 changed files with 14 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-tzlocal'
|
||||
pkgname=python-tzlocal
|
||||
version=1.2.2
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="tzlocal-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-pytz"
|
||||
pycompile_module="tzlocal"
|
||||
short_desc="Return the tzinfo object for the local timezone in Python2"
|
||||
|
@ -16,13 +15,19 @@ homepage="https://pypi.python.org/pypi/tzlocal"
|
|||
distfiles="${PYPI_SITE}/t/tzlocal/tzlocal-${version}.tar.gz"
|
||||
checksum=cbbaa4e9d25c36386f12af9febe315139fdd39317b91abcb42d782a5e93e525d
|
||||
|
||||
python3.4-tzlocal_package() {
|
||||
python3-tzlocal_package() {
|
||||
noarch=yes
|
||||
depends="python3.4-pytz"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-pytz"
|
||||
pycompile_module="tzlocal"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-tzlocal>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-tzlocal_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-tzlocal>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-tzlocal
Symbolic link
1
srcpkgs/python3-tzlocal
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-tzlocal
|
Loading…
Reference in a new issue