summaryrefslogtreecommitdiff
path: root/science/py-mne
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-mne')
-rw-r--r--science/py-mne/Makefile34
-rw-r--r--science/py-mne/distinfo3
-rw-r--r--science/py-mne/pkg-descr4
3 files changed, 41 insertions, 0 deletions
diff --git a/science/py-mne/Makefile b/science/py-mne/Makefile
new file mode 100644
index 000000000000..3f15411d9c98
--- /dev/null
+++ b/science/py-mne/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= mne
+PORTVERSION= 1.10.1
+CATEGORIES= science python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Python project for MEG and EEG data analysis
+WWW= https://mne.tools/stable/ \
+ https://github.com/mne-tools/mne-python
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lazy_loader>=0.3:devel/py-lazy_loader@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.7:math/py-matplotlib@${PY_FLAVOR} \
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pooch>=1.5:devel/py-pooch@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=1.11:science/py-scipy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 concurrent autoplist
+
+NO_ARCH= yes
+
+# tests as of 1.10.1: pytest tests available but require extra dependencies, skipped for packaging
+
+.include <bsd.port.mk>
diff --git a/science/py-mne/distinfo b/science/py-mne/distinfo
new file mode 100644
index 000000000000..f63a12725683
--- /dev/null
+++ b/science/py-mne/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759525649
+SHA256 (mne-1.10.1.tar.gz) = a93e3d772d551e43ec5ddcd3495fffe0f98e3e384045bcd96497636e86a32a0b
+SIZE (mne-1.10.1.tar.gz) = 7123187
diff --git a/science/py-mne/pkg-descr b/science/py-mne/pkg-descr
new file mode 100644
index 000000000000..06c74b93513a
--- /dev/null
+++ b/science/py-mne/pkg-descr
@@ -0,0 +1,4 @@
+MNE-Python is an open-source Python package for exploring, visualizing,
+and analyzing human neurophysiological data: MEG, EEG, sEEG, ECoG, and more.
+It includes algorithms for preprocessing, source estimation, time-frequency
+analysis, statistics, and machine learning.