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/hpack/
Date: Wed, 02 Feb 2022 09:27:32
Message-Id: 1643794014.ddcbacd1cc534a140992e6ae98b47b8fa5607e6e.mgorny@gentoo
1 commit: ddcbacd1cc534a140992e6ae98b47b8fa5607e6e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 2 09:11:56 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 2 09:26:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddcbacd1
7
8 dev-python/hpack: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/hpack/hpack-4.0.0-r1.ebuild | 30 ++++++++++++++++++++++++++++++
13 1 file changed, 30 insertions(+)
14
15 diff --git a/dev-python/hpack/hpack-4.0.0-r1.ebuild b/dev-python/hpack/hpack-4.0.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..1a0ef6040ee2
18 --- /dev/null
19 +++ b/dev-python/hpack/hpack-4.0.0-r1.ebuild
20 @@ -0,0 +1,30 @@
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="Pure-Python HPACK header compression"
32 +HOMEPAGE="
33 + https://python-hyper.org/projects/hpack/en/latest/
34 + https://github.com/python-hyper/hpack/
35 + https://pypi.org/project/hpack/"
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 +# dev-python/pytest-relaxed causes tests to fail
43 +BDEPEND="
44 + test? (
45 + >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
46 + !!dev-python/pytest-relaxed[${PYTHON_USEDEP}]
47 + )
48 +"
49 +
50 +distutils_enable_tests pytest