python/python-dateutil: Updated for version 2.4.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2015-09-30 08:15:23 +07:00 committed by Willy Sudiarto Raharjo
parent 73f0a64f24
commit b936bfd8bd
2 changed files with 6 additions and 7 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-dateutil PRGNAM=python-dateutil
VERSION=${VERSION:-2.4.1} VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -46,7 +46,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
@ -57,8 +57,7 @@ find -L . \
# Fix end-of-line encoding. # Fix end-of-line encoding.
for i in NEWS PKG-INFO python_dateutil.egg-info/{zip-safe,PKG-INFO}; do for i in NEWS PKG-INFO python_dateutil.egg-info/{zip-safe,PKG-INFO}; do
cp $i ${i}.new sed -e 's/\r//' $i > ${i}.new
sed -i 's/\r//' ${i}.new
touch -r $i ${i}.new touch -r $i ${i}.new
mv ${i}.new $i mv ${i}.new $i
done done

View file

@ -1,8 +1,8 @@
PRGNAM="python-dateutil" PRGNAM="python-dateutil"
VERSION="2.4.1" VERSION="2.4.2"
HOMEPAGE="http://labix.org/python-dateutil" HOMEPAGE="http://labix.org/python-dateutil"
DOWNLOAD="http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.1.tar.bz2" DOWNLOAD="http://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.2.tar.gz"
MD5SUM="6603c54f37cace901157e2ec2443e96b" MD5SUM="4ef68e1c485b09e9f034e10473e5add2"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="pysetuptools six" REQUIRES="pysetuptools six"