summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-24 20:57:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-24 20:57:23 +0700
commita9c81705ea0396f3cb9cb2b33ac01b48d0a3aa18 (patch)
treecdacae38e7111c2e638bc4cf9f49af3c5afa25c4 /python
parente519b967770747f98d0d6dea5fe469a0ab93583f (diff)
downloadslackbuilds-a9c81705ea0396f3cb9cb2b33ac01b48d0a3aa18.tar.gz
python/python-parsedatetime: Updated for version 2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-parsedatetime/python-parsedatetime.SlackBuild17
-rw-r--r--python/python-parsedatetime/python-parsedatetime.info6
2 files changed, 12 insertions, 11 deletions
diff --git a/python/python-parsedatetime/python-parsedatetime.SlackBuild b/python/python-parsedatetime/python-parsedatetime.SlackBuild
index 60b8c2be52..ebfee286b2 100644
--- a/python/python-parsedatetime/python-parsedatetime.SlackBuild
+++ b/python/python-parsedatetime/python-parsedatetime.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-parsedatetime
-# Copyright 2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-parsedatetime
-SRCNAM=parsedatetime
-VERSION=${VERSION:-1.5}
+DIRNAM=parsedatetime
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,14 +55,14 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $DIRNAM-$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+cd $DIRNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -76,8 +76,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.rst *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.rst *.txt notes/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/requirements.txt
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/python/python-parsedatetime/python-parsedatetime.info b/python/python-parsedatetime/python-parsedatetime.info
index 7cc30395f6..2ab0b54e73 100644
--- a/python/python-parsedatetime/python-parsedatetime.info
+++ b/python/python-parsedatetime/python-parsedatetime.info
@@ -1,8 +1,8 @@
PRGNAM="python-parsedatetime"
-VERSION="1.5"
+VERSION="2.1"
HOMEPAGE="https://github.com/bear/parsedatetime"
-DOWNLOAD="https://github.com/bear/parsedatetime/archive/v1.5.tar.gz"
-MD5SUM="f7b6b8258728ca9aa2ef536b3f221baf"
+DOWNLOAD="https://github.com/bear/parsedatetime/archive/v2.1/python-parsedatetime-v2.1.tar.gz"
+MD5SUM="9054ba8585a94fb68f29d47c14536cc5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""