commit: 66ec0aa47ac2014634d79f1f518401920a7a7f19
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 15:41:24 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 12 16:17:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ec0aa4
dev-python/hpack: EAPI 8, PEP517
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../{hpack-4.0.0-r1.ebuild => hpack-3.0.0-r1.ebuild} | 18 ++++++++++++++++--
dev-python/hpack/hpack-4.0.0-r1.ebuild | 3 ++-
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/dev-python/hpack/hpack-4.0.0-r1.ebuild
b/dev-python/hpack/hpack-3.0.0-r1.ebuild
similarity index 64%
copy from dev-python/hpack/hpack-4.0.0-r1.ebuild
copy to dev-python/hpack/hpack-3.0.0-r1.ebuild
index e13be709b52f..22154a1a396e 100644
--- a/dev-python/hpack/hpack-4.0.0-r1.ebuild
+++ b/dev-python/hpack/hpack-3.0.0-r1.ebuild
@@ -12,12 +12,13 @@ DESCRIPTION="Pure-Python HPACK header compression"
HOMEPAGE="
https://python-hyper.org/projects/hpack/en/latest/
https://github.com/python-hyper/hpack/
- https://pypi.org/project/hpack/"
+ https://pypi.org/project/hpack/
+"
SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
# dev-python/pytest-relaxed causes tests to fail
BDEPEND="
@@ -28,3 +29,16 @@ BDEPEND="
"
distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/hpack-3.0.0-hypothesis-healthcheck.patch
+)
+
+EPYTEST_DESELECT=(
+ # relies on outdated exception strings
+ test/test_table.py::TestHeaderTable::test_get_by_index_out_of_range
+)
+
+EPYTEST_IGNORE=(
+ bench
+)
diff --git a/dev-python/hpack/hpack-4.0.0-r1.ebuild
b/dev-python/hpack/hpack-4.0.0-r1.ebuild
index e13be709b52f..3e28dbdeb984 100644
--- a/dev-python/hpack/hpack-4.0.0-r1.ebuild
+++ b/dev-python/hpack/hpack-4.0.0-r1.ebuild
@@ -12,7 +12,8 @@ DESCRIPTION="Pure-Python HPACK header compression"
HOMEPAGE="
https://python-hyper.org/projects/hpack/en/latest/
https://github.com/python-hyper/hpack/
- https://pypi.org/project/hpack/"
+ https://pypi.org/project/hpack/
+"
SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
LICENSE="MIT"