notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
py-html5-parser Fast implementation of the HTML 5 parsing spec for Python
0.4.12 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.4.12Version of this port present on the latest quarterly branch.
Maintainer: madpilot@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-07-31 16:22:30
Last Update: 2023-11-20 17:55:57
Commit Hash: ff4d666
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: APACHE20
WWW:
https://html5-parser.readthedocs.io/
Description:
A fast implementation of the HTML 5 parsing spec for Python. Parsing is done in C using a variant of the gumbo parser. The gumbo parse tree is then transformed into an lxml tree, also in C, yielding parse times that can be a thirtieth of the html5lib parse times. That is a speedup of 30x. This differs, for instance, from the gumbo python bindings, where the initial parsing is done in C but the transformation into the final tree is done in python.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}html5-parser>0:www/py-html5-parser@${PY_FLAVOR}
To install the port:
cd /usr/ports/www/py-html5-parser/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-html5-parser
  • pkg install py39-html5-parser
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-html5-parser listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-html5-parser
Package flavors (<flavor>: <package>)
  • py39: py39-html5-parser
distinfo:
TIMESTAMP = 1700496447 SHA256 (html5-parser-0.4.12.tar.gz) = 3d7f89841aa48b976311f43863178c34c141abcf1dd45b67a7339e61cffe5306 SIZE (html5-parser-0.4.12.tar.gz) = 270861

Packages (timestamps in pop-ups are UTC):
py37-html5-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.4.9---0.4.9-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-html5-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.4.11--0.4.120.4.120.4.12
FreeBSD:14:latest--0.4.10_2--0.4.11-0.4.11
FreeBSD:14:quarterly-----0.4.120.4.120.4.12
FreeBSD:15:latest--n/a-n/a0.4.120.4.120.4.12
 
py311-html5-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.4.120.4.12-0.4.120.4.12---
FreeBSD:13:quarterly0.4.120.4.12-0.4.120.4.12---
FreeBSD:14:latest0.4.120.4.12-0.4.120.4.12---
FreeBSD:14:quarterly0.4.120.4.12-0.4.120.4.12---
FreeBSD:15:latest0.4.120.4.12n/a0.4.12n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-lxml>=4.9.2 : devel/py-lxml@py39
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  4. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Library dependencies:
  1. libxml2.so : textproc/libxml2
This port is required by:
for Build
  1. deskutils/calibre
for Run
  1. deskutils/calibre
  2. www/py-mechanize

Configuration Options:
No options to configure
Options name:
www_py-html5-parser
USES:
gnome pkgconfig python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/h/html5-parser/
  2. https://pypi.org/packages/source/h/html5-parser/
Collapse this list.

Number of commits found: 23

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.4.12
20 Nov 2023 17:55:57
commit hash: ff4d666e4eaeb8b96466bd522dbcf5fa1c486010commit hash: ff4d666e4eaeb8b96466bd522dbcf5fa1c486010commit hash: ff4d666e4eaeb8b96466bd522dbcf5fa1c486010commit hash: ff4d666e4eaeb8b96466bd522dbcf5fa1c486010 files touched by this commit
Guido Falsi (madpilot) search for other commits by this committer
www/py-html5-parser: Update to 0.4.12
0.4.11
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.4.11
12 Apr 2023 15:02:42
commit hash: ee2baceb487cc6e01bea2345d94ac9fefee2bef8commit hash: ee2baceb487cc6e01bea2345d94ac9fefee2bef8commit hash: ee2baceb487cc6e01bea2345d94ac9fefee2bef8commit hash: ee2baceb487cc6e01bea2345d94ac9fefee2bef8 files touched by this commit
Guido Falsi (madpilot) search for other commits by this committer
www/py-html5-parser: Update to 0.4.11

- Align minimum dependency requirement to what upstream uses in CI
  script.
0.4.10_2
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.4.10_2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.4.10_2
10 Apr 2022 19:11:41
commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
textproc/libxml2: bump all LIB_DEPENDS consumers

This is a separate commit to facilitate easier cherry-picking for
quarterly.

PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
0.4.10_1
26 Mar 2022 08:27:27
commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
textproc/libxml2: bump all dependencies

This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
0.4.10
22 Sep 2021 16:05:52
commit hash: 197b0b56befbfd82d6d6310fdff4f5d7d0350b39commit hash: 197b0b56befbfd82d6d6310fdff4f5d7d0350b39commit hash: 197b0b56befbfd82d6d6310fdff4f5d7d0350b39commit hash: 197b0b56befbfd82d6d6310fdff4f5d7d0350b39 files touched by this commit
Guido Falsi (madpilot) search for other commits by this committer
www/py-html5-parser: Update to 0.4.10
0.4.9
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.4.9
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.4.9
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
0.4.9
24 Dec 2020 13:46:02
Revision:559094Original commit files touched by this commit
kai search for other commits by this committer
Relax hardcoded paths to fix build with Python 3.8.7

Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
0.4.9
11 Jan 2020 15:38:11
Revision:522688Original commit files touched by this commit
madpilot search for other commits by this committer
Update py-html5-parser to 0.4.9
0.4.8
08 Nov 2019 12:53:37
Revision:517054Original commit files touched by this commit
tobik search for other commits by this committer
www: Add missing USES=gnome
0.4.8
01 Aug 2019 18:00:16
Revision:507815Original commit files touched by this commit
madpilot search for other commits by this committer
Update py-html5-parser to 0.4.8
0.4.7
14 Jun 2019 12:46:50
Revision:504184Original commit files touched by this commit
madpilot search for other commits by this committer
Update html5-parser to 0.4.7
0.4.6
15 May 2019 09:53:19
Revision:501701Original commit files touched by this commit
madpilot search for other commits by this committer
Update py-html5-parser to 0.4.6
0.4.5
20 Jun 2018 17:05:44
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
0.4.5
18 Jun 2018 08:36:59
Revision:472678Original commit files touched by this commit
madpilot search for other commits by this committer
- Update py-html5-parser to 0.4.5
- Add missing dependency
- Strip binaries
0.4.4
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.4.4
03 Aug 2017 22:32:53
Revision:447294Original commit files touched by this commit
madpilot search for other commits by this committer
Update to 0.4.4.
0.4.3
31 Jul 2017 16:22:20
Revision:446984Original commit files touched by this commit
madpilot search for other commits by this committer
A fast implementation of the HTML 5 parsing spec for Python. Parsing
is done in C using a variant of the gumbo parser. The gumbo parse
tree is then transformed into an lxml tree, also in C, yielding
parse times that can be a thirtieth of the html5lib parse times.
That is a speedup of 30x. This differs, for instance, from the gumbo
python bindings, where the initial parsing is done in C but the
transformation into the final tree is done in python.

WWW: https://html5-parser.readthedocs.io/

Number of commits found: 23