summaryrefslogtreecommitdiffstats
path: root/python/python-netaddr/python-netaddr.SlackBuild
diff options
context:
space:
mode:
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 19bf92cf63..282d1f3fc8 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