1 |
commit: cc4d7e0aac3541cf52ae7d2385ddc0489d3208ab |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 7 21:31:54 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 7 21:36:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc4d7e0a |
7 |
|
8 |
dev-python/yarl: Bump to 1.7.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/yarl/Manifest | 1 + |
13 |
dev-python/yarl/yarl-1.7.0.ebuild | 32 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest |
17 |
index 3bed866b7df..1fc540c9808 100644 |
18 |
--- a/dev-python/yarl/Manifest |
19 |
+++ b/dev-python/yarl/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST yarl-1.6.3.tar.gz 176823 BLAKE2B 58d36c6d18ef661cb08074153081f541fc98968107d71e7b501297f45f38de092804bba2ae89ddcf0da79b5d4fca62292a4c460bc9dff9d723d3958bc64ff84b SHA512 4c76b94198b8e334f4b4e71d92b0fe23f752d35e0c29bc68df99648b3f48fbb6e3dd8d7339138544e5dc8fbf64c15cb61678052670ac47edc5be958df819d42e |
22 |
+DIST yarl-1.7.0.tar.gz 168325 BLAKE2B 25d708935c8b97142ee729827bb70955458d8ea8212d2a6e59dfe899f2cff41a8cfd93581f8e0f80a3ce194707068ad968f1ae8ee0434e11ac8f7909abda246f SHA512 581b786710c334a8f3d2259678f2bb22c40a0c2b125a786c81a9dc9e4e637e3eb80f11194835f58ada17b346b840ae1a539beba37a52e59b648340cc93f65d5c |
23 |
|
24 |
diff --git a/dev-python/yarl/yarl-1.7.0.ebuild b/dev-python/yarl/yarl-1.7.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..c30d1180c9b |
27 |
--- /dev/null |
28 |
+++ b/dev-python/yarl/yarl-1.7.0.ebuild |
29 |
@@ -0,0 +1,32 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Yet another URL library" |
39 |
+HOMEPAGE="https://github.com/aio-libs/yarl/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=dev-python/multidict-4.0[${PYTHON_USEDEP}] |
48 |
+ >=dev-python/idna-2.0[${PYTHON_USEDEP}] |
49 |
+ $(python_gen_cond_dep ' |
50 |
+ >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] |
51 |
+ ' pypy3) |
52 |
+" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+distutils_enable_sphinx docs \ |
56 |
+ dev-python/alabaster |
57 |
+ |
58 |
+python_test() { |
59 |
+ cd tests || die |
60 |
+ epytest --override-ini=addopts= |
61 |
+} |