BSD Ports

net/py-uritools 4.0.2_1 MidnightBSD

RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
net, python

Description

This module defines RFC 3986 compliant replacements for the most commonly used functions of the Python 2.7 Standard Library urlparse and Python 3 urllib.parse modules.

For various reasons, the Python 2 urlparse module is not compliant with current Internet standards, does not include Unicode support, and is generally unusable with proprietary URI schemes. Python 3's urllib.parse improves on Unicode support, but the other issues still remain.

This module aims to provide fully RFC 3986 compliant replacements for some commonly used functions found in urlparse and urllib.parse, plus additional functions for conveniently composing URIs from their individual components.

In the other systems

SystemPortVersion
MidnightBSDnet/py-uritools4.0.2_1
FreeBSDnet/py-uritools6.1.3
DragonFlynet/py-uritools4.0.3
HardenedBSDnet/py-uritools6.1.3
GhostBSDnet/py-uritools5.0.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}uritools

From mports:

cd /usr/mports/net/py-uritools && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uritools>0:net/py-uritools

Dependencies

Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
uritools-4.0.2.tar.gz2367304df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573
Master sites 1
  • PYPI