1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

textproc/py-rdflib: Update to 7.1.0

- Remove HTML option

Changes:	https://github.com/RDFLib/rdflib/releases
This commit is contained in:
Po-Chuan Hsieh 2024-10-23 05:55:51 +08:00
parent 04bda2aba0
commit bd144f22ff
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 12 additions and 26 deletions

View File

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

View File

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

View File

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