www/py-html5lib 1.1_2 MidnightBSD
Python based HTML parser based on the HTML5 spec
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
fadffb1c04- License
- mit
- Categories
- www, python
Description
HTML parser designed to follow the WHATWG HTML5 specification. The parser is designed to handle all flavours of HTML and parses invalid documents using well-defined error handling rules compatible with the behaviour of major desktop web browsers.
Output is to a tree structure; the current release supports output to a custom tree similar to DOM and to ElementTree.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | www/py-html5lib | 1.1_2 |
| FreeBSD | www/py-html5lib | 1.1_2 |
| DragonFly | www/py-html5lib | 1.1_1 |
| HardenedBSD | www/py-html5lib | 1.1_2 |
| GhostBSD | www/py-html5lib | 1.1_2 |
| OPNsense | www/py-html5lib | 1.1_2 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}html5lib
From mports:
cd /usr/mports/www/py-html5lib && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib
Dependencies
As this port's Makefile names them.
Runtime 2
${PYTHON_PKGNAMEPREFIX}six>0: devel/py-six${PYTHON_PKGNAMEPREFIX}webencodings>0: converters/py-webencodings
Run dependencies 2
Configuration
No options to configure.
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| html5lib-1.1.tar.gz | 272215 | b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
fadffb1c04 |
Lucas Holt | www/py-html5lib: support Python 3.14 AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |