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.
This commit is contained in:
Kai Knoblich
2024-01-13 12:21:20 +01:00
parent 3400b85743
commit 7e35ae0fab
2 changed files with 11 additions and 1 deletions

View File

@@ -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

View File

@@ -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.*:"]