aboutsummaryrefslogtreecommitdiff
path: root/python/python2-netaddr/python2-netaddr.SlackBuild
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/python2-netaddr.SlackBuild
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/python2-netaddr.SlackBuild')
-rw-r--r--python/python2-netaddr/python2-netaddr.SlackBuild20
1 files changed, 3 insertions, 17 deletions
diff --git a/python/python2-netaddr/python2-netaddr.SlackBuild b/python/python2-netaddr/python2-netaddr.SlackBuild
index d40f2f0da6..757793263f 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