Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2023 17:42:51 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: 5c24308044ba - main - textproc/py-rdflib: Update to 6.3.1
Message-ID:  <202304051742.335Hgp6N009388@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=5c24308044ba7dbf95e85ecf58b40ef4a9ad7c69

commit 5c24308044ba7dbf95e85ecf58b40ef4a9ad7c69
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:25:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:31:50 +0000

    textproc/py-rdflib: Update to 6.3.1
    
    - Update WWW and clean up pkg-descr
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/RDFLib/rdflib/releases
---
 textproc/py-rdflib/Makefile  | 20 ++++++++++----------
 textproc/py-rdflib/distinfo  |  6 +++---
 textproc/py-rdflib/pkg-descr |  2 --
 3 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index a4501ba515bf..840e847d2954 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -1,36 +1,39 @@
 PORTNAME=	rdflib
-PORTVERSION=	6.2.0
+PORTVERSION=	6.3.1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Python library for RDF manipulation
-WWW=		https://pypi.org/project/rdflib/
+WWW=		https://github.com/RDFLib/rdflib
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}isodate>=0:devel/py-isodate@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR}
+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} \
+		${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}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:3.7+
-USE_PYTHON=	autoplist concurrent distutils pytest
+USES=		cpe python:3.7+ shebangfix
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
 CPE_VENDOR=	rdflib_project
 
+SHEBANG_FILES=	rdflib/plugins/parsers/notation3.py
+
 OPTIONS_DEFINE=	HTML
 OPTIONS_DEFAULT=HTML
 HTML_DESC=	HTML support
 
-HTML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR}
+HTML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5lib>=1.0<2:www/py-html5lib@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>
 
@@ -38,7 +41,4 @@ HTML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
 .endif
 
-pre-test:
-	@${RM} ${WRKSRC}/test/test_so_69984830.py ${WRKSRC}/test/test_rules.py
-
 .include <bsd.port.post.mk>
diff --git a/textproc/py-rdflib/distinfo b/textproc/py-rdflib/distinfo
index 3f0b1c7637c4..def650a0d4d2 100644
--- a/textproc/py-rdflib/distinfo
+++ b/textproc/py-rdflib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659161357
-SHA256 (rdflib-6.2.0.tar.gz) = 62dc3c86d1712db0f55785baf8047f63731fa59b2682be03219cb89262065942
-SIZE (rdflib-6.2.0.tar.gz) = 4755909
+TIMESTAMP = 1679499212
+SHA256 (rdflib-6.3.1.tar.gz) = ced41883cdd387a53e73bf54d5db8b076e9675b59d8a601166220aa1e60970b6
+SIZE (rdflib-6.3.1.tar.gz) = 4520079
diff --git a/textproc/py-rdflib/pkg-descr b/textproc/py-rdflib/pkg-descr
index 06c8f3016026..73043a0f0c71 100644
--- a/textproc/py-rdflib/pkg-descr
+++ b/textproc/py-rdflib/pkg-descr
@@ -1,4 +1,2 @@
 RDFLib is a python library containing an RDF triple store and RDF/XML
 parser/serializer.
-
-Git repository: https://github.com/RDFLib/rdflib



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