Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2024 22:03:34 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bd144f22ff58 - main - textproc/py-rdflib: Update to 7.1.0
Message-ID:  <202410222203.49MM3Yl2099264@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit bd144f22ff58ef8ebcd8d7d35cb10b7e33d24d2e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-22 21:55:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-22 21:58:34 +0000

    textproc/py-rdflib: Update to 7.1.0
    
    - Remove HTML option
    
    Changes:        https://github.com/RDFLib/rdflib/releases
---
 textproc/py-rdflib/Makefile                   | 21 +++++++++------------
 textproc/py-rdflib/distinfo                   |  6 +++---
 textproc/py-rdflib/files/patch-pyproject.toml | 11 -----------
 3 files changed, 12 insertions(+), 26 deletions(-)

diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index 545decc71446..1f9902672aac 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	rdflib
-PORTVERSION=	6.3.2
-PORTREVISION=	1
+PORTVERSION=	7.1.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,27 +12,25 @@ 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:devel/py-isodate@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5lib-modern>=1.2<2:www/py-html5lib-modern@${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} \
+		${PYTHON_PKGNAMEPREFIX}networkx>=2<4:math/py-networkx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-subtests>=0:devel/py-pytest-subtests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tabulate>=0:devel/py-tabulate@${PY_FLAVOR}
 
-USES=		cpe python shebangfix
+USES=		cpe python
 USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
 CPE_VENDOR=	rdflib_project
 
-SHEBANG_FILES=	rdflib/plugins/parsers/notation3.py
+.include <bsd.port.pre.mk>
 
-OPTIONS_DEFINE=	HTML
-OPTIONS_DEFAULT=HTML
-HTML_DESC=	HTML support
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}isodate>=0.7.2<1.0.0:devel/py-isodate@${PY_FLAVOR}
+.endif
 
-HTML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5lib>=1.0<2:www/py-html5lib@${PY_FLAVOR}
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/py-rdflib/distinfo b/textproc/py-rdflib/distinfo
index 8b03eb3fb221..026b55f428ad 100644
--- a/textproc/py-rdflib/distinfo
+++ b/textproc/py-rdflib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680726460
-SHA256 (rdflib-6.3.2.tar.gz) = 72af591ff704f4caacea7ecc0c5a9056b8553e0489dd4f35a9bc52dbd41522e0
-SIZE (rdflib-6.3.2.tar.gz) = 4749592
+TIMESTAMP = 1729594562
+SHA256 (rdflib-7.1.0.tar.gz) = a29a8fccebd3d3a5f1b7e88d92dace1c89829018c7d29a6114fff4449c188b3b
+SIZE (rdflib-7.1.0.tar.gz) = 4863439
diff --git a/textproc/py-rdflib/files/patch-pyproject.toml b/textproc/py-rdflib/files/patch-pyproject.toml
deleted file mode 100644
index ab52438a4be5..000000000000
--- a/textproc/py-rdflib/files/patch-pyproject.toml
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410222203.49MM3Yl2099264>