git: 5fb06467594c - main - math/py-mnnpy: New port: MNN (Mutual Nearest Neighbors) correct in python
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 May 2023 06:50:23 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=5fb06467594c4166668e9362cb76154064b40b43 commit 5fb06467594c4166668e9362cb76154064b40b43 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-05-01 06:49:38 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-05-01 06:50:21 +0000 math/py-mnnpy: New port: MNN (Mutual Nearest Neighbors) correct in python --- math/Makefile | 1 + math/py-mnnpy/Makefile | 28 ++++++++++++++++++++++++++++ math/py-mnnpy/distinfo | 3 +++ math/py-mnnpy/pkg-descr | 2 ++ 4 files changed, 34 insertions(+) diff --git a/math/Makefile b/math/Makefile index 459c704d2afa..384530c4ef4b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -957,6 +957,7 @@ SUBDIR += py-mip SUBDIR += py-mixsimulator SUBDIR += py-ml-dtypes + SUBDIR += py-mnnpy SUBDIR += py-moarchiving SUBDIR += py-mpmath SUBDIR += py-munkres diff --git a/math/py-mnnpy/Makefile b/math/py-mnnpy/Makefile new file mode 100644 index 000000000000..a4cf71d62b95 --- /dev/null +++ b/math/py-mnnpy/Makefile @@ -0,0 +1,28 @@ +PORTNAME= mnnpy +DISTVERSION= 0.1.9.5 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= MNN (Mutual Nearest Neighbors) correct in python +WWW= https://github.com/chriscainx/mnnpy + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anndata>0:devel/py-anndata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.4+ +USE_PYTHON= distutils cython autoplist + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/mnnpy/_utils.cpython-39.so + +.include <bsd.port.mk> diff --git a/math/py-mnnpy/distinfo b/math/py-mnnpy/distinfo new file mode 100644 index 000000000000..212002a1f33d --- /dev/null +++ b/math/py-mnnpy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682876665 +SHA256 (mnnpy-0.1.9.5.tar.gz) = 41cdafaf21392144b683d7acf99f7a1fc59085f9b3697cd6ace57f40dddace9c +SIZE (mnnpy-0.1.9.5.tar.gz) = 117915 diff --git a/math/py-mnnpy/pkg-descr b/math/py-mnnpy/pkg-descr new file mode 100644 index 000000000000..a1c50b50fb87 --- /dev/null +++ b/math/py-mnnpy/pkg-descr @@ -0,0 +1,2 @@ +mnnpy is an implementation of MNN correct in python featuring low memory usage, +full multicore support and compatibility with the scanpy framework.