summaryrefslogtreecommitdiff
path: root/python/python-dateutil/python-dateutil.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-dateutil/python-dateutil.SlackBuild')
-rw-r--r--python/python-dateutil/python-dateutil.SlackBuild7
1 files changed, 3 insertions, 4 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