diff options
Diffstat (limited to '')
-rw-r--r-- | textproc/py-mdformat/Makefile | 3 | ||||
-rw-r--r-- | textproc/py-mdformat/files/patch-pyproject.toml | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/textproc/py-mdformat/Makefile b/textproc/py-mdformat/Makefile index 740ccb42bbe0..043ff38dc623 100644 --- a/textproc/py-mdformat/Makefile +++ b/textproc/py-mdformat/Makefile @@ -1,6 +1,7 @@ # XXX: see below (post-patch target) before updating PORTNAME= mdformat DISTVERSION= 0.7.22 +PORTREVISION= 1 CATEGORIES= textproc python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.41.3:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib-metadata@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=1.0.0<4.0.0:textproc/py-markdown-it-py@${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} \ ${PYTHON_PKGNAMEPREFIX}zipp>=0.5:devel/py-zipp@${PY_FLAVOR} diff --git a/textproc/py-mdformat/files/patch-pyproject.toml b/textproc/py-mdformat/files/patch-pyproject.toml new file mode 100644 index 000000000000..b34885e1d500 --- /dev/null +++ b/textproc/py-mdformat/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +Obtained from: https://github.com/hukkin/mdformat/commit/a822aca00e5b918953597499e67c8bb7767c7960 + +--- pyproject.toml.orig 2025-01-30 17:57:20 UTC ++++ pyproject.toml +@@ -13,7 +13,7 @@ dependencies = [ + license = { file = "LICENSE" } + requires-python = ">=3.9" + dependencies = [ +- 'markdown-it-py >=1.0.0,<4.0.0', ++ 'markdown-it-py>=1,<5', + 'tomli >=1.1.0; python_version < "3.11"', + 'importlib-metadata >=3.6.0; python_version < "3.10"', + ] |