diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-10-17 07:04:48 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-10-17 08:01:40 +0000 |
| commit | 163e6dd8cd4bf6335895eeac9d4861da430215fe (patch) | |
| tree | 7951ea9ac451d69ec80d57b8fd9218f73be55ed9 | |
| parent | f1637d5737cfab59ea849be24861e63fc20db8f2 (diff) | |
textproc/py-pyRdfa3: New port: RDFa parser library
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-pyRdfa3/Makefile | 28 | ||||
| -rw-r--r-- | textproc/py-pyRdfa3/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-pyRdfa3/files/patch-pyproject.toml | 9 | ||||
| -rw-r--r-- | textproc/py-pyRdfa3/pkg-descr | 5 |
5 files changed, 46 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 796bd24e3431..6cd87a5de4c1 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1536,6 +1536,7 @@ SUBDIR += py-pscript SUBDIR += py-pss SUBDIR += py-pyPEG2 + SUBDIR += py-pyRdfa3 SUBDIR += py-pyahocorasick SUBDIR += py-pyaml SUBDIR += py-pybtex diff --git a/textproc/py-pyRdfa3/Makefile b/textproc/py-pyRdfa3/Makefile new file mode 100644 index 000000000000..c7b4d01a5416 --- /dev/null +++ b/textproc/py-pyRdfa3/Makefile @@ -0,0 +1,28 @@ +PORTNAME= pyRdfa3 +DISTVERSION= 3.6.4 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:tl}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= RDFa parser library +WWW= https://github.com/RDFLib/pyrdfa3 + +LICENSE= W3C +LICENSE_NAME= W3C Software License +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rdflib>=7.0.0:textproc/py-rdflib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}html5lib>=1.1:www/py-html5lib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.32.3:www/py-requests@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-pyRdfa3/distinfo b/textproc/py-pyRdfa3/distinfo new file mode 100644 index 000000000000..0de39c19b236 --- /dev/null +++ b/textproc/py-pyRdfa3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1760676288 +SHA256 (pyrdfa3-3.6.4.tar.gz) = 64712d1a4bf21829652b39715bada6e7c03bcf19cb49f962c190a38f46172243 +SIZE (pyrdfa3-3.6.4.tar.gz) = 84506 diff --git a/textproc/py-pyRdfa3/files/patch-pyproject.toml b/textproc/py-pyRdfa3/files/patch-pyproject.toml new file mode 100644 index 000000000000..4c9e1c948982 --- /dev/null +++ b/textproc/py-pyRdfa3/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2025-10-16 21:47:24 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=71.1.0"] ++requires = ["setuptools>=63.1.0"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/textproc/py-pyRdfa3/pkg-descr b/textproc/py-pyRdfa3/pkg-descr new file mode 100644 index 000000000000..4e3d3b3ea823 --- /dev/null +++ b/textproc/py-pyRdfa3/pkg-descr @@ -0,0 +1,5 @@ +RDFa parser library. + +pyRdfa is a Python library for parsing RDFa (Resource Description Framework +in Attributes) data from HTML and XML documents. It implements the RDFa 1.0 +and 1.1 specifications. |
