aboutsummaryrefslogtreecommitdiff
path: root/python/python-debian
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-11-25 22:30:05 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-26 09:11:46 +0700
commitd86fd9e25c7930484e91ea08583530b025790c1b (patch)
tree7e06a8e8dff2578774aaf94472f2969230f1092d /python/python-debian
parent4f9756586159f1521acc05667b0a0ecd750302bb (diff)
python/python-debian: Fix gitlab tag handling.
The actual tag name is "debian/0.1.47". I've changed DOWNLOAD to actually download the tag correctly while the previous URL resolved to a commit. The two yield tarballs with different md5sums, but the exact same contents. The tag handling can be dropped again when this script is updated the next time, since 0.1.48 and newer don't have a tag name prefixed with ""debian". Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-debian')
-rw-r--r--python/python-debian/python-debian.SlackBuild8
-rw-r--r--python/python-debian/python-debian.info4
2 files changed, 6 insertions, 6 deletions
diff --git a/python/python-debian/python-debian.SlackBuild b/python/python-debian/python-debian.SlackBuild
index 9e93e6c52197..b784bf36b2da 100644
--- a/python/python-debian/python-debian.SlackBuild
+++ b/python/python-debian/python-debian.SlackBuild
@@ -25,11 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-debian
+SRCNAM=python-debian-debian
VERSION=${VERSION:-0.1.47}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-GITNAM=${GITNAM:-4e5fb1f83e85b40020181dc4349d72c93b472033}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -72,9 +72,9 @@ trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ER
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-debian-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-debian-$VERSION-$GITNAM
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+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/python-debian/python-debian.info b/python/python-debian/python-debian.info
index 816188361515..289b94550467 100644
--- a/python/python-debian/python-debian.info
+++ b/python/python-debian/python-debian.info
@@ -1,8 +1,8 @@
PRGNAM="python-debian"
VERSION="0.1.47"
HOMEPAGE="https://salsa.debian.org/python-debian-team/python-debian"
-DOWNLOAD="https://salsa.debian.org/python-debian-team/python-debian/-/archive/debian/0.1.47/python-debian-0.1.47.tar.gz"
-MD5SUM="d466ff79c9215d7656ef87a13265ed4e"
+DOWNLOAD="https://salsa.debian.org/python-debian-team/python-debian/-/archive/debian/0.1.47/python-debian-debian-0.1.47.tar.gz"
+MD5SUM="74ada790bcec52b33c219a4eba061053"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""