Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/h2/
Date: Wed, 02 Feb 2022 09:27:33
Message-Id: 1643794015.7b20dc2122bf8445820f960ae2469ce1605120f3.mgorny@gentoo
1 commit: 7b20dc2122bf8445820f960ae2469ce1605120f3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 2 09:13:41 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 2 09:26:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b20dc21
7
8 dev-python/h2: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/h2/h2-4.1.0-r1.ebuild | 34 ++++++++++++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/dev-python/h2/h2-4.1.0-r1.ebuild b/dev-python/h2/h2-4.1.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..8b126759708d
18 --- /dev/null
19 +++ b/dev-python/h2/h2-4.1.0-r1.ebuild
20 @@ -0,0 +1,34 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="HTTP/2 State-Machine based protocol implementation"
32 +HOMEPAGE="
33 + https://python-hyper.org/projects/h2/en/stable/
34 + https://github.com/python-hyper/h2/
35 + https://pypi.org/project/h2/"
36 +SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
37 +
38 +LICENSE="MIT"
39 +SLOT="0"
40 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
41 +
42 +RDEPEND="
43 + >=dev-python/hyperframe-6.0[${PYTHON_USEDEP}]
44 + <dev-python/hyperframe-7[${PYTHON_USEDEP}]
45 + >=dev-python/hpack-4.0[${PYTHON_USEDEP}]
46 + <dev-python/hpack-5[${PYTHON_USEDEP}]
47 +"
48 +BDEPEND="
49 + test? (
50 + dev-python/hypothesis[${PYTHON_USEDEP}]
51 + )
52 +"
53 +
54 +distutils_enable_tests pytest