commit:     4cd2feab7d902447663a239b7daec9e6ace10227
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 10 07:51:46 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 10 08:59:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cd2feab

dev-python/url-normalize: New dep of dev-python/requests-cache

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/url-normalize/Manifest                  |  1 +
 dev-python/url-normalize/metadata.xml              | 11 ++++++++
 .../url-normalize/url-normalize-1.4.3.ebuild       | 30 ++++++++++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/dev-python/url-normalize/Manifest 
b/dev-python/url-normalize/Manifest
new file mode 100644
index 00000000000..1d11186b719
--- /dev/null
+++ b/dev-python/url-normalize/Manifest
@@ -0,0 +1 @@
+DIST url-normalize-1.4.3.gh.tar.gz 8478 BLAKE2B 
2f15a597642626653c96f378b67794819645918473d17faad18187abe35bf7892b11c0bc78451e78f1146389beb3a6470fb3ea1610e60157fee7fbadd9863614
 SHA512 
46eaa1753b37e89d56cb19818144a7cf5b38653811720eb506732c35bb3732ef0c556420b22a9ee2c08e70e5b408aab7f44cea5e15d1ebe3d717c0c77706bfb8

diff --git a/dev-python/url-normalize/metadata.xml 
b/dev-python/url-normalize/metadata.xml
new file mode 100644
index 00000000000..601aeb3c280
--- /dev/null
+++ b/dev-python/url-normalize/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">niksite/url-normalize</remote-id>
+               <remote-id type="pypi">url-normalize</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/url-normalize/url-normalize-1.4.3.ebuild 
b/dev-python/url-normalize/url-normalize-1.4.3.ebuild
new file mode 100644
index 00000000000..79a18fe1ba9
--- /dev/null
+++ b/dev-python/url-normalize/url-normalize-1.4.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{7..9} )
+inherit distutils-r1
+
+DESCRIPTION="URL normalization for Python"
+HOMEPAGE="
+       https://github.com/niksite/url-normalize/
+       https://pypi.org/project/url-normalize/";
+SRC_URI="
+       https://github.com/niksite/url-normalize/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # remove problematic pytest options
+       rm tox.ini || die
+       distutils-r1_src_prepare
+}

Reply via email to