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>
This commit is contained in:
Andrew Clemons 2022-11-25 22:30:05 +09:00 committed by Willy Sudiarto Raharjo
parent 4f97565861
commit d86fd9e25c
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 6 deletions

View file

@ -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 \

View file

@ -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=""