aboutsummaryrefslogtreecommitdiff
path: root/python/python-netaddr/python-netaddr.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2020-06-25 21:14:39 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-28 08:17:02 +0700
commit673506cedd64da2aa0121b14020151a84c7cb70a (patch)
tree317b3c376bc8d0137c2c1859350dd779df2bed72 /python/python-netaddr/python-netaddr.SlackBuild
parent90d17738d220a06a468b4df8a0844ffe01ee51d8 (diff)
python/python-netaddr: Updated for version 0.7.20
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-netaddr/python-netaddr.SlackBuild')
-rw-r--r--python/python-netaddr/python-netaddr.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/python/python-netaddr/python-netaddr.SlackBuild b/python/python-netaddr/python-netaddr.SlackBuild
index 19bf92cf63c08..282d1f3fc8dc5 100644
--- a/python/python-netaddr/python-netaddr.SlackBuild
+++ b/python/python-netaddr/python-netaddr.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-netaddr
-# Copyright 2013-2017 Christoph Willing, Brisbane Australia
+# Copyright 2013-2020 Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=python-netaddr
SRC_PRGNAM=netaddr
-VERSION=${VERSION:-0.7.19}
+VERSION=${VERSION:-0.7.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,13 +84,12 @@ find -L . \
-exec chmod 644 {} \;
python setup.py install --root=$PKG
-PYTHONPATH="build/lib" sphinx-build -b html docs/source docs/html
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 docs/html \
+cp -a docs/* \
AUTHORS CHANGELOG COPYRIGHT LICENSE README* REFERENCES \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild