1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

textproc/py-mkdocstrings-python: Update to 1.10.5

* Switch to GitHub to continue using the test suite, which is currently
  not included with the recent sdist tarballs.  This now makes it
  possible to run all tests, some of which were not included in the
  sdist.

Changelog since 1.10.3:

https://github.com/mkdocstrings/python/blob/1.10.5/CHANGELOG.md
This commit is contained in:
Kai Knoblich 2024-07-13 09:21:36 +02:00
parent 580db754b0
commit d9968fa361
2 changed files with 12 additions and 11 deletions

View File

@ -1,9 +1,7 @@
PORTNAME= mkdocstrings-python
DISTVERSION= 1.10.3
DISTVERSION= 1.10.5
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= mkdocstrings_python-${DISTVERSION}
MAINTAINER= kai@FreeBSD.org
COMMENT= Python handler for mkdocstrings
@ -13,18 +11,21 @@ LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}griffe>=0.44:textproc/py-griffe@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mkdocstrings>0:textproc/py-mkdocstrings@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}griffe>=0.47:textproc/py-griffe@${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' PYTHON option). It was therefore
# moved to TEST_DEPENDS to at least allow the test suite to run.
USES= python
USE_GITHUB= yes
GH_ACCOUNT= mkdocstrings
GH_PROJECT= python
USE_PYTHON= autoplist pep517 pytest
# These tests relies on files that aren't available in the sdist
PYTEST_IGNORED_TESTS= test_render_themes test_render_docstring \
test_rendering_object_source_without_lineno
# Required otherwise the build process tries to get the current version via git
MAKE_ENV= PDM_BUILD_SCM_VERSION=${DISTVERSION}
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}mkdocstrings-python-legacy

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1718444588
SHA256 (mkdocstrings_python-1.10.3.tar.gz) = 321cf9c732907ab2b1fedaafa28765eaa089d89320f35f7206d00ea266889d03
SIZE (mkdocstrings_python-1.10.3.tar.gz) = 42095
TIMESTAMP = 1720853222
SHA256 (mkdocstrings-python-1.10.5_GH0.tar.gz) = 0c98306101822d955be745bc003c94342fb8bbcd57e5b61f11e0e119e40599ac
SIZE (mkdocstrings-python-1.10.5_GH0.tar.gz) = 157091