git: 241b1b81a179 - main - textproc/py-griffe: Update to 0.45.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Jun 2024 08:12:51 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=241b1b81a17937be48142ca0313f7829e3aa85f6
commit 241b1b81a17937be48142ca0313f7829e3aa85f6
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-06-16 08:07:42 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-06-16 08:07:42 +0000
textproc/py-griffe: Update to 0.45.3
* Switch to GitHub to continue using the test suite, which is currently
not included with the recent sdist tarballs.
Changelog since 0.44.0:
https://github.com/mkdocstrings/griffe/blob/0.45.3/CHANGELOG.md
---
textproc/py-griffe/Makefile | 10 +++++++---
textproc/py-griffe/distinfo | 6 +++---
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/textproc/py-griffe/Makefile b/textproc/py-griffe/Makefile
index fb95d1e167e0..2653ba0cb53b 100644
--- a/textproc/py-griffe/Makefile
+++ b/textproc/py-griffe/Makefile
@@ -1,7 +1,6 @@
PORTNAME= griffe
-DISTVERSION= 0.44.0
+DISTVERSION= 0.45.3
CATEGORIES= textproc python
-MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kai@FreeBSD.org
@@ -17,9 +16,14 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.17.3:devel/py-jsonschema@${PY
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.3,1:devel/py-pytest-xdist@${PY_FLAVOR}
USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= mkdocstrings
USE_PYTHON= autoplist concurrent pep517 pytest
# These test relies on files that are not present in the sdist
-PYTEST_IGNORED_TESTS= git json_schema
+PYTEST_IGNORED_TESTS= git
+
+# Required otherwise the build process tries to get the current version via git
+MAKE_ENV= PDM_BUILD_SCM_VERSION=${DISTVERSION}
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 2eaadb154975..6eba8eb87f88 100644
--- a/textproc/py-griffe/distinfo
+++ b/textproc/py-griffe/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713930177
-SHA256 (griffe-0.44.0.tar.gz) = 34aee1571042f9bf00529bc715de4516fb6f482b164e90d030300601009e0223
-SIZE (griffe-0.44.0.tar.gz) = 136871
+TIMESTAMP = 1718465400
+SHA256 (mkdocstrings-griffe-0.45.3_GH0.tar.gz) = 5caa9f15658ce0dab67623106c3aa858e7ad97c3af0be161bd37750bccd4e66a
+SIZE (mkdocstrings-griffe-0.45.3_GH0.tar.gz) = 228938