diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-11-25 22:20:23 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-26 09:11:45 +0700 |
commit | fab5afa1b23e79254d522621f6c3744fb68cc67c (patch) | |
tree | 74b5c18769185ee07204e68b370a45e981aed807 /python | |
parent | 58396bd65a1c34f4370e9dd5ca620cd0461385ae (diff) |
python/python2-networkx: Fix github tarball handling.
https://slackbuilds.org/GITHUB_URLs.txt
This avoids having differently named tarballs and src
directories.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python2-networkx/python2-networkx.SlackBuild | 3 | ||||
-rw-r--r-- | python/python2-networkx/python2-networkx.info | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/python/python2-networkx/python2-networkx.SlackBuild b/python/python2-networkx/python2-networkx.SlackBuild index f917c53b4a5b..6cae9d8301a1 100644 --- a/python/python2-networkx/python2-networkx.SlackBuild +++ b/python/python2-networkx/python2-networkx.SlackBuild @@ -30,7 +30,7 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=networkx +SRCNAM=networkx-networkx if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -70,7 +70,6 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -mv $SRCNAM-$SRCNAM-$VERSION $SRCNAM-$VERSION cd $SRCNAM-$VERSION chown -R root:root . find -L . \ diff --git a/python/python2-networkx/python2-networkx.info b/python/python2-networkx/python2-networkx.info index 9aa81b7dbb24..09dc625a1696 100644 --- a/python/python2-networkx/python2-networkx.info +++ b/python/python2-networkx/python2-networkx.info @@ -1,7 +1,7 @@ PRGNAM="python2-networkx" VERSION="2.2" HOMEPAGE="http://networkx.github.io/" -DOWNLOAD="https://github.com/networkx/networkx/archive/refs/tags/networkx-2.2.tar.gz" +DOWNLOAD="https://github.com/networkx/networkx/archive/networkx-2.2/networkx-networkx-2.2.tar.gz" MD5SUM="e003e0a05bc7e008a2bc3278593c8240" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |