# Template file for 'python-tzlocal' pkgname=python-tzlocal version=1.2.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 " license="CC0-1.0" homepage="https://pypi.python.org/pypi/tzlocal" distfiles="${PYPI_SITE}/t/tzlocal/tzlocal-${version}.tar.gz" checksum=cbbaa4e9d25c36386f12af9febe315139fdd39317b91abcb42d782a5e93e525d 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 } }