summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-27 16:59:51 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-01 07:28:39 +0700
commite82e4d3ce5ded54fffb4eab7cd3a4ddb5abede9d (patch)
tree42cf4c928434b1bd603b8a1eca0d53f8b380de9b
parentfe281640c31ae93d96cc424625fa6bd23526bb34 (diff)
downloadslackbuilds-e82e4d3ce5ded54fffb4eab7cd3a4ddb5abede9d.tar.gz
libraries/pykdtree: Updated for version 1.2.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--libraries/pykdtree/pykdtree.SlackBuild12
-rw-r--r--libraries/pykdtree/pykdtree.info6
2 files changed, 9 insertions, 9 deletions
diff --git a/libraries/pykdtree/pykdtree.SlackBuild b/libraries/pykdtree/pykdtree.SlackBuild
index 09bfa0a8a1..905ce8b415 100644
--- a/libraries/pykdtree/pykdtree.SlackBuild
+++ b/libraries/pykdtree/pykdtree.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pykdtree
-# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece
+# 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=pykdtree
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.2.1}
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"
@@ -67,7 +67,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
diff --git a/libraries/pykdtree/pykdtree.info b/libraries/pykdtree/pykdtree.info
index 057eea6ca3..ac92e1b58f 100644
--- a/libraries/pykdtree/pykdtree.info
+++ b/libraries/pykdtree/pykdtree.info
@@ -1,8 +1,8 @@
PRGNAM="pykdtree"
-VERSION="1.0"
+VERSION="1.2.1"
HOMEPAGE="https://pypi.python.org/pypi/pykdtree"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pykdtree/pykdtree-1.0.tar.gz"
-MD5SUM="71cae67da7f95e3242e1d05d3053361f"
+DOWNLOAD="https://pypi.python.org/packages/7a/2a/e10d921bd1b4f53bc31732ddc44100e62cb6add3ac46b07388e5d8b1c80c/pykdtree-1.2.1.tar.gz"
+MD5SUM="395603b8821954f1bffaf1913baf42a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="numpy"