New package: python-tzlocal-1.2

This commit is contained in:
Oliver Kiddle 2015-10-06 14:58:32 +02:00
parent baa8089ff8
commit bfe8eb8ccb
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Template file for 'python-tzlocal'
pkgname=python-tzlocal
version=1.2
revision=1
noarch=yes
wrksrc="tzlocal-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-pytz"
pycompile_module="tzlocal"
short_desc="Return the tzinfo object for the local timezone in Python2"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="CC0-1.0"
homepage="https://pypi.python.org/pypi/tzlocal"
distfiles="${PYPI_SITE}/t/tzlocal/tzlocal-${version}.tar.gz"
checksum=438f122d684c951b22cb98aecc80fdb961b84e69542bf878c6b9a9419de09a8b
python3.4-tzlocal_package() {
noarch=yes
depends="python3.4-pytz"
pycompile_version="3.4"
pycompile_module="tzlocal"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

1
srcpkgs/python3.4-tzlocal Symbolic link
View File

@ -0,0 +1 @@
python-tzlocal