Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2024 07:26:31 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: d9968fa361bc - main - textproc/py-mkdocstrings-python: Update to 1.10.5
Message-ID:  <202407130726.46D7QVru037423@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=d9968fa361bc6eca7d5152e6e03efabd506bcb7c

commit d9968fa361bc6eca7d5152e6e03efabd506bcb7c
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-07-13 07:21:36 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-07-13 07:25:36 +0000

    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
---
 textproc/py-mkdocstrings-python/Makefile | 17 +++++++++--------
 textproc/py-mkdocstrings-python/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/textproc/py-mkdocstrings-python/Makefile b/textproc/py-mkdocstrings-python/Makefile
index e75e43b019c0..d18b919634a9 100644
--- a/textproc/py-mkdocstrings-python/Makefile
+++ b/textproc/py-mkdocstrings-python/Makefile
@@ -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
diff --git a/textproc/py-mkdocstrings-python/distinfo b/textproc/py-mkdocstrings-python/distinfo
index 24b4da1bfee6..ee0e8e49ac4f 100644
--- a/textproc/py-mkdocstrings-python/distinfo
+++ b/textproc/py-mkdocstrings-python/distinfo
@@ -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



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