www/py-html5rdf 1.2.1 MidnightBSD
HTML parser based on the WHATWG HTML specification
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
7d8f976785- License
- mit, bsd3
- Categories
- www, python
Description
html5rdf is a pure-python library for parsing HTML to DOMFragment objects for the use in RDFLib. html5rdf is a fork of html5lib-modern.
It is designed to conform to the WHATWG HTML specification, as is implemented by all major web browsers.
html5lib-modern is designed as a drop-in replacement for html5lib that exposes a new html5lib module without Python 2 support and without the legacy dependencies on six and webencodings.
In the other systems
The newest version among them is 1.2.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | www/py-html5rdf | 1.2.1 newest | no data | - | [email protected] | 2026-11-16 |
| FreeBSD | www/py-html5rdf | 1.2.1 newest | none known | - | [email protected] | 2026-08-24 |
| DragonFly | www/py-html5rdf | 1.2.1 newest | none known | - | [email protected] | - |
| HardenedBSD | www/py-html5rdf | 1.2.1 newest | no data | - | [email protected] | - |
| GhostBSD | www/py-html5rdf | 1.2.1 newest | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}html5rdf
From mports:
cd /usr/mports/www/py-html5rdf && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5rdf>0:www/py-html5rdf
Dependency graph
Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 1
No port depends on this one.
Configuration
Options name: www_html5rdf
| Option | Default | Description |
|---|---|---|
| ALL | off | All optional dependencies |
| CHARDET | off | Character encoding fallback |
| GENSHI | off | Tree walker via genshi |
| LXML | off | Tree builder/walker via lxml |
- USES
- python:3.9+ python-setuptools:78
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| html5rdf-1.2.1.tar.gz | 287899 | ace9b420ce52995bb4f05e7425eedf19e433c981dfe7a831ab391e2fa2e1a195 |
Master sites 1
- PYPI
Commit history 3
| Date | Commit | Credits | Log message |
|---|---|---|---|
7d8f976785 |
Lucas Holt | www/py-html5rdf: fix description typos Correct the ancestor project name and dependency-list punctuation noted in review.
AI-Assisted-by: GPT-6 <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |
|
f17c0ba6a2 |
Lucas Holt | www/py-html5rdf: match selected backend Python minimum Setuptools 78 requires Python 3.9; keep the port declaration consistent with its build backend.
AI-Assisted-by: GPT-6 <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |
|
bde51d47e1 |
Lucas Holt | www/py-html5rdf: add 1.2.1 for RDFLib HTML support Import the FreeBSD provider, fix mixed namespace attribute sorting on Python 3, and preserve the vendored webencodings BSD notice alongside the main MIT license.
AI-Assisted-by: OpenAI Codex <[email protected]>
AI-Assisted-by: GPT-6 Luna <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |