aboutsummaryrefslogtreecommitdiff
path: root/python/python2-netaddr
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2024-01-03 11:15:01 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-06 08:08:52 +0700
commitcda71b4bbe2996da7c95710d5e2de3d1da80bc4a (patch)
tree6c0290c5d00f161923a7c7a796e6f098596aa28e /python/python2-netaddr
parentb58d7a16d0677821a3ddab4a6b01a03294c65a5e (diff)
python/python2-netaddr: Updated for version 0.10.1
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python2-netaddr')
-rw-r--r--python/python2-netaddr/python2-netaddr.SlackBuild20
-rw-r--r--python/python2-netaddr/python2-netaddr.info6
2 files changed, 6 insertions, 20 deletions
diff --git a/python/python2-netaddr/python2-netaddr.SlackBuild b/python/python2-netaddr/python2-netaddr.SlackBuild
index d40f2f0da63c..757793263f8e 100644
--- a/python/python2-netaddr/python2-netaddr.SlackBuild
+++ b/python/python2-netaddr/python2-netaddr.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-netaddr
-# Copyright 2013-2023 Christoph Willing, Brisbane Australia
+# Copyright 2013-2024 Christoph Willing, Sydney Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python2-netaddr
SRC_PRGNAM=netaddr
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-0.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -51,20 +51,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -ev
rm -rf $PKG
@@ -100,7 +86,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/* \
- AUTHORS CHANGELOG COPYRIGHT LICENSE README* REFERENCES RELEASE THANKS \
+ AUTHORS CHANGELOG COPYRIGHT LICENSE README* THANKS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/python/python2-netaddr/python2-netaddr.info b/python/python2-netaddr/python2-netaddr.info
index f463c4147b24..dd06259182f7 100644
--- a/python/python2-netaddr/python2-netaddr.info
+++ b/python/python2-netaddr/python2-netaddr.info
@@ -1,8 +1,8 @@
PRGNAM="python2-netaddr"
-VERSION="0.9.0"
+VERSION="0.10.1"
HOMEPAGE="https://github.com/netaddr/netaddr"
-DOWNLOAD="https://github.com/netaddr/netaddr/archive/refs/tags/0.9.0/netaddr-0.9.0.tar.gz"
-MD5SUM="b8ad5bba19f1fbad7d9c928dec5f3851"
+DOWNLOAD="https://github.com/netaddr/netaddr/archive/refs/tags/0.10.1/netaddr-0.10.1.tar.gz"
+MD5SUM="02ce5aa8af8699d1f0243d74c7535fd2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""