From 2ecbf327bcfc57ad501507e451053184ef561802 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 2 Mar 2016 19:42:50 +0100 Subject: [PATCH] python-dateutil: update to 2.5.0 --- srcpkgs/python-dateutil/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python-dateutil/template b/srcpkgs/python-dateutil/template index 6524519343e..74832229159 100644 --- a/srcpkgs/python-dateutil/template +++ b/srcpkgs/python-dateutil/template @@ -1,6 +1,6 @@ # Template file for 'python-dateutil' pkgname=python-dateutil -version=2.4.2 +version=2.5.0 revision=1 noarch=yes build_style=python-module @@ -11,14 +11,17 @@ pycompile_module="dateutil" short_desc="Extensions to the standard Python2 datetime module" maintainer="Alessio Sergi " homepage="https://github.com/dateutil/dateutil" -license="BSD" +license="3-clause-BSD" distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=3e95445c1db500a344079a47b171c45ef18f57d188dffdb0e4165c71bea8eb3d +checksum=c1f7a66b0021bd7b206cc60dd47ecc91b931cdc5258972dc56b25186fa9a96a5 pre_build() { # don't install zoneinfo tarball sed -i '/package_data=/d' setup.py } +post_install() { + vlicense LICENSE +} python3.4-dateutil_package() { noarch=yes @@ -28,5 +31,6 @@ python3.4-dateutil_package() { short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 + vlicense LICENSE } }