diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2026-08-04 06:47:51 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2026-08-04 20:10:23 +0000 |
| commit | 91e3cd6efc92a6d2b15a89dab2363c108217f8b0 (patch) | |
| tree | f7721c80abad0ddd82a67637ee51d31991db0e0b | |
| parent | 3a08ec402a1887cc54cb8cc262ab311e891f94ac (diff) | |
math/py-dcor: New port: Distance correlation and energy statistics in Python
| -rw-r--r-- | math/Makefile | 1 | ||||
| -rw-r--r-- | math/py-dcor/Makefile | 28 | ||||
| -rw-r--r-- | math/py-dcor/distinfo | 3 | ||||
| -rw-r--r-- | math/py-dcor/pkg-descr | 4 |
4 files changed, 36 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index c8945c57bd07..f01cc9fb236b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -989,6 +989,7 @@ SUBDIR += py-cyipopt SUBDIR += py-cypari2 SUBDIR += py-daqp + SUBDIR += py-dcor SUBDIR += py-deap SUBDIR += py-dgl SUBDIR += py-diffcp diff --git a/math/py-dcor/Makefile b/math/py-dcor/Makefile new file mode 100644 index 000000000000..04019ed2f392 --- /dev/null +++ b/math/py-dcor/Makefile @@ -0,0 +1,28 @@ +PORTNAME= dcor +DISTVERSION= 0.7 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Distance correlation and energy statistics in Python +WWW= https://dcor.readthedocs.io/en/latest/ \ + https://github.com/vnmabus/dcor + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}array-api-compat>0:devel/py-array-api-compat@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numba>=0.51:devel/py-numba@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist concurrent + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/math/py-dcor/distinfo b/math/py-dcor/distinfo new file mode 100644 index 000000000000..b69dc59e43f0 --- /dev/null +++ b/math/py-dcor/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1785732666 +SHA256 (dcor-0.7.tar.gz) = 386d408596d7ec39af28b52c89e9fc438c4f13d8ed3d673e2c3b21029f57cbce +SIZE (dcor-0.7.tar.gz) = 69061 diff --git a/math/py-dcor/pkg-descr b/math/py-dcor/pkg-descr new file mode 100644 index 000000000000..66189348164b --- /dev/null +++ b/math/py-dcor/pkg-descr @@ -0,0 +1,4 @@ +Distance correlation and energy statistics in Python. + +It offers measures of dependence and independence tests based on +distance covariance and energy statistics. |
