python/recommonmark: Fix tarball handling.

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 2021-07-24 22:15:56 +12:00 committed by Willy Sudiarto Raharjo
parent 1f4da3698c
commit 3a146f6d80
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
# This uses the last version from git (20170802), which has
# python3 and support for commonmark>0.7.3
GITCOMMIT=c410abb
GITCOMMIT=c410abb565a3c4ad4de0ce204ab2fa2db8031cf1
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -75,7 +75,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$GITCOMMIT.tar.gz
mv $PRGNAM-$GITCOMMIT* $PRGNAM-$VERSION
mv $PRGNAM-$GITCOMMIT $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .

View File

@ -1,7 +1,7 @@
PRGNAM="recommonmark"
VERSION="0.4.0"
HOMEPAGE="https://github.com/rtfd/recommonmark"
DOWNLOAD="https://github.com/rtfd/recommonmark/archive/c410abb/recommonmark-c410abb.tar.gz"
DOWNLOAD="https://github.com/rtfd/recommonmark/archive/c410abb565a3c4ad4de0ce204ab2fa2db8031cf1/recommonmark-c410abb565a3c4ad4de0ce204ab2fa2db8031cf1.tar.gz"
MD5SUM="ff54c4d08f4867149abc4a926ed9701f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""