Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 2026 20:10:35 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 91e3cd6efc92 - main - math/py-dcor: New port: Distance correlation and energy statistics in Python
Message-ID:  <6a72473b.3b8eb.5047ba07@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=91e3cd6efc92a6d2b15a89dab2363c108217f8b0

commit 91e3cd6efc92a6d2b15a89dab2363c108217f8b0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-08-04 06:47:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-08-04 20:10:23 +0000

    math/py-dcor: New port: Distance correlation and energy statistics in Python
---
 math/Makefile          |  1 +
 math/py-dcor/Makefile  | 28 ++++++++++++++++++++++++++++
 math/py-dcor/distinfo  |  3 +++
 math/py-dcor/pkg-descr |  4 ++++
 4 files changed, 36 insertions(+)

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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a72473b.3b8eb.5047ba07>