diff options
author | LukenShiro <lukenshiro@ngi.it> | 2011-12-14 22:42:21 -0600 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-12-18 00:07:51 -0200 |
commit | 3e0d30e099ebdbc5fde8599bf652fb649eedad74 (patch) | |
tree | df7219cfa35d5cbd46d2f0444014241bc3d3c042 | |
parent | aed75ba0708219f026c8e23903a68146c97d15ee (diff) |
development/numexpr: Updated for version 2.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | development/numexpr/numexpr.SlackBuild | 15 | ||||
-rw-r--r-- | development/numexpr/numexpr.info | 8 |
2 files changed, 13 insertions, 10 deletions
diff --git a/development/numexpr/numexpr.SlackBuild b/development/numexpr/numexpr.SlackBuild index ca9b95d968941..669af87309578 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 59fa44efc959a..8efad642286c5 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" |