1 |
commit: 519c7a6f7684b393afe85fef5716e3350afac2f0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 1 21:29:12 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 21:29:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519c7a6f |
7 |
|
8 |
dev-python/uvicorn: Bump to 0.14.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/uvicorn/Manifest | 1 + |
13 |
dev-python/uvicorn/uvicorn-0.14.0.ebuild | 44 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest |
17 |
index ee9b0e8f29c..91ae5b8f29b 100644 |
18 |
--- a/dev-python/uvicorn/Manifest |
19 |
+++ b/dev-python/uvicorn/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST uvicorn-0.13.4.tar.gz 505858 BLAKE2B 486436c0b4c717741c11b7da6a979dc9fe977baa2dbc3e2538ce28551d2dee593076b670b16c099056165624c149f96974f64d2847e38234122ec93b65b31cda SHA512 5332494e0b43b4e87f9d6742be679527b1ec2bc4d2e061768594d44b1fd1d6961a2bd1fa23469fca6c530ef36d6123e453306c2bb664cb27b0cd6145b9a70fd7 |
22 |
+DIST uvicorn-0.14.0.tar.gz 511593 BLAKE2B 9f7aee0001874c128e44d31945aaa0ca92237e594debb6fea3c6c6d0f283c96cfad5248578b0e1c170fe2fde96a6b17c56ecf2436783fcae135b8eab1997b701 SHA512 f41a7f01ac6893ceaf4d1f06a4bccd7355e319eee11d6aa290b0d316fb356eb807c926941157ec64f1fc6b7c4601930cfbe271075d6c4cf684bd7e175617390f |
23 |
|
24 |
diff --git a/dev-python/uvicorn/uvicorn-0.14.0.ebuild b/dev-python/uvicorn/uvicorn-0.14.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..f6347568597 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/uvicorn/uvicorn-0.14.0.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Lightning-fast ASGI server implementation" |
39 |
+HOMEPAGE="https://www.uvicorn.org/" |
40 |
+SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] |
48 |
+ >=dev-python/click-7[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/h11-0.8[${PYTHON_USEDEP}] |
50 |
+ $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_7) |
51 |
+" |
52 |
+BDEPEND=" |
53 |
+ test? ( |
54 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
55 |
+ dev-python/httpx[${PYTHON_USEDEP}] |
56 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
57 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
58 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
59 |
+ dev-python/trustme[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/websockets-9.1[${PYTHON_USEDEP}] |
61 |
+ dev-python/wsproto[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+python_prepare_all() { |
68 |
+ # watchgod is not in the tree |
69 |
+ sed -e '/^from uvicorn.supervisors.watchgodreload/d' \ |
70 |
+ -e 's/, WatchGodReload//' \ |
71 |
+ -i tests/supervisors/test_reload.py |
72 |
+ distutils-r1_python_prepare_all |
73 |
+} |