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 | 4f9756586159f1521acc05667b0a0ecd750302bb (patch) | |
tree | 8c1a3cd21538bf540033dd5f80a5e842325873b9 /python | |
parent | fab5afa1b23e79254d522621f6c3744fb68cc67c (diff) |
python/python3-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/python3-networkx/python3-networkx.SlackBuild | 6 | ||||
-rw-r--r-- | python/python3-networkx/python3-networkx.info | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/python/python3-networkx/python3-networkx.SlackBuild b/python/python3-networkx/python3-networkx.SlackBuild index d746f7f47b257..1d4600ad82878 100644 --- a/python/python3-networkx/python3-networkx.SlackBuild +++ b/python/python3-networkx/python3-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 @@ -68,9 +68,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$SRCNAM-$VERSION +rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$SRCNAM-$VERSION +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/python/python3-networkx/python3-networkx.info b/python/python3-networkx/python3-networkx.info index eb6e74773a27c..359fab7d69dcb 100644 --- a/python/python3-networkx/python3-networkx.info +++ b/python/python3-networkx/python3-networkx.info @@ -1,7 +1,7 @@ PRGNAM="python3-networkx" VERSION="2.8.8" HOMEPAGE="http://networkx.github.io/" -DOWNLOAD="https://github.com/networkx/networkx/archive/refs/tags/networkx-2.8.8/networkx-networkx-2.8.8.tar.gz" +DOWNLOAD="https://github.com/networkx/networkx/archive/networkx-2.8.8/networkx-networkx-2.8.8.tar.gz" MD5SUM="df9398c5db11589f20e72668f3e1760f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |