From bfbd095ec04cc24cc95a70481e23f2c2f86a7170 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 7 Dec 2016 09:44:12 +0100 Subject: [PATCH] python-pytz: update to 2016.10 --- srcpkgs/python-pytz/template | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/srcpkgs/python-pytz/template b/srcpkgs/python-pytz/template index ced4c403e26..1834bba3ede 100644 --- a/srcpkgs/python-pytz/template +++ b/srcpkgs/python-pytz/template @@ -1,7 +1,7 @@ # Template file for 'python-pytz' pkgname=python-pytz -version=2016.7 -revision=2 +version=2016.10 +revision=1 noarch=yes wrksrc="pytz-${version}" build_style=python-module @@ -13,14 +13,13 @@ maintainer="Alessio Sergi " homepage="http://pythonhosted.org/pytz/" license="MIT" distfiles="${PYPI_SITE}/p/pytz/pytz-${version}.tar.bz2" -checksum=6eab31709e3a4aea748457707da45e805b650cbb352583805d2417de2a1dd71e +checksum=7016b2c4fa075c564b81c37a252a5fccf60d8964aa31b7f5eae59aeb594ae02b post_install() { # use system tz database - rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pytz/zoneinfo - for pyver in $python_versions; do - ln -sf /usr/share/zoneinfo \ - ${DESTDIR}/usr/lib/python${pyver}/site-packages/pytz/zoneinfo + for py_sitelib in $py2_sitelib $py3_sitelib; do + rm -rf ${DESTDIR}/${py_sitelib}/pytz/zoneinfo + ln -sf /usr/share/zoneinfo ${DESTDIR}/${py_sitelib}/pytz/zoneinfo done vlicense LICENSE.txt LICENSE }