From 083a9e92319effd49b91eb52868da7cc240f6805 Mon Sep 17 00:00:00 2001 From: Markus Reichelt Date: Sun, 11 Sep 2016 08:08:17 +0700 Subject: python/service_identity: Updated for version 16.0.0. Signed-off-by: Willy Sudiarto Raharjo --- .../service_identity/service_identity.SlackBuild | 22 ++++++++++++++++++---- python/service_identity/service_identity.info | 8 ++++---- 2 files changed, 22 insertions(+), 8 deletions(-) (limited to 'python/service_identity') diff --git a/python/service_identity/service_identity.SlackBuild b/python/service_identity/service_identity.SlackBuild index f2876b7316..8e63801fcf 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 df0f683ed9..7f37a66277 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" -- cgit v1.2.3