net/py-url-normalize 1.4.3_1 MidnightBSD
URL normalization for Python
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- net, python
Description
URI Normalization function:
- Take care of IDN domains.
- Always provide the URI scheme in lowercase characters.
- Always provide the host, if any, in lowercase characters.
- Only perform percent-encoding where it is essential.
- Always use uppercase A-through-F characters when percent-encoding.
- Prevent dot-segments appearing in non-relative URI paths.
- For schemes that define a default authority, use an empty authority if the default is desired.
- For schemes that define an empty path to be equivalent to a path of "/", use "/".
- For schemes that define a port, use an empty port if the default is desired
- All portions of the URI must be utf-8 encoded NFC from Unicode strings
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | net/py-url-normalize | 1.4.3_1 |
| FreeBSD | net/py-url-normalize | 3.0.0 |
| DragonFly | net/py-url-normalize | 1.4.3_1 |
| HardenedBSD | net/py-url-normalize | 3.0.0 |
| GhostBSD | net/py-url-normalize | 3.0.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}url-normalize
From mports:
cd /usr/mports/net/py-url-normalize && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}url-normalize>0:net/py-url-normalize
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}six>=0: devel/py-six
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| url-normalize-1.4.3.tar.gz | 6024 | d23d3a070ac52a67b83a1c59a0e68f8608d1cd538783b401bc9de2c0fac999b2 |
Master sites 1
- PYPI