1 |
commit: 76e06844ca3d25ecc77e948d3728130af0fcea8a |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 16:17:10 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 16:17:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e06844 |
7 |
|
8 |
dev-python/yarl: add 1.8.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/yarl/Manifest | 1 + |
13 |
dev-python/yarl/yarl-1.8.1.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest |
17 |
index 0b63e3f20697..5cdb19dc3902 100644 |
18 |
--- a/dev-python/yarl/Manifest |
19 |
+++ b/dev-python/yarl/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST yarl-1.7.2.gh.tar.gz 108115 BLAKE2B 7bd212b652a77ac29fde4c6565c48c4067f2a24db6bbf735107f3dfa5ee8b6ad2e5a5c3c6206e8dc7692e4cfd5c975d4304dd93280087574bddd73a337417c52 SHA512 bf69c5758f523259757ff84a8737e28931f46311f12f6e141329a5074d34a0cfb45795bf79cb7b78cb676ca7bc38042a2fbd946a5f41bf1d149ada50b88b31ae |
22 |
+DIST yarl-1.8.1.gh.tar.gz 109912 BLAKE2B c7390b78abb5074dd29e96848a77fdb31f6224e99d2bcfd5a28a8bd08881f5ff82cf55b2f54c97324d005a0fb3823732a9ed6bd3f1d837e4ac2341b89e2adb30 SHA512 267523216832c2bc83d92a42e621ff519d427e20c1ee84ac657e13f696a2df2259c837486f192d87944f5ebb834beea60ace791eb4c9c632fd7e552eb5dadf1b |
23 |
|
24 |
diff --git a/dev-python/yarl/yarl-1.8.1.ebuild b/dev-python/yarl/yarl-1.8.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..7ea5cc25c82f |
27 |
--- /dev/null |
28 |
+++ b/dev-python/yarl/yarl-1.8.1.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Yet another URL library" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/aio-libs/yarl/ |
43 |
+ https://pypi.org/project/yarl/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/aio-libs/yarl/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="Apache-2.0" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/multidict-4.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/idna-2.0[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ dev-python/cython[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+distutils_enable_sphinx docs \ |
64 |
+ dev-python/alabaster |
65 |
+ |
66 |
+python_configure() { |
67 |
+ > .install-cython || die |
68 |
+ emake cythonize |
69 |
+} |
70 |
+ |
71 |
+python_test() { |
72 |
+ cd tests || die |
73 |
+ epytest --override-ini=addopts= |
74 |
+} |