[Lunar-commits] <moonbase-other> scikit: bump to 0.15.2 and setting up to do python3 stuff if present
Dennis Veatch
dennisveatch at bellsouth.net
Sat Oct 11 13:55:36 CEST 2014
commit 88541fdd36123ab2e58db7804d8038927e55ce28
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Sat, 11 Oct 2014 07:53:42 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/88541fdd36123ab2e58db7804d8038927e55ce28
scikit: bump to 0.15.2 and setting up to do python3 stuff if present
---
python/scikit/BUILD | +10/-4
python/scikit/DEPENDS | +2/-0
python/scikit/DETAILS | +3/-3
3 files changed, 15 insertions(+), 7 deletions(-)
--- a/python/scikit/BUILD
+++ b/python/scikit/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/scikit/DEPENDS
+++ b/python/scikit/DEPENDS
@@ -1,3 +1,5 @@
depends Python
depends numpy
depends scipy
+
+optional_depends Python-3 "" "" "For Python 3 support"
--- a/python/scikit/DETAILS
+++ b/python/scikit/DETAILS
@@ -1,12 +1,12 @@
MODULE=scikit
- VERSION=0.14.1
+ VERSION=0.15.2
SOURCE=$VERSION.tar.gz
SOURCE_URL=https://github.com/scikit-learn/scikit-learn/archive/
- SOURCE_VFY=sha1:3f3c64762424a0dbe8fb2c21fd7cc1c1f7fe81b5
+ SOURCE_VFY=sha1:c614980e6517858005d5cf9cbe0c257adb0d1cda
SOURCE_DIRECTORY=$BUILD_DIRECTORY/scikit-learn-$VERSION
WEB_SITE=http://scikit-learn.org
ENTERED=20130905
- UPDATED=20130905
+ UPDATED=20141011
SHORT="machine learning for python"
cat << EOF
More information about the Lunar-commits
mailing list