diff --git a/srcpkgs/python-tzlocal/template b/srcpkgs/python-tzlocal/template index 0ea1592e5d1..f04af672475 100644 --- a/srcpkgs/python-tzlocal/template +++ b/srcpkgs/python-tzlocal/template @@ -1,6 +1,6 @@ # Template file for 'python-tzlocal' pkgname=python-tzlocal -version=1.3 +version=1.4 revision=1 noarch=yes wrksrc="tzlocal-${version}" @@ -8,12 +8,16 @@ build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python-pytz" pycompile_module="tzlocal" -short_desc="Return the tzinfo object for the local timezone in Python2" +short_desc="Return the tzinfo object for the local timezone (Python2)" maintainer="Oliver Kiddle " -license="CC0-1.0" -homepage="https://pypi.python.org/pypi/tzlocal" +license="MIT" +homepage="https://github.com/regebro/tzlocal" distfiles="${PYPI_SITE}/t/tzlocal/tzlocal-${version}.tar.gz" -checksum=d160c2ce4f8b1831dabfe766bd844cf9012f766539cf84139c2faac5201882ce +checksum=05a2908f7fb1ba8843f03b2360d6ad314dbf2bce4644feb702ccd38527e13059 + +post_install() { + vlicense LICENSE.txt LICENSE +} python3-tzlocal_package() { noarch=yes @@ -23,6 +27,7 @@ python3-tzlocal_package() { short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* + vlicense LICENSE.txt LICENSE } } python3.4-tzlocal_package() { diff --git a/srcpkgs/python-tzlocal/update b/srcpkgs/python-tzlocal/update new file mode 100644 index 00000000000..e9b0a0a5ea4 --- /dev/null +++ b/srcpkgs/python-tzlocal/update @@ -0,0 +1 @@ +ignore="*b*"