diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2025-02-17 23:51:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-02-17 23:51:57 +0700 |
commit | 40b3c9f0b9e155d59f1a4519112f8fcfd27755ee (patch) | |
tree | 747ce3c0eb391b547ea079d03645378ba2b67a46 /python/python2-cryptography/python2-cryptography.SlackBuild | |
parent | 3d9723fbcf14a66a0e110c78d196734128e8106e (diff) |
python/python2-cryptography: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python2-cryptography/python2-cryptography.SlackBuild')
-rw-r--r-- | python/python2-cryptography/python2-cryptography.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/python/python2-cryptography/python2-cryptography.SlackBuild b/python/python2-cryptography/python2-cryptography.SlackBuild index da280bd7d2..ece09ec3e5 100644 --- a/python/python2-cryptography/python2-cryptography.SlackBuild +++ b/python/python2-cryptography/python2-cryptography.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python2-cryptography SRCNAM=cryptography VERSION=${VERSION:-3.3.2} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,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 @@ -81,6 +78,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +export CFLAGS="$SLKCFLAGS -fpermissive" python2 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |