summaryrefslogtreecommitdiff
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
parent90d17738d220a06a468b4df8a0844ffe01ee51d8 (diff)
downloadslackbuilds-673506cedd64da2aa0121b14020151a84c7cb70a.tar.gz
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>
-rw-r--r--python/python-netaddr/python-netaddr.SlackBuild7
-rw-r--r--python/python-netaddr/python-netaddr.info8
2 files changed, 7 insertions, 8 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
diff --git a/python/python-netaddr/python-netaddr.info b/python/python-netaddr/python-netaddr.info
index 8435997df2..1ae392966b 100644
--- a/python/python-netaddr/python-netaddr.info
+++ b/python/python-netaddr/python-netaddr.info
@@ -1,10 +1,10 @@
PRGNAM="python-netaddr"
-VERSION="0.7.19"
+VERSION="0.7.20"
HOMEPAGE="https://pypi.python.org/pypi/netaddr"
-DOWNLOAD="https://pypi.python.org/packages/0c/13/7cbb180b52201c07c796243eeff4c256b053656da5cfe3916c3f5b57b3a0/netaddr-0.7.19.tar.gz"
-MD5SUM="51019ef59c93f3979bcb37d3b8527e07"
+DOWNLOAD="https://files.pythonhosted.org/packages/47/1b/d115c8cfe20f33176982807a3624b82930ff508196f0d875f6985cd28911/netaddr-0.7.20.tar.gz"
+MD5SUM="f254d6b61e07123f9e2643b1dcbd03df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Sphinx Pygments MarkupSafe"
+REQUIRES=""
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"