From 3b28eef135accfdc0fb611af246f3882ac295d8b Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 8 Mar 2015 06:03:50 +0700 Subject: python/python-dateutil: Updated for version 2.4.1. Signed-off-by: Willy Sudiarto Raharjo --- python/python-dateutil/python-dateutil.SlackBuild | 12 ++++++++++-- python/python-dateutil/python-dateutil.info | 6 +++--- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'python') diff --git a/python/python-dateutil/python-dateutil.SlackBuild b/python/python-dateutil/python-dateutil.SlackBuild index e4751889d2..a11c12c6fc 100644 --- a/python/python-dateutil/python-dateutil.SlackBuild +++ b/python/python-dateutil/python-dateutil.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-dateutil -# Copyright 2012 Larry Hajali +# Copyright 2012-2015 Larry Hajali # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-dateutil -VERSION=${VERSION:-2.4.0} +VERSION=${VERSION:-2.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,6 +55,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix end-of-line encoding. +for i in NEWS PKG-INFO python_dateutil.egg-info/{zip-safe,PKG-INFO}; do + cp $i ${i}.new + sed -i 's/\r//' ${i}.new + touch -r $i ${i}.new + mv ${i}.new $i +done + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/python-dateutil/python-dateutil.info b/python/python-dateutil/python-dateutil.info index 372700e44c..cec59456dc 100644 --- a/python/python-dateutil/python-dateutil.info +++ b/python/python-dateutil/python-dateutil.info @@ -1,8 +1,8 @@ PRGNAM="python-dateutil" -VERSION="2.4.0" +VERSION="2.4.1" HOMEPAGE="http://labix.org/python-dateutil" -DOWNLOAD="http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.0.tar.gz" -MD5SUM="75714163bb96bedd07685cdb2071b8bc" +DOWNLOAD="http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.1.tar.gz" +MD5SUM="6ca9645559545db28c47fe159d288ee2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pysetuptools six" -- cgit v1.2.3