diff options
Diffstat (limited to 'python/cryptography')
-rw-r--r-- | python/cryptography/README | 3 | ||||
-rw-r--r-- | python/cryptography/cryptography.SlackBuild | 18 | ||||
-rw-r--r-- | python/cryptography/cryptography.info | 8 | ||||
-rw-r--r-- | python/cryptography/slack-desc | 4 |
4 files changed, 24 insertions, 9 deletions
diff --git a/python/cryptography/README b/python/cryptography/README index 653addc6773f..343f01ac9a73 100644 --- a/python/cryptography/README +++ b/python/cryptography/README @@ -1,3 +1,4 @@ cryptography is a Python library for Python 2.6+ & 3.2+ which exposes cryptographic recipes and primitives. -The Apache License Version 2.0 is used. +It's available under either the Apache Software License, +Version 2.0, or the BSD license. diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index 58dc113b971a..5281ca2b82f8 100644 --- a/python/cryptography/cryptography.SlackBuild +++ b/python/cryptography/cryptography.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cryptography -# Copyright 2014 Markus Reichelt, Stolberg (Rhld.), DE +# Copyright 2014-2015 Markus Reichelt, Stolberg (Rhld.), DE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115 PRGNAM=cryptography -VERSION=0.6 +VERSION=${VERSION:-0.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,6 +42,20 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -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/cryptography/cryptography.info b/python/cryptography/cryptography.info index 9c152c6c9f80..be5b559b12ab 100644 --- a/python/cryptography/cryptography.info +++ b/python/cryptography/cryptography.info @@ -1,10 +1,10 @@ PRGNAM="cryptography" -VERSION="0.6" +VERSION="0.7.2" HOMEPAGE="https://cryptography.io/" -DOWNLOAD="https://pypi.python.org/packages/source/c/cryptography/cryptography-0.6.tar.gz" -MD5SUM="674a4524f4003d4f90e63c927c18c328" +DOWNLOAD="https://pypi.python.org/packages/source/c/cryptography/cryptography-0.7.2.tar.gz" +MD5SUM="a62beaac9f3a78109dba6d31db98cce9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="cffi six" +REQUIRES="cffi six enum34" MAINTAINER="Markus Reichelt" EMAIL="slackbuilds@mareichelt.de" diff --git a/python/cryptography/slack-desc b/python/cryptography/slack-desc index 5c2d3dfafb0c..4d82b2739b6e 100644 --- a/python/cryptography/slack-desc +++ b/python/cryptography/slack-desc @@ -11,9 +11,9 @@ cryptography: cryptography: cryptography is a Python library for Python 2.6+ & 3.2+ cryptography: which exposes cryptographic recipes and primitives. cryptography: -cryptography: The cryptography project uses the Apache License Version 2.0 +cryptography: cryptography is available under either the Apache Software License, +cryptography: Version 2.0, or the BSD license. cryptography: cryptography: Homepage: https://cryptography.io/ cryptography: cryptography: -cryptography: |