diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2016-09-11 08:11:43 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-11 08:20:42 +0700 |
commit | c66f8a8f7e5de5e70f9f45b5df1b8f4447f5f8d7 (patch) | |
tree | 08a7e72088748c283e44bef9cb37e21933aba7ba /python/pyOpenSSL | |
parent | 41e90a0feda5d76454c5a09f573f3005fc2122bf (diff) | |
download | slackbuilds-c66f8a8f7e5de5e70f9f45b5df1b8f4447f5f8d7.tar.gz |
python/pyOpenSSL: Updated for version 0.16.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pyOpenSSL')
-rw-r--r-- | python/pyOpenSSL/pyOpenSSL.SlackBuild | 24 | ||||
-rw-r--r-- | python/pyOpenSSL/pyOpenSSL.info | 6 |
2 files changed, 21 insertions, 9 deletions
diff --git a/python/pyOpenSSL/pyOpenSSL.SlackBuild b/python/pyOpenSSL/pyOpenSSL.SlackBuild index e05eeeb033..5679431f68 100644 --- a/python/pyOpenSSL/pyOpenSSL.SlackBuild +++ b/python/pyOpenSSL/pyOpenSSL.SlackBuild @@ -1,9 +1,9 @@ #!/bin/sh -# Slackware build script for pyOpenSSL. +# Slackware build script for pyOpenSSL # # Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> -# Copyright 2012-2015 Markus Reichelt, Stolberg (Rhld.), DE +# Copyright 2012-2016 Markus Reichelt, Aachen, DE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,13 +27,13 @@ # Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115 PRGNAM=pyOpenSSL -VERSION=${VERSION:-0.15.1} +VERSION=${VERSION:-16.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,7 +44,19 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="PKG-INFO README.rst LICENSE" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi set -e @@ -68,7 +80,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 -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a PKG-INFO README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/pyOpenSSL/pyOpenSSL.info b/python/pyOpenSSL/pyOpenSSL.info index 05583ff6a6..101de1b668 100644 --- a/python/pyOpenSSL/pyOpenSSL.info +++ b/python/pyOpenSSL/pyOpenSSL.info @@ -1,8 +1,8 @@ PRGNAM="pyOpenSSL" -VERSION="0.15.1" +VERSION="0.16.1" HOMEPAGE="http://pypi.python.org/pypi/pyOpenSSL" -DOWNLOAD="http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.15.1.tar.gz" -MD5SUM="f447644afcbd5f0a1f47350fec63a4c6" +DOWNLOAD="https://pypi.python.org/packages/15/1e/79c75db50e57350a7cefb70b110255757e9abd380a50ebdc0cfd853b7450/pyOpenSSL-16.1.0.tar.gz" +MD5SUM="d8100b0c333f0eeadaf05914da8792a6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cryptography" |