From a1452cfb793688e319e57086d934d4d2546adf58 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 8 Dec 2023 00:41:08 +0700 Subject: [PATCH] python/ecdsa: Updated for version 0.18.0. Signed-off-by: Willy Sudiarto Raharjo --- python/ecdsa/ecdsa.SlackBuild | 11 +++-------- python/ecdsa/ecdsa.info | 6 +++--- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/python/ecdsa/ecdsa.SlackBuild b/python/ecdsa/ecdsa.SlackBuild index e3540064f3..006beb22b4 100644 --- a/python/ecdsa/ecdsa.SlackBuild +++ b/python/ecdsa/ecdsa.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ecdsa -# Copyright 2013-2018 Willy Sudiarto Raharjo +# Copyright 2013-2023 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ecdsa -VERSION=${VERSION:-0.13} +VERSION=${VERSION:-0.18.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,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 @@ -80,10 +77,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG +python3 setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/ecdsa/ecdsa.info b/python/ecdsa/ecdsa.info index 926ad32f47..8d088c5081 100644 --- a/python/ecdsa/ecdsa.info +++ b/python/ecdsa/ecdsa.info @@ -1,8 +1,8 @@ PRGNAM="ecdsa" -VERSION="0.13" +VERSION="0.18.0" HOMEPAGE="https://pypi.python.org/pypi/ecdsa/" -DOWNLOAD="https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.13.tar.gz" -MD5SUM="1f60eda9cb5c46722856db41a3ae6670" +DOWNLOAD="https://files.pythonhosted.org/packages/ff/7b/ba6547a76c468a0d22de93e89ae60d9561ec911f59532907e72b0d8bc0f1/ecdsa-0.18.0.tar.gz" +MD5SUM="cbca26ec29cc50e32e8b070aa2ec0786" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""