summaryrefslogtreecommitdiff
path: root/python/rsa/rsa.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/rsa/rsa.SlackBuild')
-rw-r--r--python/rsa/rsa.SlackBuild19
1 files changed, 1 insertions, 18 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