1 |
commit: 4cd2feab7d902447663a239b7daec9e6ace10227 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 10 07:51:46 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 10 08:59:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cd2feab |
7 |
|
8 |
dev-python/url-normalize: New dep of dev-python/requests-cache |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/url-normalize/Manifest | 1 + |
13 |
dev-python/url-normalize/metadata.xml | 11 ++++++++ |
14 |
.../url-normalize/url-normalize-1.4.3.ebuild | 30 ++++++++++++++++++++++ |
15 |
3 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/url-normalize/Manifest b/dev-python/url-normalize/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..1d11186b719 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/url-normalize/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST url-normalize-1.4.3.gh.tar.gz 8478 BLAKE2B 2f15a597642626653c96f378b67794819645918473d17faad18187abe35bf7892b11c0bc78451e78f1146389beb3a6470fb3ea1610e60157fee7fbadd9863614 SHA512 46eaa1753b37e89d56cb19818144a7cf5b38653811720eb506732c35bb3732ef0c556420b22a9ee2c08e70e5b408aab7f44cea5e15d1ebe3d717c0c77706bfb8 |
24 |
|
25 |
diff --git a/dev-python/url-normalize/metadata.xml b/dev-python/url-normalize/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..601aeb3c280 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/url-normalize/metadata.xml |
30 |
@@ -0,0 +1,11 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="project"> |
35 |
+ <email>python@g.o</email> |
36 |
+ </maintainer> |
37 |
+ <upstream> |
38 |
+ <remote-id type="github">niksite/url-normalize</remote-id> |
39 |
+ <remote-id type="pypi">url-normalize</remote-id> |
40 |
+ </upstream> |
41 |
+</pkgmetadata> |
42 |
|
43 |
diff --git a/dev-python/url-normalize/url-normalize-1.4.3.ebuild b/dev-python/url-normalize/url-normalize-1.4.3.ebuild |
44 |
new file mode 100644 |
45 |
index 00000000000..79a18fe1ba9 |
46 |
--- /dev/null |
47 |
+++ b/dev-python/url-normalize/url-normalize-1.4.3.ebuild |
48 |
@@ -0,0 +1,30 @@ |
49 |
+# Copyright 2021 Gentoo Authors |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=7 |
53 |
+ |
54 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
55 |
+PYTHON_COMPAT=( python3_{7..9} ) |
56 |
+inherit distutils-r1 |
57 |
+ |
58 |
+DESCRIPTION="URL normalization for Python" |
59 |
+HOMEPAGE=" |
60 |
+ https://github.com/niksite/url-normalize/ |
61 |
+ https://pypi.org/project/url-normalize/" |
62 |
+SRC_URI=" |
63 |
+ https://github.com/niksite/url-normalize/archive/${PV}.tar.gz |
64 |
+ -> ${P}.gh.tar.gz" |
65 |
+ |
66 |
+LICENSE="MIT" |
67 |
+SLOT="0" |
68 |
+KEYWORDS="~amd64 ~x86" |
69 |
+ |
70 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
71 |
+ |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ # remove problematic pytest options |
76 |
+ rm tox.ini || die |
77 |
+ distutils-r1_src_prepare |
78 |
+} |