python/rsa: Updated for version 3.1.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2014-03-09 00:19:47 +07:00 committed by Erik Hanson
parent c22588a89b
commit 31f4d38992
2 changed files with 4 additions and 21 deletions

View file

@ -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

View file

@ -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"