mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
1
dev-python/uritools/Manifest
Normal file
1
dev-python/uritools/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST uritools-4.0.1.tar.gz 23524 BLAKE2B ca1d0e739436211838df50b1fe7949c5a43f9bf17ec24cf4b5f5748bcb4a330d677134e568a1683422c80a1cc178bd1f4325df7f0e27ac3af09a025fd95513ac SHA512 d616103a74161ed3f2920d2c6aa75cbfc7425940c46097a7b3701d3db3b8771f012bce17dd595d56154fe7ac00527a6bc989810c2e0beb4556e5caa5720e085e
|
||||
31
dev-python/uritools/metadata.xml
Normal file
31
dev-python/uritools/metadata.xml
Normal 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
|
||||
<https://github.com/python/cpython/blob/3.8/Lib/urllib/parse.py>`_:
|
||||
|
||||
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>
|
||||
24
dev-python/uritools/uritools-4.0.1.ebuild
Normal file
24
dev-python/uritools/uritools-4.0.1.ebuild
Normal 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
|
||||
Reference in New Issue
Block a user