summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2011-12-14 22:42:21 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-18 00:07:51 -0200
commit3e0d30e099ebdbc5fde8599bf652fb649eedad74 (patch)
treedf7219cfa35d5cbd46d2f0444014241bc3d3c042 /development
parentaed75ba0708219f026c8e23903a68146c97d15ee (diff)
downloadslackbuilds-3e0d30e099ebdbc5fde8599bf652fb649eedad74.tar.gz
development/numexpr: Updated for version 2.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/numexpr/numexpr.SlackBuild15
-rw-r--r--development/numexpr/numexpr.info8
2 files changed, 13 insertions, 10 deletions
diff --git a/development/numexpr/numexpr.SlackBuild b/development/numexpr/numexpr.SlackBuild
index ca9b95d968..669af87309 100644
--- a/development/numexpr/numexpr.SlackBuild
+++ b/development/numexpr/numexpr.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=numexpr
-VERSION=${VERSION:-1.4.2}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,15 +68,18 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
-CFLAGS=$SLKCFLAGS python setup.py build install --root=$PKG
+python setup.py build install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
-# Move documentation .pdf files and text files to avoid file duplication in
-# python directory
+# Move documentation .pdf files and text files to avoid file duplication
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/numexpr/numexpr.info b/development/numexpr/numexpr.info
index 59fa44efc9..8efad64228 100644
--- a/development/numexpr/numexpr.info
+++ b/development/numexpr/numexpr.info
@@ -1,10 +1,10 @@
PRGNAM="numexpr"
-VERSION="1.4.2"
+VERSION="2.0"
HOMEPAGE="http://code.google.com/p/numexpr/"
-DOWNLOAD="http://numexpr.googlecode.com/files/numexpr-1.4.2.tar.gz"
-MD5SUM="139115cc196dc57a66b2eb30cd3e80a0"
+DOWNLOAD="http://numexpr.googlecode.com/files/numexpr-2.0.tar.gz"
+MD5SUM="7b228fc1e5a2b6be69c1af636e6d8de7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
-APPROVED="Niels Horn"
+APPROVED="rworkman"