dev-python/uritools: new package, add 4.0.1

New second-order dependency of app-admin/ansible-lint.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2023-08-23 13:00:18 +01:00
parent 2af80f49d8
commit f1a95689f5
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST uritools-4.0.1.tar.gz 23524 BLAKE2B ca1d0e739436211838df50b1fe7949c5a43f9bf17ec24cf4b5f5748bcb4a330d677134e568a1683422c80a1cc178bd1f4325df7f0e27ac3af09a025fd95513ac SHA512 d616103a74161ed3f2920d2c6aa75cbfc7425940c46097a7b3701d3db3b8771f012bce17dd595d56154fe7ac00527a6bc989810c2e0beb4556e5caa5720e085e

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription lang="en">
For various reasons, ``urllib.parse`` and its Python 2 predecessor
``urlparse`` are not compliant with current Internet standards. As
stated in `Lib/urllib/parse.py
&lt;https://github.com/python/cpython/blob/3.8/Lib/urllib/parse.py&gt;`_:
RFC 3986 is considered the current standard and any future changes
to urlparse module should conform with it. The urlparse module is
currently not entirely compliant with this RFC due to defacto
scenarios for parsing, and for backward compatibility purposes,
some parsing quirks from older RFCs are retained.
This module aims to provide fully RFC 3986 compliant replacements for
the most commonly used functions found in ``urllib.parse``. It also
includes functions for distinguishing between the different forms of
URIs and URI references, and for conveniently creating URIs from their
individual components.
</longdescription>
<maintainer type="person">
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">uritools</remote-id>
<remote-id type="github">tkem/uritools</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,24 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DOCS_BUILDER="sphinx"
PYTHON_COMPAT=( python3_{10..12} )
DOCS_DIR="docs"
inherit distutils-r1 docs pypi
DESCRIPTION="RFC 3986-compliant URI parsing, classification and composition"
HOMEPAGE="
https://github.com/tkem/uritools/
https://pypi.org/project/uritools/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
distutils_enable_tests pytest