summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-09-30 08:15:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-30 08:15:23 +0700
commitb936bfd8bd2ad2e228bca6475481561314c48dff (patch)
tree2480551bf783f028e99f4930511e885dabe8a01f
parent73f0a64f2453050556d947f29f7375271900d7b7 (diff)
downloadslackbuilds-b936bfd8bd2ad2e228bca6475481561314c48dff.tar.gz
python/python-dateutil: Updated for version 2.4.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-dateutil/python-dateutil.SlackBuild7
-rw-r--r--python/python-dateutil/python-dateutil.info6
2 files changed, 6 insertions, 7 deletions
diff --git a/python/python-dateutil/python-dateutil.SlackBuild b/python/python-dateutil/python-dateutil.SlackBuild
index f38d57e088..29833449ff 100644
--- a/python/python-dateutil/python-dateutil.SlackBuild
+++ b/python/python-dateutil/python-dateutil.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-dateutil
-VERSION=${VERSION:-2.4.1}
+VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,7 +46,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -57,8 +57,7 @@ find -L . \
# 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
+ sed -e 's/\r//' $i > ${i}.new
touch -r $i ${i}.new
mv ${i}.new $i
done
diff --git a/python/python-dateutil/python-dateutil.info b/python/python-dateutil/python-dateutil.info
index 4c1257f928..fd8520193f 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.1"
+VERSION="2.4.2"
HOMEPAGE="http://labix.org/python-dateutil"
-DOWNLOAD="http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.1.tar.bz2"
-MD5SUM="6603c54f37cace901157e2ec2443e96b"
+DOWNLOAD="http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.2.tar.gz"
+MD5SUM="4ef68e1c485b09e9f034e10473e5add2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools six"