commit:     f1a95689f5c9e5372b4dcde71f751d95c84d752f
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 12:00:18 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 21:05:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a95689

dev-python/uritools: new package, add 4.0.1

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

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-python/uritools/Manifest              |  1 +
 dev-python/uritools/metadata.xml          | 31 +++++++++++++++++++++++++++++++
 dev-python/uritools/uritools-4.0.1.ebuild | 24 ++++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/dev-python/uritools/Manifest b/dev-python/uritools/Manifest
new file mode 100644
index 000000000000..6fb35aec4386
--- /dev/null
+++ b/dev-python/uritools/Manifest
@@ -0,0 +1 @@
+DIST uritools-4.0.1.tar.gz 23524 BLAKE2B 
ca1d0e739436211838df50b1fe7949c5a43f9bf17ec24cf4b5f5748bcb4a330d677134e568a1683422c80a1cc178bd1f4325df7f0e27ac3af09a025fd95513ac
 SHA512 
d616103a74161ed3f2920d2c6aa75cbfc7425940c46097a7b3701d3db3b8771f012bce17dd595d56154fe7ac00527a6bc989810c2e0beb4556e5caa5720e085e

diff --git a/dev-python/uritools/metadata.xml b/dev-python/uritools/metadata.xml
new file mode 100644
index 000000000000..b327baf4c3b1
--- /dev/null
+++ b/dev-python/uritools/metadata.xml
@@ -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>mare...@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>

diff --git a/dev-python/uritools/uritools-4.0.1.ebuild 
b/dev-python/uritools/uritools-4.0.1.ebuild
new file mode 100644
index 000000000000..3369476d3621
--- /dev/null
+++ b/dev-python/uritools/uritools-4.0.1.ebuild
@@ -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

Reply via email to