git: 968705e7cc9b - main - textproc/py-griffe: Update to 2.0.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Mar 2026 12:22:11 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=968705e7cc9b95c6fafd2f408da3f9f527a315bb
commit 968705e7cc9b95c6fafd2f408da3f9f527a315bb
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2026-03-29 12:21:48 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2026-03-29 12:21:48 +0000
textproc/py-griffe: Update to 2.0.2
* With release 2.0.0, the package was split into py-griffe, py-griffecli
and py-griffelib, with the corresponding logic moved to those
components.
Changelog since 1.15:
https://github.com/mkdocstrings/griffe/blob/2.0.2/CHANGELOG.md
---
textproc/py-griffe/Makefile | 14 ++++++++++----
textproc/py-griffe/distinfo | 6 +++---
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/textproc/py-griffe/Makefile b/textproc/py-griffe/Makefile
index 8ac695e3eb11..6170421f8aaf 100644
--- a/textproc/py-griffe/Makefile
+++ b/textproc/py-griffe/Makefile
@@ -1,5 +1,5 @@
PORTNAME= griffe
-DISTVERSION= 1.15.0
+DISTVERSION= 2.0.2
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +11,11 @@ WWW= https://github.com/mkdocstrings/griffe
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4:devel/py-colorama@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}uv-dynamic-versioning>=0.7:devel/py-uv-dynamic-versioning@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}griffecli>=${DISTVERSION}:textproc/py-griffecli@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}griffelib>=${DISTVERSION}:textproc/py-griffelib@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.17.3:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mkdocstrings>0:textproc/py-mkdocstrings@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.3,1:devel/py-pytest-xdist@${PY_FLAVOR} \
@@ -21,9 +24,12 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.17.3:devel/py-jsonschema@${PY
USES= python
USE_PYTHON= autoplist concurrent pep517 pytest
# These tests require py-griffe-inherited-docstrings which isn't ported, yet.
+# Except for test_meson_python_file_handling which relies on files that aren't
+# packaged in the sdist.
PYTEST_IGNORED_TESTS= test_alias_proxies test_exposed_objects test_load_git \
test_no_module_docstrings_in_internal_api \
- test_single_locations test_unique_names
+ test_single_locations test_unique_names \
+ test_meson_python_file_handling
TEST_ARGS= -n ${MAKE_JOBS_NUMBER}
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/textproc/py-griffe/distinfo b/textproc/py-griffe/distinfo
index adda3bfb80db..79ed4e54a84b 100644
--- a/textproc/py-griffe/distinfo
+++ b/textproc/py-griffe/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1762887832
-SHA256 (griffe-1.15.0.tar.gz) = 7726e3afd6f298fbc3696e67958803e7ac843c1cfe59734b6251a40cdbfb5eea
-SIZE (griffe-1.15.0.tar.gz) = 424112
+TIMESTAMP = 1774703758
+SHA256 (griffe-2.0.2.tar.gz) = c5d56326d159f274492e9bf93a9895cec101155d944caa66d0fc4e0c13751b92
+SIZE (griffe-2.0.2.tar.gz) = 293757