git: 63dc1b6e7437 - main - textproc/py-mdformat: Fix RUN_DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Sep 2025 04:47:06 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=63dc1b6e743730ec96ef4a886e5545ce7e45de34
commit 63dc1b6e743730ec96ef4a886e5545ce7e45de34
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-10 04:38:12 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-10 04:38:12 +0000
textproc/py-mdformat: Fix RUN_DEPENDS
- Use PY_TOMLI
- While I'm here, update WWW
- Bump PORTREVISION for dependency change
from pyproject.toml:
'tomli >=1.1.0; python_version < "3.11"',
Reference: https://github.com/hukkin/mdformat/blob/0.7.22/pyproject.toml#L17
Approved by: portmgr (blanket)
With hat: python
---
textproc/py-mdformat/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/textproc/py-mdformat/Makefile b/textproc/py-mdformat/Makefile
index 043ff38dc623..989ab1be270d 100644
--- a/textproc/py-mdformat/Makefile
+++ b/textproc/py-mdformat/Makefile
@@ -1,13 +1,13 @@
# XXX: see below (post-patch target) before updating
PORTNAME= mdformat
DISTVERSION= 0.7.22
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= CommonMark compliant Markdown formatter
-WWW= https://github.com/executablebooks/mdformat
+WWW= https://github.com/hukkin/mdformat
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${P
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown-it-py>=1<5:textproc/py-markdown-it-py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mdurl>=0.1.2:textproc/py-mdurl@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} \
+ ${PY_TOMLI} \
${PYTHON_PKGNAMEPREFIX}zipp>=0.5:devel/py-zipp@${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} \