Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2026 01:38:15 +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: 7c0290f24dd4 - main - math/py-arviz-base: New port: Base ArviZ features and converters
Message-ID:  <69e2e087.18911.6803511e@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=7c0290f24dd436c4207b8c3f3722723d3a6e4bc6

commit 7c0290f24dd436c4207b8c3f3722723d3a6e4bc6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-17 18:39:15 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-18 01:38:08 +0000

    math/py-arviz-base: New port: Base ArviZ features and converters
---
 math/Makefile                                 |  1 +
 math/py-arviz-base/Makefile                   | 36 +++++++++++++++++++++++++++
 math/py-arviz-base/distinfo                   |  3 +++
 math/py-arviz-base/files/patch-pyproject.toml | 20 +++++++++++++++
 math/py-arviz-base/pkg-descr                  |  4 +++
 5 files changed, 64 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 9e8e5e66e47d..4ac95d00bead 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -948,6 +948,7 @@
     SUBDIR += py-annoy
     SUBDIR += py-apgl
     SUBDIR += py-arviz
+    SUBDIR += py-arviz-base
     SUBDIR += py-arybo
     SUBDIR += py-autograd
     SUBDIR += py-awkward
diff --git a/math/py-arviz-base/Makefile b/math/py-arviz-base/Makefile
new file mode 100644
index 000000000000..8dd27ee34953
--- /dev/null
+++ b/math/py-arviz-base/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	arviz-base
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.0
+CATEGORIES=	math python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Base ArviZ features and converters
+WWW=		https://python.arviz.org/projects/base/en/latest/ \
+		https://github.com/arviz-devs/arviz-base
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy1>=1.26.4:math/py-numpy1@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xarray>=2024.11.0:devel/py-xarray@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10:devel/py-typing-extensions@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}h5netcdf>0:science/py-h5netcdf@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 concurrent autoplist pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	arviz-devs
+
+NO_ARCH=	yes
+
+TEST_ARGS=	-p no:benchmark -p no:xdist -p no:relaxed
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+# tests as of 1.0.0: 208 passed in 1.62s
+
+.include <bsd.port.mk>
diff --git a/math/py-arviz-base/distinfo b/math/py-arviz-base/distinfo
new file mode 100644
index 000000000000..bb87ea3a6699
--- /dev/null
+++ b/math/py-arviz-base/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1776438805
+SHA256 (arviz-devs-arviz-base-v1.0.0_GH0.tar.gz) = c621c4cabba721303f38557e7aca0685c626085096a896d7c3206cb1ed019f7e
+SIZE (arviz-devs-arviz-base-v1.0.0_GH0.tar.gz) = 2532624
diff --git a/math/py-arviz-base/files/patch-pyproject.toml b/math/py-arviz-base/files/patch-pyproject.toml
new file mode 100644
index 000000000000..02ed539d55fb
--- /dev/null
+++ b/math/py-arviz-base/files/patch-pyproject.toml
@@ -0,0 +1,20 @@
+--- pyproject.toml.orig	2026-04-17 15:46:57 UTC
++++ pyproject.toml
+@@ -5,7 +5,7 @@ readme = "README.md"
+ [project]
+ name = "arviz-base"
+ readme = "README.md"
+-requires-python = ">=3.12"
++requires-python = ">=3.11"
+ license = {file = "LICENSE"}
+ authors = [
+     {name = "ArviZ team", email = "arvizdevs@gmail.com"}
+@@ -25,7 +25,7 @@ dependencies = [
+ ]
+ dynamic = ["version", "description"]
+ dependencies = [
+-  "numpy>=2",
++  "numpy>=1.26.4",
+   "xarray>=2024.11.0",
+   "typing-extensions>=3.10",
+ ]
diff --git a/math/py-arviz-base/pkg-descr b/math/py-arviz-base/pkg-descr
new file mode 100644
index 000000000000..5ee95f413384
--- /dev/null
+++ b/math/py-arviz-base/pkg-descr
@@ -0,0 +1,4 @@
+arviz-base provides base ArviZ features and converters. It includes
+functions for data loading, converters from various probabilistic
+programming frameworks, and core data structures for Bayesian model
+analysis.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e2e087.18911.6803511e>