summaryrefslogtreecommitdiff
path: root/python/rsa
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-03-09 00:19:47 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-12 12:42:47 -0500
commit31f4d38992840b7d91a7e02293aa2610a5b54962 (patch)
tree6340fd20e8a162500643281902eaea500ac16bad /python/rsa
parentc22588a89b37fe75093d477d4f51ce29ba666cc2 (diff)
downloadslackbuilds-31f4d38992840b7d91a7e02293aa2610a5b54962.tar.gz
python/rsa: Updated for version 3.1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/rsa')
-rw-r--r--python/rsa/rsa.SlackBuild19
-rw-r--r--python/rsa/rsa.info6
2 files changed, 4 insertions, 21 deletions
diff --git a/python/rsa/rsa.SlackBuild b/python/rsa/rsa.SlackBuild
index 7a47b2c082..be68bde864 100644
--- a/python/rsa/rsa.SlackBuild
+++ b/python/rsa/rsa.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rsa
-VERSION=${VERSION:-3.1.2}
+VERSION=${VERSION:-3.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,20 +40,6 @@ 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
@@ -69,9 +55,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Force the setup.py to use system setuptools. Remove use_setuptools function.
-sed -i '/use_setuptools/d' setup.py
-
python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/rsa/rsa.info b/python/rsa/rsa.info
index 293535d6a7..e63e7d5677 100644
--- a/python/rsa/rsa.info
+++ b/python/rsa/rsa.info
@@ -1,8 +1,8 @@
PRGNAM="rsa"
-VERSION="3.1.2"
+VERSION="3.1.4"
HOMEPAGE="http://stuvel.eu/rsa"
-DOWNLOAD="https://pypi.python.org/packages/source/r/rsa/rsa-3.1.2.tar.gz"
-MD5SUM="ff4791f05911a93cf90ee1f24220158f"
+DOWNLOAD="https://pypi.python.org/packages/source/r/rsa/rsa-3.1.4.tar.gz"
+MD5SUM="b6b1c80e1931d4eba8538fd5d4de1355"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools pyasn1"