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: Thu, 12 May 2022 16:17:15
Message-Id: 1652372224.66ec0aa47ac2014634d79f1f518401920a7a7f19.mgorny@gentoo
1 commit: 66ec0aa47ac2014634d79f1f518401920a7a7f19
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 12 15:41:24 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 12 16:17:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ec0aa4
7
8 dev-python/hpack: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../{hpack-4.0.0-r1.ebuild => hpack-3.0.0-r1.ebuild} | 18 ++++++++++++++++--
13 dev-python/hpack/hpack-4.0.0-r1.ebuild | 3 ++-
14 2 files changed, 18 insertions(+), 3 deletions(-)
15
16 diff --git a/dev-python/hpack/hpack-4.0.0-r1.ebuild b/dev-python/hpack/hpack-3.0.0-r1.ebuild
17 similarity index 64%
18 copy from dev-python/hpack/hpack-4.0.0-r1.ebuild
19 copy to dev-python/hpack/hpack-3.0.0-r1.ebuild
20 index e13be709b52f..22154a1a396e 100644
21 --- a/dev-python/hpack/hpack-4.0.0-r1.ebuild
22 +++ b/dev-python/hpack/hpack-3.0.0-r1.ebuild
23 @@ -12,12 +12,13 @@ DESCRIPTION="Pure-Python HPACK header compression"
24 HOMEPAGE="
25 https://python-hyper.org/projects/hpack/en/latest/
26 https://github.com/python-hyper/hpack/
27 - https://pypi.org/project/hpack/"
28 + https://pypi.org/project/hpack/
29 +"
30 SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
31
32 LICENSE="MIT"
33 SLOT="0"
34 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
35 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
36
37 # dev-python/pytest-relaxed causes tests to fail
38 BDEPEND="
39 @@ -28,3 +29,16 @@ BDEPEND="
40 "
41
42 distutils_enable_tests pytest
43 +
44 +PATCHES=(
45 + "${FILESDIR}"/hpack-3.0.0-hypothesis-healthcheck.patch
46 +)
47 +
48 +EPYTEST_DESELECT=(
49 + # relies on outdated exception strings
50 + test/test_table.py::TestHeaderTable::test_get_by_index_out_of_range
51 +)
52 +
53 +EPYTEST_IGNORE=(
54 + bench
55 +)
56
57 diff --git a/dev-python/hpack/hpack-4.0.0-r1.ebuild b/dev-python/hpack/hpack-4.0.0-r1.ebuild
58 index e13be709b52f..3e28dbdeb984 100644
59 --- a/dev-python/hpack/hpack-4.0.0-r1.ebuild
60 +++ b/dev-python/hpack/hpack-4.0.0-r1.ebuild
61 @@ -12,7 +12,8 @@ DESCRIPTION="Pure-Python HPACK header compression"
62 HOMEPAGE="
63 https://python-hyper.org/projects/hpack/en/latest/
64 https://github.com/python-hyper/hpack/
65 - https://pypi.org/project/hpack/"
66 + https://pypi.org/project/hpack/
67 +"
68 SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
69
70 LICENSE="MIT"