Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2024 19:50:54 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 45269ff40e8d - main - textproc/py-mkdocstrings-python-legacy: Update to 0.2.4
Message-ID:  <202411031950.4A3Josth038528@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=45269ff40e8d6120053b7137fcc8ab194ae9079d

commit 45269ff40e8d6120053b7137fcc8ab194ae9079d
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-03 19:43:19 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-03 19:50:29 +0000

    textproc/py-mkdocstrings-python-legacy: Update to 0.2.4
    
    * Remove no longer required workaround for "pyproject.toml".
    
    * Enable all tests from the test suite, which are now packaged in the
      recent sdists.
    
    Changelog:
    
    https://github.com/mkdocstrings/python-legacy/releases/tag/0.2.4
---
 textproc/py-mkdocstrings-python-legacy/Makefile    | 12 ++++++-----
 textproc/py-mkdocstrings-python-legacy/distinfo    |  6 +++---
 .../files/patch-pyproject.toml                     | 23 ----------------------
 3 files changed, 10 insertions(+), 31 deletions(-)

diff --git a/textproc/py-mkdocstrings-python-legacy/Makefile b/textproc/py-mkdocstrings-python-legacy/Makefile
index c6ceaa599bea..809135222bab 100644
--- a/textproc/py-mkdocstrings-python-legacy/Makefile
+++ b/textproc/py-mkdocstrings-python-legacy/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	mkdocstrings-python-legacy
-DISTVERSION=	0.2.3
+DISTVERSION=	0.2.4
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	mkdocstrings_python_legacy-${PORTVERSION}
 
 MAINTAINER=	kai@FreeBSD.org
 COMMENT=	Legacy Python handler for mkdocstrings
@@ -11,16 +12,17 @@ WWW=		https://github.com/mkdocstrings/python-legacy
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pdm-pep517>0:devel/py-pdm-pep517@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytkdocs>=0.14:textproc/py-pytkdocs@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mkdocstrings>0:textproc/py-mkdocstrings@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mkdocs-autorefs>=1.1:textproc/py-mkdocs-autorefs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytkdocs>=0.14:textproc/py-pytkdocs@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mkdocs-material>0:textproc/py-mkdocs-material@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mkdocstrings>0:textproc/py-mkdocstrings@${PY_FLAVOR}
 # textproc/py-mkdocstrings belongs to RUN_DEPENDS as well but would cause
 # a circular dependency (via py-mkdocstrings' PYTHONLEGACY option).  It was
 # therefore # moved to TEST_DEPENDS to at least allow the test suite to run.
 
 USES=		python
 USE_PYTHON=	autoplist pep517 pytest
-PYTEST_IGNORED_TESTS=	render_themes
 
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
diff --git a/textproc/py-mkdocstrings-python-legacy/distinfo b/textproc/py-mkdocstrings-python-legacy/distinfo
index 4cf7018cef74..08337311400a 100644
--- a/textproc/py-mkdocstrings-python-legacy/distinfo
+++ b/textproc/py-mkdocstrings-python-legacy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688218792
-SHA256 (mkdocstrings-python-legacy-0.2.3.tar.gz) = 3fb58fdabe19c6b52b8bb1d3bb1540b1cd527b562865468d6754e8cd1201050c
-SIZE (mkdocstrings-python-legacy-0.2.3.tar.gz) = 18779
+TIMESTAMP = 1730629881
+SHA256 (mkdocstrings_python_legacy-0.2.4.tar.gz) = 36d160ac7af5a3cec764eeb66522f42a116088a41289e04372592b91e14abbbc
+SIZE (mkdocstrings_python_legacy-0.2.4.tar.gz) = 97213
diff --git a/textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml b/textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml
deleted file mode 100644
index 117ead8b89a1..000000000000
--- a/textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml
+++ /dev/null
@@ -1,23 +0,0 @@
-Workaround to prevent following error:
-
-[...]
-  File "/usr/local/lib/python3.9/site-packages/pdm/pep517/metadata.py", line 58, in validate
-    return validate_pep621(self.data, raising)
-  File "/usr/local/lib/python3.9/site-packages/pdm/pep517/validator.py", line 85, in validate_pep621
-    raise PEP621ValidationError(validator.errors)
-pdm.pep517.exceptions.PEP621ValidationError: {'license-expression': ['unknown field']}
-
-ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
-*** Error code 1
-[...]
-
---- pyproject.toml.orig	2022-05-28 13:34:29 UTC
-+++ pyproject.toml
-@@ -10,7 +10,6 @@ authors = [
- authors = [
-     { name = "Timothée Mazzucotelli", email = "pawamoy@pm.me" },
- ]
--license-expression = "ISC"
- readme = "README.md"
- requires-python = ">=3.7"
- keywords = []



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411031950.4A3Josth038528>