summaryrefslogtreecommitdiff
path: root/python/python-dateutil/python-dateutil.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2017-07-12 22:23:24 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-15 07:33:52 +0700
commit8c1ea986acd573737fc0cfe582fdf6d8ae6552fc (patch)
tree13658c833b0f8bde820a197d069788e2cf2e1efc /python/python-dateutil/python-dateutil.SlackBuild
parent913c251e0ef10061899c1d586bb14279b4625a75 (diff)
downloadslackbuilds-8c1ea986acd573737fc0cfe582fdf6d8ae6552fc.tar.gz
python/python-dateutil: Updated for version 2.6.1
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'python/python-dateutil/python-dateutil.SlackBuild')
-rw-r--r--python/python-dateutil/python-dateutil.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/python/python-dateutil/python-dateutil.SlackBuild b/python/python-dateutil/python-dateutil.SlackBuild
index 594c674cee..972536df20 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.6.0}
+VERSION=${VERSION:-2.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,16 +64,11 @@ done
python setup.py install --root=$PKG
-# Install python3 bindings. Default is no.
-if [ "${PYTHON3:-no}" == "yes" ]; then
- python3 setup.py install --root=$PKG
-fi
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE NEWS README.rst RELEASING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE NEWS README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install