summaryrefslogtreecommitdiff
path: root/libraries/pyqode.core/pyqode.core.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-08-19 14:47:30 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:51:15 +0700
commitb26ca3ce3769a3d69dca3947683753116d69b169 (patch)
tree44dc1e87d47fd360bf92c57a556382b493d90e95 /libraries/pyqode.core/pyqode.core.SlackBuild
parenteccee0db09fe499c397933a2f2535d3d2f6c66ce (diff)
downloadslackbuilds-b26ca3ce3769a3d69dca3947683753116d69b169.tar.gz
libraries/pyqode.core: Updated for version 2.10.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/pyqode.core/pyqode.core.SlackBuild')
-rw-r--r--libraries/pyqode.core/pyqode.core.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/pyqode.core/pyqode.core.SlackBuild b/libraries/pyqode.core/pyqode.core.SlackBuild
index 8246486406..cd6a8c4770 100644
--- a/libraries/pyqode.core/pyqode.core.SlackBuild
+++ b/libraries/pyqode.core/pyqode.core.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pyqode.core
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pyqode.core
-VERSION=${VERSION:-2.0.0}
+VERSION=${VERSION:-2.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true