Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 2025 05:15:44 +0000
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1c58e13f400a - main - textproc/py-rdflib: move bin/sq to bin/sparqlquery
Message-ID:  <692fc780.3ffa0.57936ba3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vishwin:

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

commit 1c58e13f400a6632a978011d3dca73fb0a979ff1
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-12-03 05:13:31 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-12-03 05:13:31 +0000

    textproc/py-rdflib: move bin/sq to bin/sparqlquery
    
    Conflicts with security/sequoia-sq. sq in this context is merely a
    short form for sparqlquery, so use the long name for now.
    
    While here, use DISTVERSION.
    
    Reference: https://github.com/RDFLib/rdflib/issues/3337
---
 textproc/py-rdflib/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index 76c341ff26fd..e13253d7fb45 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	rdflib
-PORTVERSION=	7.5.0
+DISTVERSION=	7.5.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -48,4 +49,10 @@ ORJSON_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}orjson>=3.9.14<4:devel/py-orjson@${PY
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}isodate>=0.7.2<1.0.0:devel/py-isodate@${PY_FLAVOR}
 .endif
 
+post-patch:
+	# conflict with security/sequoia-sq, see https://github.com/RDFLib/rdflib/issues/3337
+	@${REINPLACE_CMD} -e 's|sq|sparqlquery|g' \
+		${WRKSRC}/pyproject.toml \
+		${WRKSRC}/rdflib/tools/sparqlquery.py
+
 .include <bsd.port.post.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?692fc780.3ffa0.57936ba3>