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:
parent
4f97565861
commit
d86fd9e25c
|
@ -25,11 +25,11 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=python-debian
|
PRGNAM=python-debian
|
||||||
|
SRCNAM=python-debian-debian
|
||||||
VERSION=${VERSION:-0.1.47}
|
VERSION=${VERSION:-0.1.47}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
GITNAM=${GITNAM:-4e5fb1f83e85b40020181dc4349d72c93b472033}
|
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
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
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-debian-$VERSION
|
rm -rf $SRCNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-debian-$VERSION-$GITNAM
|
cd $SRCNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="python-debian"
|
PRGNAM="python-debian"
|
||||||
VERSION="0.1.47"
|
VERSION="0.1.47"
|
||||||
HOMEPAGE="https://salsa.debian.org/python-debian-team/python-debian"
|
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"
|
DOWNLOAD="https://salsa.debian.org/python-debian-team/python-debian/-/archive/debian/0.1.47/python-debian-debian-0.1.47.tar.gz"
|
||||||
MD5SUM="d466ff79c9215d7656ef87a13265ed4e"
|
MD5SUM="74ada790bcec52b33c219a4eba061053"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in New Issue