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
Port details
py-pytidylib Python wrapper for HTML Tidy (tidylib)
0.3.2_1 textproc 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.3.2_1Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-07-27 12:50:33
Last Update: 2024-03-25 10:53:24
Commit Hash: 5226116
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: MIT
WWW:
http://countergram.com/open-source/pytidylib
Description:
PyTidyLib is a Python package that wraps the HTML Tidy library. This allows you, from Python code, to "fix" invalid (X)HTML markup. Some of the library's many capabilities include: * Clean up unclosed tags and unescaped characters such as ampersands * Output HTML 4 or XHTML, strict or transitional, and add missing doctypes * Convert named entities to numeric entities, which can then be used in XML documents without an HTML doctype. * Clean up HTML from programs such as Word (to an extent) * Indent the output, including proper (i.e. no) indenting for pre elements, which some (X)HTML indenting code overlooks.
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}pytidylib>0:textproc/py-pytidylib@${PY_FLAVOR}
To install the port:
cd /usr/ports/textproc/py-pytidylib/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-pytidylib
  • pkg install py39-pytidylib
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-pytidylib listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-pytidylib
Package flavors (<flavor>: <package>)
  • py39: py39-pytidylib
distinfo:
TIMESTAMP = 1485774017 SHA256 (pytidylib-0.3.2.tar.gz) = 22b1c8d75970d8064ff999c2369e98af1d0685417eda4c829a5c9f56764b0af3 SIZE (pytidylib-0.3.2.tar.gz) = 87669

Packages (timestamps in pop-ups are UTC):
py37-pytidylib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.3.2---0.3.2-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-pytidylib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.3.2--0.3.20.3.20.3.2
FreeBSD:14:latest--0.3.2--0.3.2-0.3.2
FreeBSD:14:quarterly-----0.3.20.3.20.3.2
FreeBSD:15:latest--n/a-n/a0.3.20.3.20.3.2
 
py311-pytidylib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.3.2_10.3.2_1-0.3.2_10.3.2_1---
FreeBSD:13:quarterly0.3.2_10.3.2_1-0.3.2_10.3.2_1---
FreeBSD:14:latest0.3.2_10.3.2_1-0.3.2_10.3.2_1---
FreeBSD:14:quarterly0.3.2_10.3.2_1-0.3.2_10.3.2_1---
FreeBSD:15:latest0.3.2_10.3.2_1n/a0.3.2_1n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. 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. libtidy5.so : www/tidy-html5
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
textproc_py-pytidylib
USES:
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/p/pytidylib/
  2. https://pypi.org/packages/source/p/pytidylib/
Collapse this list.

Number of commits found: 15

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.3.2_1
25 Mar 2024 10:53:24
commit hash: 52261161d0b226dd81d05f548f7682ee7858bda5commit hash: 52261161d0b226dd81d05f548f7682ee7858bda5commit hash: 52261161d0b226dd81d05f548f7682ee7858bda5commit hash: 52261161d0b226dd81d05f548f7682ee7858bda5 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
textproc/py-pytidylib: remove OPTION to use expired www/tidy-lib
0.3.2
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.3.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.3.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.3.2
20 Jul 2022 14:23:14
commit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9b files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
textproc: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  -
  *  <glewis@FreeBSD.org>
  *  <koshy@india.hp.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron Straup Cope
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Ache
  *  Adam Herzog <adam@herzogdesigns.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.3.2
08 Mar 2022 02:09:57
commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Take maintainership
0.3.2
07 Mar 2022 19:07:39
commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: return koobs' ports to the pool after safekeeping his commit bit.
0.3.2
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.3.2
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.3.2
10 Jan 2018 17:29:23
Revision:458663Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 0.3.2
- Support both tidy and tidy-html5 libraries as a backend.
  The former is practically useless nowadays as it doesn't handle
  any HTML5 tags, so the latter is the default.

PR:		220861
Approved by:	matainainer timeout (koobs, 3 weeks)
0.2.4
01 Apr 2016 14:25:18
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
0.2.4
26 Feb 2016 13:19:07
Revision:409607Original commit files touched by this commit
koobs search for other commits by this committer
textproc/py-pytidylib: Update to 0.2.4

- Update PORTVERSION and distinfo checksum (0.2.4)
- Update COMMENT to more closely match setup.py:description
- Update test target
- Remove TEST_DEPENDS (pytest is not required)
- Enable NO_ARCH (architecture independent)
- Patch setup.py to enable setuptools test command
0.2.3
07 Dec 2014 10:01:37
Revision:374183Original commit files touched by this commit
mva search for other commits by this committer
- Convert textproc/ to USES=python

With hat:	python@
0.2.3
27 Jul 2014 12:50:27
Revision:363058Original commit files touched by this commit
koobs search for other commits by this committer
[NEW] textproc/py-pytidylib: Python wrapper for HTML Tidy

PyTidyLib is a Python package that wraps the HTML Tidy library. This allows
you, from Python code, to "fix" invalid (X)HTML markup. Some of the library's
many capabilities include:

  * Clean up unclosed tags and unescaped characters such as ampersands
  * Output HTML 4 or XHTML, strict or transitional, and add missing doctypes
  * Convert named entities to numeric entities, which can then be used in XML
    documents without an HTML doctype.
  * Clean up HTML from programs such as Word (to an extent)
  * Indent the output, including proper (i.e. no) indenting for pre elements,
    which some (X)HTML indenting code overlooks.

WWW: http://countergram.com/open-source/pytidylib

Number of commits found: 15