Browse Source
python/python2-cryptography: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/285/head
Matteo Bernardini
8 months ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with
2 additions and
4 deletions
-
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 \ |
|
|
|