Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpcore/
Date: Wed, 05 Jan 2022 17:18:40
Message-Id: 1641403059.d40610ecb8e07f347df91a655fa8344e4843b222.arthurzam@gentoo
1 commit: d40610ecb8e07f347df91a655fa8344e4843b222
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 5 17:07:49 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 5 17:17:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d40610ec
7
8 dev-python/httpcore: add 0.14.4
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/httpcore/Manifest | 1 +
13 dev-python/httpcore/httpcore-0.14.4.ebuild | 34 ++++++++++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
17 index e7460735ecd9..be406716d1ae 100644
18 --- a/dev-python/httpcore/Manifest
19 +++ b/dev-python/httpcore/Manifest
20 @@ -1,2 +1,3 @@
21 DIST httpcore-0.13.7.tar.gz 64734 BLAKE2B e6c4b1720ce4bf62689995d3e1c648c4702bb416f3b3586eb8dd2f0cfd2155046e64181c4c04e65f721a5f0fcbc23b5ffd01c2930c7c69d37ee4c36e37b7d0d4 SHA512 0cc48828d0710066b3ef89998ec85975285763ac63a8b59106952ef2dac5a02dac71e7e106c4b6ea1022eb4d06a9cb5ee3e634eb564bad49c5508beff75279d6
22 DIST httpcore-0.14.3.tar.gz 64650 BLAKE2B 140c55af60f54ff13db958cecef50af2b8857837c00c2e5b1ec48d8866bc08146f608864a3dcaed0014505ba0ea10b8d457a763ecf434a0d40a2e11debdd4003 SHA512 05e92109839c2e2f7ec81fea9507fb15a12d1bf6ae92048170953b1cb0139237b81c892feff1bc3840e06887e8916cadcc4124725874344524e45e3640a00379
23 +DIST httpcore-0.14.4.tar.gz 68463 BLAKE2B cc6c17da3b97c2a8fb9edb0aeb6247904240748645f605b2f3c84194fc06bab10f568ce21b8beaf1dee9a8d68166f1691e00f17e44d89efce0a18a6fbd91d5a5 SHA512 4dfb2d0dd10df1de45f4e78ddedddf02bf500a81a0132919894bd5c07f02a2975ce589ba3f6d79dd92ec882128f86f338bd32f35cdecb6618307e446ed369310
24
25 diff --git a/dev-python/httpcore/httpcore-0.14.4.ebuild b/dev-python/httpcore/httpcore-0.14.4.ebuild
26 new file mode 100644
27 index 000000000000..e5dcbd6373f9
28 --- /dev/null
29 +++ b/dev-python/httpcore/httpcore-0.14.4.ebuild
30 @@ -0,0 +1,34 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A minimal low-level HTTP client"
40 +HOMEPAGE="https://www.encode.io/httpcore/"
41 +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
46 +
47 +RDEPEND="
48 + =dev-python/anyio-3*[${PYTHON_USEDEP}]
49 + dev-python/certifi[${PYTHON_USEDEP}]
50 + <dev-python/h11-0.13[${PYTHON_USEDEP}]
51 + <dev-python/h2-5[${PYTHON_USEDEP}]
52 + =dev-python/sniffio-1*[${PYTHON_USEDEP}]
53 +"
54 +BDEPEND="
55 + test? (
56 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
57 + dev-python/pytest-httpbin[${PYTHON_USEDEP}]
58 + dev-python/pytest-trio[${PYTHON_USEDEP}]
59 + dev-python/trio[${PYTHON_USEDEP}]
60 + dev-python/trustme[${PYTHON_USEDEP}]
61 + )
62 +"
63 +
64 +distutils_enable_tests pytest