From d61975953f9445104a15b9138ac06a27ce815e42 Mon Sep 17 00:00:00 2001 From: Fernando Lopez Jr Date: Sat, 12 Nov 2022 10:51:59 +0700 Subject: python/networkx: Updated for version 2.2. Signed-off-by: Willy Sudiarto Raharjo --- python/networkx/networkx.SlackBuild | 8 +++----- python/networkx/networkx.info | 6 +++--- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'python/networkx') diff --git a/python/networkx/networkx.SlackBuild b/python/networkx/networkx.SlackBuild index da8c473677..e8fd700476 100644 --- a/python/networkx/networkx.SlackBuild +++ b/python/networkx/networkx.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=networkx -VERSION=${VERSION:-2.0} +VERSION=${VERSION:-2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -70,7 +67,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION.zip +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +mv $PRGNAM-$PRGNAM-$VERSION $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ diff --git a/python/networkx/networkx.info b/python/networkx/networkx.info index 5ee14cc0c1..2107c93ada 100644 --- a/python/networkx/networkx.info +++ b/python/networkx/networkx.info @@ -1,8 +1,8 @@ PRGNAM="networkx" -VERSION="2.0" +VERSION="2.2" HOMEPAGE="http://networkx.github.io/" -DOWNLOAD="https://pypi.python.org/packages/73/58/0add7d81cf64958f7a062aa287237364eb0a0959bf7a817f708d5c25d043/networkx-2.0.zip" -MD5SUM="34f9cc01b2eca37f362673b8eb65316b" +DOWNLOAD="https://github.com/networkx/networkx/archive/refs/tags/networkx-2.2.tar.gz" +MD5SUM="e003e0a05bc7e008a2bc3278593c8240" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3