Date: Wed, 10 Jun 2026 04:22:50 +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: 1ed86fc2bbe4 - main - devel/py-great-tables: New port: Generate information-rich, publication-quality tables from Python Message-ID: <6a28e69a.31792.13ce05d6@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=1ed86fc2bbe4c5b549c658c5ce8e5d6d50522abe commit 1ed86fc2bbe4c5b549c658c5ce8e5d6d50522abe Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-06-10 03:45:39 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-06-10 04:22:43 +0000 devel/py-great-tables: New port: Generate information-rich, publication-quality tables from Python --- devel/Makefile | 1 + devel/py-great-tables/Makefile | 42 +++++++++++++++++++++++++++++++++++++++++ devel/py-great-tables/distinfo | 3 +++ devel/py-great-tables/pkg-descr | 8 ++++++++ 4 files changed, 54 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0cf043b6ea0b..9f09bcd7083c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5095,6 +5095,7 @@ SUBDIR += py-graphql-core2 SUBDIR += py-graphql-relay SUBDIR += py-graphql-relay2 + SUBDIR += py-great-tables SUBDIR += py-greenlet SUBDIR += py-grimoirelab-toolkit SUBDIR += py-grizzled diff --git a/devel/py-great-tables/Makefile b/devel/py-great-tables/Makefile new file mode 100644 index 000000000000..49769b3ba1a2 --- /dev/null +++ b/devel/py-great-tables/Makefile @@ -0,0 +1,42 @@ +PORTNAME= great-tables +DISTVERSION= 0.21.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= great_tables-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Generate information-rich, publication-quality tables from Python +WWW= https://github.com/posit-dev/great-tables + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.13.1:devel/py-babel@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}commonmark>=0.9.1:textproc/py-commonmark@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}faicons>=0.2.2:devel/py-faicons@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}htmltools>=0.4.1:www/py-htmltools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-resources>0:devel/py-importlib-resources@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0.0:devel/py-typing-extensions@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}syrupy>0:devel/py-syrupy@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKDIR= ${WRKSRC}/tests + +NO_ARCH= yes + +do-test: + @cd ${TEST_WRKDIR} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -p no:xdist -m 'no_pandas' \ + --ignore=${TEST_WRKDIR}/test_shiny.py + +# tests as of 0.21.0: 2 passed, 2 failed (no_pandas tests fail when pandas is installed locally) + +.include <bsd.port.mk> diff --git a/devel/py-great-tables/distinfo b/devel/py-great-tables/distinfo new file mode 100644 index 000000000000..c75fcf7878d5 --- /dev/null +++ b/devel/py-great-tables/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1781061938 +SHA256 (great_tables-0.21.0.tar.gz) = 40869cf972ea679710a0985c54c28e6787435e9b26ca295a8848ca5fbc02259a +SIZE (great_tables-0.21.0.tar.gz) = 13002962 diff --git a/devel/py-great-tables/pkg-descr b/devel/py-great-tables/pkg-descr new file mode 100644 index 000000000000..8d2956428ab4 --- /dev/null +++ b/devel/py-great-tables/pkg-descr @@ -0,0 +1,8 @@ +Easily generate information-rich, publication-quality tables from Python. + +This package allows you to create and customize tables with a +comprehensive set of formatting options. You can mix text, numbers, +and graphics, add headers, footnotes, and spans, all while producing +beautiful output that can be rendered in HTML or exported to various +formats. It is part of the Posit ecosystem, designed to work well +with data analysis workflows in Python.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a28e69a.31792.13ce05d6>
