python/pyasn1: Fix build.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2022-10-15 16:45:18 +07:00
parent 70d5f4261a
commit c3754dce6c
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 2 additions and 5 deletions

View file

@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -87,7 +84,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar CHANGELOG.rst LICENSE.rst README.md TODO.md $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar LICENSE.rst README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,7 +1,7 @@
PRGNAM="pyasn1"
VERSION="0.4.8"
HOMEPAGE="https://github.com/etingof/pyasn1"
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-0.4.4.tar.gz"
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-0.4.8.tar.gz"
MD5SUM="dffae4ff9f997a83324b3f33fe62be54"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""