Port details |
- py-webencodings Character encoding aliases for legacy web content
- 0.5.1 converters
=8 0.5.1Version of this port present on the latest quarterly branch. - Maintainer: saper@saper.info
 - Port Added: 2018-03-04 09:10:56
- Last Update: 2023-01-11 15:58:34
- Commit Hash: 77d6847
- People watching this port, also watch:: py39-pycparser, py311-certifi, py311-six, py39-pysocks, zstd
- Also Listed In: python www
- License: BSD3CLAUSE
- WWW:
- https://github.com/SimonSapin/python-webencodings
- Description:
- In order to be compatible with legacy web content when interpreting
something like Content-Type: text/html; charset=latin1, tools need
to use a particular set of aliases for encoding labels as well as
some overriding rules.
For example, US-ASCII and iso-8859-1 on the web are actually aliases for
windows-1252, and an UTF-8 or UTF-16 BOM takes precedence over any other
encoding declaration.
The Encoding standard defines all such details so that implementations
do not have to reverse-engineer each other.
This module has encoding labels and BOM detection, but the actual
implementation for encoders and decoders is Python's.
¦ ¦ ¦ ¦ 
- 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}webencodings>0:converters/py-webencodings@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/converters/py-webencodings/ && make install clean
- To add the package, run one of these commands:
- pkg install converters/py-webencodings
- pkg install py39-webencodings
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-webencodings listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-webencodings
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1520037325
SHA256 (webencodings-0.5.1.tar.gz) = b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923
SIZE (webencodings-0.5.1.tar.gz) = 9721
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
Deleted ports which required this port:
- for Run
-
- textproc/py-cssselect2
- textproc/py-tinycss2
- www/py-bleach
- www/py-html5lib
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- converters_py-webencodings
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.5.1 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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.5.1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
0.5.1 23 Jun 2022 09:29:27
    |
Antoine Brodin (antoine)  |
converters/py-webencodings: py27 flavor is no longer needed by the ports tree |
0.5.1 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.5.1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.5.1 04 Feb 2021 14:35:00
  |
mat  |
Those ports are allowed to build a 2.7 flavor, for now. |
0.5.1 04 Mar 2018 09:10:41
  |
yuri  |
New port: converters/py-webencodings: Character encoding aliases for legacy web
content
PR: 226316
Submitted by: Marcin Cieslak <saper@saper.info>
Approved by: tcberner (mentor, implicit) |