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/httpcore/
Date: Sun, 24 May 2020 19:03:46
Message-Id: 1590309295.060115781d1df75e46604f561e3275a1a0b8f453.andrewammerlaan@gentoo
1 commit: 060115781d1df75e46604f561e3275a1a0b8f453
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sun May 24 08:34:25 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sun May 24 08:34:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=06011578
7
8 dev-python/httpcore: version bump
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 dev-python/httpcore/Manifest | 1 +
14 dev-python/httpcore/httpcore-0.9.0.ebuild | 48 +++++++++++++++++++++++++++++++
15 2 files changed, 49 insertions(+)
16
17 diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
18 index 60b92b6..9fc05bc 100644
19 --- a/dev-python/httpcore/Manifest
20 +++ b/dev-python/httpcore/Manifest
21 @@ -1 +1,2 @@
22 DIST httpcore-0.7.0.tar.gz 27932 BLAKE2B f3258a9f83a37bcf62422c6f6c5a911712afa1038378ef64aeda45c9b3e700d0e809e3526f2bc33633ce4dc827465d99298597a8b26b6cb13696f9663fcd5a87 SHA512 f5419ebbe6ff42e782bea127ca778de1d42637a15e0152d69e6b58ca7e3687d560a4b132781390a853595ec7d18a0fa567d5b752debbb7be7f5cc822a5eac3fd
23 +DIST httpcore-0.9.0.tar.gz 35349 BLAKE2B 8d543a9b8c0298a0c558ae0045dec82bdf3267acd1d683339a70fb5b8807a5c4600963a9b6c2634081f0d2c8a85015124d3ebdc58250f8a8e67c40d5a3a93d10 SHA512 b4369b8d9581521f68842431513c836ca6b2e08da54342fb7530f68e8e3bb906868858943243945c7591da175f760fcc291d2cba50b1cdb939f34bca962c80fc
24
25 diff --git a/dev-python/httpcore/httpcore-0.9.0.ebuild b/dev-python/httpcore/httpcore-0.9.0.ebuild
26 new file mode 100644
27 index 0000000..7e0dad5
28 --- /dev/null
29 +++ b/dev-python/httpcore/httpcore-0.9.0.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6,7} )
37 +
38 +DOCBUILDER="mkdocs"
39 +DOCDEPEND="dev-python/mkdocs-material"
40 +AUTODOC=1
41 +
42 +inherit distutils-r1 docs
43 +
44 +DESCRIPTION="A minimal HTTP client"
45 +HOMEPAGE="
46 + https://github.com/encode/httpcore
47 + https://pypi.org/project/httpcore
48 +"
49 +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
50 +
51 +LICENSE="BSD"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +
55 +# Temporary failure in name resolution
56 +# requires masked mitmproxy
57 +RESTRICT="test"
58 +
59 +RDEPEND="
60 + dev-python/h11[${PYTHON_USEDEP}]
61 + dev-python/hyper-h2[${PYTHON_USEDEP}]
62 + dev-python/sniffio[${PYTHON_USEDEP}]
63 + dev-python/trio[${PYTHON_USEDEP}]
64 +"
65 +
66 +DEPEND="
67 + ${RDEPEND}
68 + test? (
69 + dev-python/autoflake[${PYTHON_USEDEP}]
70 + dev-python/black[${PYTHON_USEDEP}]
71 + dev-python/isort[${PYTHON_USEDEP}]
72 + dev-python/mypy[${PYTHON_USEDEP}]
73 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
74 + dev-python/pytest-trio[${PYTHON_USEDEP}]
75 + )
76 +"
77 +
78 +distutils_enable_tests pytest