[Lunar-commits] <moonbase-other> scipy: bump to 0.15.2. Adjusting to build python3 stuff if present

Dennis Veatch dennisveatch at bellsouth.net
Sat Oct 11 13:55:35 CEST 2014


commit 8ed626f48ec2a23678c5e9da88645d2fde0a5ce3
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Sat, 11 Oct 2014 07:52:11 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/8ed626f48ec2a23678c5e9da88645d2fde0a5ce3

scipy: bump to 0.15.2. Adjusting to build python3 stuff if present
---
  python/scipy/BUILD   | +10/-4    
  python/scipy/DEPENDS | +2/-0     
  python/scipy/DETAILS | +3/-3     
  3 files changed, 15 insertions(+), 7 deletions(-)

--- a/python/scipy/BUILD
+++ b/python/scipy/BUILD
@@ -1,7 +1,13 @@
-unset LDFLAGS &&
 
-python setup.py build  &&
+  unset LDFLAGS &&
 
-prepare_install  &&
+  python setup.py build  &&
+  prepare_install  &&
+  python setup.py install --root=/ &&
 
-python setup.py install
+# Do the Python 3 part if installed
+  if in_depends $MODULE Python-3 ; then
+    python3 setup.py build &&
+    prepare_install &&
+    python3 setup.py install --root=/
+  fi
--- a/python/scipy/DEPENDS
+++ b/python/scipy/DEPENDS
@@ -1,3 +1,5 @@
 depends Python
 depends lapack
 depends numpy
+
+optional_depends Python-3 "" "" "For Python 3 support"
--- a/python/scipy/DETAILS
+++ b/python/scipy/DETAILS
@@ -1,11 +1,11 @@
           MODULE=scipy
-         VERSION=0.12.0
+         VERSION=0.14.0
           SOURCE=$MODULE-$VERSION.tar.gz
       SOURCE_URL=$SFORGE_URL/scipy/$VERSION
-      SOURCE_VFY=sha1:1ba2e2fc49ba321f62d6f78a5351336ed2509af3
+      SOURCE_VFY=sha1:faf16ddf307eb45ead62a92ffadc5288a710feb8
         WEB_SITE=http://scipy.org
          ENTERED=20130810
-         UPDATED=20130810
+         UPDATED=20141011
            SHORT="Fundamental python library for scientific computing"
 
 cat << EOF




More information about the Lunar-commits mailing list