summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author Andrew Clemons2023-03-12 22:49:10 +0100
committer Willy Sudiarto Raharjo2023-03-18 03:50:12 +0100
commit284953100de3bd2b26a192295fa8157b36c65f3e (patch)
tree49223456acb389a84a3b06cc363b52fecc614a7d /python
parenta3823751b322c3bc76a52309e381877385a754d4 (diff)
downloadslackbuilds-284953100de3bd2b26a192295fa8157b36c65f3e.tar.gz
python/jdatetime: Fix github tarball handling.
https://slackbuilds.org/GITHUB_URLs.txt This avoids having differently named tarballs based on whether the client respects content disposition headers or not. 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/jdatetime/jdatetime.SlackBuild2
-rw-r--r--python/jdatetime/jdatetime.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/jdatetime/jdatetime.SlackBuild b/python/jdatetime/jdatetime.SlackBuild
index e686f5e5fc..d7a5f6d647 100644
--- a/python/jdatetime/jdatetime.SlackBuild
+++ b/python/jdatetime/jdatetime.SlackBuild
@@ -71,7 +71,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/python/jdatetime/jdatetime.info b/python/jdatetime/jdatetime.info
index 33cfbd1084..9edc824c15 100644
--- a/python/jdatetime/jdatetime.info
+++ b/python/jdatetime/jdatetime.info
@@ -1,7 +1,7 @@
PRGNAM="jdatetime"
VERSION="4.1.0"
HOMEPAGE="https://github.com/slashmili/python-jalali"
-DOWNLOAD="https://github.com/slashmili/python-jalali/archive/v4.1.0/jdatetime-v4.1.0.tar.gz"
+DOWNLOAD="https://github.com/slashmili/python-jalali/archive/v4.1.0/python-jalali-4.1.0.tar.gz"
MD5SUM="a05a8801e2d4bdca577def8d3bec0d85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""