diff options
author | Alessio Sergi <al3hex@gmail.com> | 2014-09-09 22:45:00 +0000 |
---|---|---|
committer | Alessio Sergi <al3hex@gmail.com> | 2014-09-09 22:47:57 +0000 |
commit | 10313f0af412f5ea30fc706a15b0026f93522dae (patch) | |
tree | 9634bd2c081898a8bbcb4b4577f3957d75fb9d7d /srcpkgs/python-pytz/template | |
parent | f5f9ef35c55d80aab43707de319fe06b3e6120af (diff) | |
download | void-packages-10313f0af412f5ea30fc706a15b0026f93522dae.tar void-packages-10313f0af412f5ea30fc706a15b0026f93522dae.tar.gz void-packages-10313f0af412f5ea30fc706a15b0026f93522dae.tar.bz2 void-packages-10313f0af412f5ea30fc706a15b0026f93522dae.tar.lz void-packages-10313f0af412f5ea30fc706a15b0026f93522dae.tar.xz void-packages-10313f0af412f5ea30fc706a15b0026f93522dae.tar.zst void-packages-10313f0af412f5ea30fc706a15b0026f93522dae.zip |
python-pytz: update to 2014.7
Diffstat (limited to '')
-rw-r--r-- | srcpkgs/python-pytz/template | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/srcpkgs/python-pytz/template b/srcpkgs/python-pytz/template index bd57ec06bd1..1ab527243bf 100644 --- a/srcpkgs/python-pytz/template +++ b/srcpkgs/python-pytz/template @@ -1,28 +1,27 @@ # Template file for 'python-pytz' pkgname=python-pytz -version=2014.4 +version=2014.7 revision=1 noarch=yes wrksrc="pytz-${version}" build_style=python-module python_versions="2.7 3.4" hostmakedepends="python-setuptools python3.4-setuptools" -makedepends="python-devel python3.4-devel" -depends="python>=2.7" +depends="python" pycompile_module="pytz" short_desc="Python2 timezone library" maintainer="Juan RP <xtraeme@gmail.com>" homepage="https://pypi.python.org/pypi/pytz/" license="MIT" distfiles="https://pypi.python.org/packages/source/p/pytz/pytz-${version}.tar.gz" -checksum=fddc081b9aead4d4ec09685c6e9ed6c7d3f5cace1ff7d39c76ba770f2c8d1049 +checksum=bfc2bd00147e5ecf75399f4a94cb84cc00ce9b511a15f9958bb6c85a455f76eb pre_install() { sed -i 's,#!/usr/bin/env python,&3.4,' build-3.4/lib/pytz/tzfile.py } post_install() { - vinstall LICENSE.txt 644 usr/share/licenses/${pkgname} LICENSE + vlicense LICENSE.txt LICENSE } python3.4-pytz_package() { @@ -33,6 +32,6 @@ python3.4-pytz_package() { short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove /usr/lib/python3.4 - vinstall ${wrksrc}/LICENSE.txt 644 usr/share/licenses/${pkgname} LICENSE + vlicense ${wrksrc}/LICENSE.txt LICENSE } } |