python-pytz: update to 2016.10
This commit is contained in:
parent
9973c4613e
commit
bfbd095ec0
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-pytz'
|
# Template file for 'python-pytz'
|
||||||
pkgname=python-pytz
|
pkgname=python-pytz
|
||||||
version=2016.7
|
version=2016.10
|
||||||
revision=2
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="pytz-${version}"
|
wrksrc="pytz-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -13,14 +13,13 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://pythonhosted.org/pytz/"
|
homepage="http://pythonhosted.org/pytz/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/p/pytz/pytz-${version}.tar.bz2"
|
distfiles="${PYPI_SITE}/p/pytz/pytz-${version}.tar.bz2"
|
||||||
checksum=6eab31709e3a4aea748457707da45e805b650cbb352583805d2417de2a1dd71e
|
checksum=7016b2c4fa075c564b81c37a252a5fccf60d8964aa31b7f5eae59aeb594ae02b
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# use system tz database
|
# use system tz database
|
||||||
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pytz/zoneinfo
|
for py_sitelib in $py2_sitelib $py3_sitelib; do
|
||||||
for pyver in $python_versions; do
|
rm -rf ${DESTDIR}/${py_sitelib}/pytz/zoneinfo
|
||||||
ln -sf /usr/share/zoneinfo \
|
ln -sf /usr/share/zoneinfo ${DESTDIR}/${py_sitelib}/pytz/zoneinfo
|
||||||
${DESTDIR}/usr/lib/python${pyver}/site-packages/pytz/zoneinfo
|
|
||||||
done
|
done
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue