aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2015-06-14 12:39:04 +0000
committerWen Heping <wen@FreeBSD.org>2015-06-14 12:39:04 +0000
commit5f29af3390ba35ecef74ebae4d7bb3cd7939b3ba (patch)
treec68278f4188244032a9bb2ea3781f82d76ef7b1b /science
parentf5ab41151e5252d1e6825af1582c23a8842e0ce7 (diff)
downloadports-5f29af3390ba35ecef74ebae4d7bb3cd7939b3ba.tar.gz
ports-5f29af3390ba35ecef74ebae4d7bb3cd7939b3ba.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/Makefile1
-rw-r--r--science/py-scikit-sparse/Makefile28
-rw-r--r--science/py-scikit-sparse/distinfo2
-rw-r--r--science/py-scikit-sparse/pkg-descr3
4 files changed, 34 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index fe428f9bc9f5..fcdec8325ed9 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -149,6 +149,7 @@
SUBDIR += py-pydicom
SUBDIR += py-pysal
SUBDIR += py-scikit-learn
+ SUBDIR += py-scikit-sparse
SUBDIR += py-scimath
SUBDIR += py-scipy
SUBDIR += py-ws2300
diff --git a/science/py-scikit-sparse/Makefile b/science/py-scikit-sparse/Makefile
new file mode 100644
index 000000000000..64dc3507cb90
--- /dev/null
+++ b/science/py-scikit-sparse/Makefile
@@ -0,0 +1,28 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME= scikit-sparse
+PORTVERSION= 0.2
+CATEGORIES= science python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= scikits.sparse-${PORTVERSION}
+
+MAINTAINER= yuri@rawbw.com
+COMMENT= Sparse matrix package
+
+LICENSE= BSD2CLAUSE
+
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_SITELIBDIR}/scipy/version.py:${PORTSDIR}/science/py-scipy
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ cython>0:${PORTSDIR}/lang/cython
+LIB_DEPENDS= libumfpack.so:${PORTSDIR}/math/suitesparse
+
+USES= fortran python
+USE_PYTHON= autoplist distutils
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -shared
+
+.include <bsd.port.mk>
diff --git a/science/py-scikit-sparse/distinfo b/science/py-scikit-sparse/distinfo
new file mode 100644
index 000000000000..326e085f52b5
--- /dev/null
+++ b/science/py-scikit-sparse/distinfo
@@ -0,0 +1,2 @@
+SHA256 (scikits.sparse-0.2.tar.gz) = 509d93d1020362607ebd677995df6480c160cbd9f021c296152f1fd59c8c1afc
+SIZE (scikits.sparse-0.2.tar.gz) = 204097
diff --git a/science/py-scikit-sparse/pkg-descr b/science/py-scikit-sparse/pkg-descr
new file mode 100644
index 000000000000..aed65f3209b2
--- /dev/null
+++ b/science/py-scikit-sparse/pkg-descr
@@ -0,0 +1,3 @@
+scikits-sparse is a Python module for sparse matrix calculations.
+
+WWW: https://scikits.appspot.com/sparse/