Port details on branch 2022Q2 |
- py-webencodings Character encoding aliases for legacy web content
- 0.5.1 converters =7 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-pysocks, py39-cffi, py39-pycparser, py39-idna, readline
- 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
-
- math/sage
- for Run
-
- math/sage
- textproc/py-cssselect2
- textproc/py-tinycss2
- www/py-bleach
- www/py-html5lib
Configuration Options:
- No options to configure
- Options name:
- converters_py-webencodings
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|