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"