git: 7e35ae0fab5d - main - textproc/py-markdown-callouts: Relax RUN_DEPENDS

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sat, 13 Jan 2024 11:25:23 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e35ae0fab5d0baeb15b9fb3d6a34e6fc9e8e372

commit 7e35ae0fab5d0baeb15b9fb3d6a34e6fc9e8e372
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-01-13 11:21:20 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-01-13 11:23:49 +0000

    textproc/py-markdown-callouts: Relax RUN_DEPENDS
    
    * The port works with newer versions of textproc/py-markdown thus relax
      the version requirements.
    
    * Bump PORTREVISION due package change.
---
 textproc/py-markdown-callouts/Makefile                   | 3 ++-
 textproc/py-markdown-callouts/files/patch-pyproject.toml | 9 +++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/textproc/py-markdown-callouts/Makefile b/textproc/py-markdown-callouts/Makefile
index d8460d4a6a9a..9d6dc8593d2e 100644
--- a/textproc/py-markdown-callouts/Makefile
+++ b/textproc/py-markdown-callouts/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	markdown-callouts
 DISTVERSION=	0.3.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=0.12:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markdown>=3.3.3<4:textproc/py-markdown@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markdown>=3.3.3:textproc/py-markdown@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist pep517
diff --git a/textproc/py-markdown-callouts/files/patch-pyproject.toml b/textproc/py-markdown-callouts/files/patch-pyproject.toml
index 225fea3423eb..d7109fd7a191 100644
--- a/textproc/py-markdown-callouts/files/patch-pyproject.toml
+++ b/textproc/py-markdown-callouts/files/patch-pyproject.toml
@@ -2,6 +2,15 @@ Use the more lightweight py-poetry-core instead py-poetry.
 
 --- pyproject.toml.orig	2022-09-18 20:43:59 UTC
 +++ pyproject.toml
+@@ -13,7 +13,7 @@ python = "^3.6"
+ 
+ [tool.poetry.dependencies]
+ python = "^3.6"
+-Markdown = "^3.3.3"
++Markdown = ">=3.3.3"
+ 
+ [tool.poetry.dev-dependencies]
+ pytest = "^6.1.2"
 @@ -48,5 +48,5 @@ filterwarnings = ["ignore::DeprecationWarning:.*:",
                    "default::DeprecationWarning:markdown_callouts.*:"]