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
This commit is contained in:
Kai Knoblich 2025-03-25 08:41:22 +01:00
parent 53e839334a
commit 0c24f729b9
3 changed files with 6 additions and 22 deletions

View file

@ -1,7 +1,9 @@
PORTNAME= mkdocstrings-python-legacy PORTNAME= mkdocstrings-python-legacy
DISTVERSION= 0.2.5 DISTVERSION= 0.2.6
CATEGORIES= textproc python CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= mkdocstrings_python_legacy-${DISTVERSION}
MAINTAINER= kai@FreeBSD.org MAINTAINER= kai@FreeBSD.org
COMMENT= Legacy Python handler for mkdocstrings 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. # therefore # moved to TEST_DEPENDS to at least allow the test suite to run.
USES= python:3.9+ USES= python:3.9+
USE_GITHUB= yes
GH_ACCOUNT= mkdocstrings
GH_PROJECT= python-legacy
USE_PYTHON= autoplist pep517 pytest USE_PYTHON= autoplist pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1742643034 TIMESTAMP = 1742724911
SHA256 (mkdocstrings-python-legacy-0.2.5_GH0.tar.gz) = ebd32964843859d0594eeb6cd1405ddb4d275cd9432faf0297c6bea20650564a SHA256 (mkdocstrings_python_legacy-0.2.6.tar.gz) = 261d7dd920c46db7d83f7230789cb836ee148e213f43aecc827e3f7ca6a5c4d9
SIZE (mkdocstrings-python-legacy-0.2.5_GH0.tar.gz) = 100037 SIZE (mkdocstrings_python_legacy-0.2.6.tar.gz) = 99678

View file

@ -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 = [