From cfe792f0ddf0d507fda83550bb3cb20d0d9e520b Mon Sep 17 00:00:00 2001 From: "Jason W. Bacon" Date: Wed, 11 Jun 2025 09:17:47 -0500 Subject: [PATCH] math/py-formulaic-contrasts: Build arbitrary contrasts formulaic models Build arbitrary contrasts for models defined with formulaic. https://formulaic-contrasts.readthedocs.io/en/latest/ --- math/Makefile | 1 + math/py-formulaic-contrasts/Makefile | 22 ++++++++++++++++++++++ math/py-formulaic-contrasts/distinfo | 3 +++ math/py-formulaic-contrasts/pkg-descr | 1 + 4 files changed, 27 insertions(+) create mode 100644 math/py-formulaic-contrasts/Makefile create mode 100644 math/py-formulaic-contrasts/distinfo create mode 100644 math/py-formulaic-contrasts/pkg-descr diff --git a/math/Makefile b/math/Makefile index 1fbf625e292c..b2891bf6b0d4 100644 --- a/math/Makefile +++ b/math/Makefile @@ -981,6 +981,7 @@ SUBDIR += py-fenics-ufl SUBDIR += py-flax SUBDIR += py-formulaic + SUBDIR += py-formulaic-contrasts SUBDIR += py-fpylll SUBDIR += py-fraction SUBDIR += py-fsph diff --git a/math/py-formulaic-contrasts/Makefile b/math/py-formulaic-contrasts/Makefile new file mode 100644 index 000000000000..713849cee4eb --- /dev/null +++ b/math/py-formulaic-contrasts/Makefile @@ -0,0 +1,22 @@ +PORTNAME= formulaic_contrasts +DISTVERSION= 1.0.0 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jwb@FreeBSD.org +COMMENT= Build arbitrary contrasts for models defined with formulaic +WWW= https://github.com/scverse/formulaic-contrasts + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}formulaic>0:math/py-formulaic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +.include diff --git a/math/py-formulaic-contrasts/distinfo b/math/py-formulaic-contrasts/distinfo new file mode 100644 index 000000000000..cb0b599dc842 --- /dev/null +++ b/math/py-formulaic-contrasts/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1749587724 +SHA256 (formulaic_contrasts-1.0.0.tar.gz) = 0a575a810bf1fba28938259d86a3ae2ae90cb9826fca84b9409085170862f701 +SIZE (formulaic_contrasts-1.0.0.tar.gz) = 123794 diff --git a/math/py-formulaic-contrasts/pkg-descr b/math/py-formulaic-contrasts/pkg-descr new file mode 100644 index 000000000000..c2d48b01d3b0 --- /dev/null +++ b/math/py-formulaic-contrasts/pkg-descr @@ -0,0 +1 @@ +Build arbitrary contrasts for models defined with formulaic.