From 0c24f729b93a082af0d95d729bf3b71d0e94be30 Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Tue, 25 Mar 2025 08:41:22 +0100 Subject: [PATCH] textproc/py-mkdocstrings-python-legacy: Update to 0.2.6 * Switch back to PyPI because since this release the sdist tarball contain all the required Python source files again and remove the no longer required workaround for "pyproject.toml". Changelog: https://github.com/mkdocstrings/python-legacy/releases/tag/0.2.6 --- textproc/py-mkdocstrings-python-legacy/Makefile | 7 +++---- textproc/py-mkdocstrings-python-legacy/distinfo | 6 +++--- .../files/patch-pyproject.toml | 15 --------------- 3 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml diff --git a/textproc/py-mkdocstrings-python-legacy/Makefile b/textproc/py-mkdocstrings-python-legacy/Makefile index 8cde915966ea..96c18b9f4889 100644 --- a/textproc/py-mkdocstrings-python-legacy/Makefile +++ b/textproc/py-mkdocstrings-python-legacy/Makefile @@ -1,7 +1,9 @@ PORTNAME= mkdocstrings-python-legacy -DISTVERSION= 0.2.5 +DISTVERSION= 0.2.6 CATEGORIES= textproc python +MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= mkdocstrings_python_legacy-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Legacy Python handler for mkdocstrings @@ -20,9 +22,6 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mkdocs-material>0:textproc/py-mkdocs-materi # therefore # moved to TEST_DEPENDS to at least allow the test suite to run. USES= python:3.9+ -USE_GITHUB= yes -GH_ACCOUNT= mkdocstrings -GH_PROJECT= python-legacy USE_PYTHON= autoplist pep517 pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/textproc/py-mkdocstrings-python-legacy/distinfo b/textproc/py-mkdocstrings-python-legacy/distinfo index 6b6d865eb311..cbe6024d3a6e 100644 --- a/textproc/py-mkdocstrings-python-legacy/distinfo +++ b/textproc/py-mkdocstrings-python-legacy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1742643034 -SHA256 (mkdocstrings-python-legacy-0.2.5_GH0.tar.gz) = ebd32964843859d0594eeb6cd1405ddb4d275cd9432faf0297c6bea20650564a -SIZE (mkdocstrings-python-legacy-0.2.5_GH0.tar.gz) = 100037 +TIMESTAMP = 1742724911 +SHA256 (mkdocstrings_python_legacy-0.2.6.tar.gz) = 261d7dd920c46db7d83f7230789cb836ee148e213f43aecc827e3f7ca6a5c4d9 +SIZE (mkdocstrings_python_legacy-0.2.6.tar.gz) = 99678 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 976766bb46ae..000000000000 --- a/textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml +++ /dev/null @@ -1,15 +0,0 @@ -Re-add relevant lines that were removed with upstream commit e6f429e64b1e to be -able to build a wheel containing the Python source files. - ---- pyproject.toml.orig 2025-03-22 11:37:42 UTC -+++ pyproject.toml -@@ -50,6 +50,9 @@ getter = "scripts.get_version:get_version" - getter = "scripts.get_version:get_version" - - [tool.pdm.build] -+package-dir = "src" -+editable-backend = "editables" -+includes = ["src/mkdocstrings_handlers"] - # Include as much as possible in the source distribution, to help redistributors. - excludes = ["**/.pytest_cache"] - source-includes = [