From d86fd9e25c7930484e91ea08583530b025790c1b Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Fri, 25 Nov 2022 22:30:05 +0900 Subject: [PATCH] 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 Signed-off-by: Willy Sudiarto Raharjo --- python/python-debian/python-debian.SlackBuild | 8 ++++---- python/python-debian/python-debian.info | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python/python-debian/python-debian.SlackBuild b/python/python-debian/python-debian.SlackBuild index 9e93e6c521..b784bf36b2 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 8161883615..289b945504 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=""