git: add130dcb227 - main - textproc/py-rdflib: Allow build with py-isodate 0.7.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Oct 2024 09:01:49 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=add130dcb227530d332fbc88aaf69a9e32edccd0
commit add130dcb227530d332fbc88aaf69a9e32edccd0
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-17 09:01:12 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-17 09:01:12 +0000
textproc/py-rdflib: Allow build with py-isodate 0.7.0+
- Bump PORTREVISION for package change
---
textproc/py-rdflib/Makefile | 3 ++-
textproc/py-rdflib/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index 800108b30b78..545decc71446 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -1,5 +1,6 @@
PORTNAME= rdflib
PORTVERSION= 6.3.2
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +13,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.4.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isodate>=0.6.0<0.7:devel/py-isodate@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isodate>=0.6.0:devel/py-isodate@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.0<4:devel/py-pyparsing@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}berkeleydb>=0:databases/py-berkeleydb@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}networkx>=0:math/py-networkx@${PY_FLAVOR} \
diff --git a/textproc/py-rdflib/files/patch-pyproject.toml b/textproc/py-rdflib/files/patch-pyproject.toml
new file mode 100644
index 000000000000..ab52438a4be5
--- /dev/null
+++ b/textproc/py-rdflib/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2023-03-26 11:49:21 UTC
++++ pyproject.toml
+@@ -40,7 +40,7 @@ python = "^3.7"
+
+ [tool.poetry.dependencies]
+ python = "^3.7"
+-isodate = "^0.6.0"
++isodate = ">=0.6.0"
+ pyparsing = ">=2.1.0,<4"
+ importlib-metadata = {version = "^4.0.0", python = ">=3.7,<3.8"}
+ berkeleydb = {version = "^18.1.0", optional = true}