Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/httpx/
Date: Fri, 14 Aug 2020 18:35:15
Message-Id: 1597428655.6cd2db14ca26f3b64c1e297dbd81a83cc7438778.andrewammerlaan@gentoo
1 commit: 6cd2db14ca26f3b64c1e297dbd81a83cc7438778
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Fri Aug 14 18:10:55 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Fri Aug 14 18:10:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6cd2db14
7
8 dev-python/httpx: add py3.8
9
10 Package-Manager: Portage-3.0.2, Repoman-2.3.23
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 dev-python/httpx/Manifest | 1 +
14 dev-python/httpx/httpx-0.14.0.ebuild | 57 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
18 index da415e9..7d31a35 100644
19 --- a/dev-python/httpx/Manifest
20 +++ b/dev-python/httpx/Manifest
21 @@ -1,4 +1,5 @@
22 DIST httpx-0.11.1.tar.gz 177579 BLAKE2B a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea SHA512 4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
23 DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08 SHA512 fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883
24 DIST httpx-0.13.3.tar.gz 176199 BLAKE2B d3a56c2386841909668e34eaa78d202f91ad900230b9d1d4254bfa08312312d020e081aea2839dbb57d85fa26ccfc3f093404801c4dd5c47051f3c9fd2746552 SHA512 54cdee16e8253c221c3298817ccf63a4a0d6755a86feea2aa5a2efe9af44eb1eb0a578b21f593fe28fceace17b0a0badb52a66965c35bf456ea57dd3b905ebbe
25 +DIST httpx-0.14.0.tar.gz 808584 BLAKE2B 93cc96ba3862f4119bcd67dde7539aee6ecffe504f533b38ad698fe9159b18b5333719b25df739d5b3073d7e423e9798016f08b677869d4816357c986657f126 SHA512 1a49a2f112a324e6a4b4cd76a6c13bf53ab96332356c8fafa71bd37a4e6bc5f888df0c85937ac0287d7cd21f3eadb18b18155e8911550cfe48946b283309c22c
26 DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e SHA512 171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a
27
28 diff --git a/dev-python/httpx/httpx-0.14.0.ebuild b/dev-python/httpx/httpx-0.14.0.ebuild
29 new file mode 100644
30 index 0000000..e10a7e8
31 --- /dev/null
32 +++ b/dev-python/httpx/httpx-0.14.0.ebuild
33 @@ -0,0 +1,57 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +PYTHON_COMPAT=( python3_{7,8} )
40 +
41 +DOCBUILDER="mkdocs"
42 +DOCDEPEND="dev-python/mkdocs-material"
43 +AUTODOC=1
44 +
45 +inherit distutils-r1 docs
46 +
47 +DESCRIPTION="A next generation HTTP client for Python"
48 +HOMEPAGE="
49 + https://www.python-httpx.org
50 + https://github.com/encode/httpx
51 + https://pypi.org/project/httpx
52 +"
53 +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
54 +
55 +LICENSE="BSD"
56 +KEYWORDS="~amd64 ~x86"
57 +SLOT="0"
58 +
59 +RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
60 + dev-python/chardet[${PYTHON_USEDEP}]
61 + dev-python/hstspreload[${PYTHON_USEDEP}]
62 + ~dev-python/httpcore-0.10.1[${PYTHON_USEDEP}]
63 + dev-python/hyper-h2[${PYTHON_USEDEP}]
64 + dev-python/h11[${PYTHON_USEDEP}]
65 + dev-python/idna[${PYTHON_USEDEP}]
66 + dev-python/rfc3986[${PYTHON_USEDEP}]
67 + dev-python/sniffio[${PYTHON_USEDEP}]
68 + dev-python/urllib3[${PYTHON_USEDEP}]
69 +"
70 +
71 +DEPEND="test? (
72 + dev-python/attrs[${PYTHON_USEDEP}]
73 + dev-python/brotlipy[${PYTHON_USEDEP}]
74 + dev-python/cryptography[${PYTHON_USEDEP}]
75 + dev-python/isort[${PYTHON_USEDEP}]
76 + dev-python/mypy[${PYTHON_USEDEP}]
77 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
78 + dev-python/trio[${PYTHON_USEDEP}]
79 + dev-python/trustme[${PYTHON_USEDEP}]
80 + dev-python/uvicorn[${PYTHON_USEDEP}]
81 +)"
82 +
83 +distutils_enable_tests pytest
84 +
85 +python_prepare_all() {
86 + # do not depend on pytest-cov
87 + sed -i -e '/addopts/d' setup.cfg || die
88 +
89 + distutils-r1_python_prepare_all
90 +}