From 4cd2feab7d902447663a239b7daec9e6ace10227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 10 Apr 2021 09:51:46 +0200 Subject: [PATCH] dev-python/url-normalize: New dep of dev-python/requests-cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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(+) create mode 100644 dev-python/url-normalize/Manifest create mode 100644 dev-python/url-normalize/metadata.xml create mode 100644 dev-python/url-normalize/url-normalize-1.4.3.ebuild diff --git a/dev-python/url-normalize/Manifest b/dev-python/url-normalize/Manifest new file mode 100644 index 0000000000000..1d11186b719fe --- /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 0000000000000..601aeb3c280e5 --- /dev/null +++ b/dev-python/url-normalize/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + + + niksite/url-normalize + url-normalize + + 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 0000000000000..79a18fe1ba922 --- /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 +}