summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-01-21 02:28:35 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-01-21 02:28:35 +0000
commit000292ad7b9e62a83398c19c71ef92760e48b107 (patch)
tree4b748d8d312d5bfd42337eceac921caa80964133
parentdevel/ruby-build: Update to 20210119 (diff)
New port: math/py-python-picard: Preconditoned ICA algorithm for Real Data
Notes
Notes: svn path=/head/; revision=562169
-rw-r--r--math/Makefile1
-rw-r--r--math/py-python-picard/Makefile26
-rw-r--r--math/py-python-picard/distinfo3
-rw-r--r--math/py-python-picard/pkg-descr6
4 files changed, 36 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 7b372ae2f810..0df7ffcb0ec8 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -840,6 +840,7 @@
SUBDIR += py-python-fcl
SUBDIR += py-python-igraph
SUBDIR += py-python-louvain
+ SUBDIR += py-python-picard
SUBDIR += py-pyvtk
SUBDIR += py-qdldl
SUBDIR += py-quadprog
diff --git a/math/py-python-picard/Makefile b/math/py-python-picard/Makefile
new file mode 100644
index 000000000000..ae3e06130ee7
--- /dev/null
+++ b/math/py-python-picard/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= python-picard
+DISTVERSION= 0.4
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Preconditoned ICA algorithm for Real Data
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numexpr>0:math/py-numexpr@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= distutils concurrent autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-python-picard/distinfo b/math/py-python-picard/distinfo
new file mode 100644
index 000000000000..3660a8f77c66
--- /dev/null
+++ b/math/py-python-picard/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1611194915
+SHA256 (python-picard-0.4.tar.gz) = e7359f44ac4c0988faed690b2efaa6ad9424a297e3e2d37433a263ea9dbd537f
+SIZE (python-picard-0.4.tar.gz) = 58647
diff --git a/math/py-python-picard/pkg-descr b/math/py-python-picard/pkg-descr
new file mode 100644
index 000000000000..0f8cc411c70a
--- /dev/null
+++ b/math/py-python-picard/pkg-descr
@@ -0,0 +1,6 @@
+Picard is a library to run the Preconditioned ICA for Real Data (PICARD)
+algorithm and its orthogonal version (PICARD-O). These algorithms show fast
+convergence even on real data for which sources independence do not perfectly
+hold.
+
+WWW: https://pierreablin.github.io/picard/