mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
python/cryptography: Updated for version 0.7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
dedbbdcdd6
commit
a17310ddbd
4 changed files with 24 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue