git: 95d01e2eb0b0 - main - textproc/py-mdformat: Update to 0.7.22
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Feb 2025 09:55:09 UTC
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=95d01e2eb0b09dc7587c5a0b6bca2bbf93f4ebdc commit 95d01e2eb0b09dc7587c5a0b6bca2bbf93f4ebdc Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2025-02-22 09:50:49 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2025-02-22 09:54:57 +0000 textproc/py-mdformat: Update to 0.7.22 - Update list of test dependencies; - Set the PYTHONPATH variable to find the mdformat module required by tests; - Fix the minimum required version of setuptools in pyproject.toml (the Ports one is too old) via a post-patch target. Reported by: portscout! --- textproc/py-mdformat/Makefile | 15 +++++++++++++-- textproc/py-mdformat/distinfo | 6 +++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/textproc/py-mdformat/Makefile b/textproc/py-mdformat/Makefile index 8419903694eb..740ccb42bbe0 100644 --- a/textproc/py-mdformat/Makefile +++ b/textproc/py-mdformat/Makefile @@ -1,5 +1,6 @@ +# XXX: see below (post-patch target) before updating PORTNAME= mdformat -DISTVERSION= 0.7.18 +DISTVERSION= 0.7.22 CATEGORIES= textproc python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +18,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib ${PYTHON_PKGNAMEPREFIX}mdurl>=0.1.2:textproc/py-mdurl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zipp>=0.5:devel/py-zipp@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1.0:devel/py-pytest-cov@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}covdefaults>=2.3.0_1:devel/py-covdefaults@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1.0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-randomly>=3.12.0:devel/py-pytest-randomly@${PY_FLAVOR} USES= python @@ -35,6 +37,15 @@ DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0.18.1:textproc/py-docutils ${PYTHON_PKGNAMEPREFIX}sphinx>=5.4.0:textproc/py-sphinx@${PY_FLAVOR} DOCS_PORTDOCS= * .buildinfo +# tests: 4282 passed, 5 skipped (require Python 3.13+) +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +# XXX: remove this target as soon as devel/py-setuptools is updated to version >= 69 +post-patch: + @${REINPLACE_CMD} \ + -e 's/\(setuptools>=\)69/\163/1' \ + ${WRKSRC}/pyproject.toml + post-install-DOCS-on: ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \ -d ${WRKDIR} -b html -n ${WRKSRC}/docs ${STAGEDIR}${DOCSDIR} diff --git a/textproc/py-mdformat/distinfo b/textproc/py-mdformat/distinfo index 5d562d006e02..4a8d4ffed71c 100644 --- a/textproc/py-mdformat/distinfo +++ b/textproc/py-mdformat/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1729183507 -SHA256 (executablebooks-mdformat-0.7.18_GH0.tar.gz) = 676429a00bfe9c6eb7f2e0fe5774a8ca53de594bf4921f3441eea4c0b10f4deb -SIZE (executablebooks-mdformat-0.7.18_GH0.tar.gz) = 83977 +TIMESTAMP = 1739874344 +SHA256 (executablebooks-mdformat-0.7.22_GH0.tar.gz) = b793e355e00a61f8c0e7e3a642f7430b858c073cf86c7371d20fe6ce79f3e4d3 +SIZE (executablebooks-mdformat-0.7.22_GH0.tar.gz) = 94092