aboutsummaryrefslogtreecommitdiff
path: root/python/service_identity
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2016-09-11 08:08:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-11 08:08:17 +0700
commit083a9e92319effd49b91eb52868da7cc240f6805 (patch)
treec10bcc56d90572292511dbeed994467a2bfd4361 /python/service_identity
parent79e7ad9b65f232c4dee4a3330ddb3394d07fa33c (diff)
python/service_identity: Updated for version 16.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/service_identity')
-rw-r--r--python/service_identity/service_identity.SlackBuild22
-rw-r--r--python/service_identity/service_identity.info8
2 files changed, 22 insertions, 8 deletions
diff --git a/python/service_identity/service_identity.SlackBuild b/python/service_identity/service_identity.SlackBuild
index f2876b7316148..8e63801fcf02f 100644
--- a/python/service_identity/service_identity.SlackBuild
+++ b/python/service_identity/service_identity.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for service_identity.
+# Slackware build script for service_identity
#
-# Copyright 2014 Markus Reichelt, Stolberg (Rhld.), DE
+# Copyright 2014-2016 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=service_identity
-VERSION=${VERSION:-14.0.0}
+VERSION=${VERSION:-16.0.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
@@ -40,6 +40,20 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+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
rm -rf $PKG
diff --git a/python/service_identity/service_identity.info b/python/service_identity/service_identity.info
index df0f683ed9e16..7f37a66277b30 100644
--- a/python/service_identity/service_identity.info
+++ b/python/service_identity/service_identity.info
@@ -1,10 +1,10 @@
PRGNAM="service_identity"
-VERSION="14.0.0"
+VERSION="16.0.0"
HOMEPAGE="https://pypi.python.org/pypi/service_identity"
-DOWNLOAD="https://pypi.python.org/packages/source/s/service_identity/service_identity-14.0.0.tar.gz"
-MD5SUM="cea0b0156d73b025ecef660fb51f0d9a"
+DOWNLOAD="https://pypi.python.org/packages/source/s/service_identity/service_identity-16.0.0.tar.gz"
+MD5SUM="d52392597b9c44a740abf322bfdb21e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="characteristic pyasn1-modules pyOpenSSL"
+REQUIRES="attrs characteristic pyasn1-modules pyOpenSSL"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"