commit:     d753d7812e139f6c6b4bd1a013149f26e0d8376d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 14:05:47 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 18:24:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d753d781

dev-python/h2: Bump to 4.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/h2/Manifest        |  1 +
 dev-python/h2/h2-4.2.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-python/h2/Manifest b/dev-python/h2/Manifest
index 0dec06e1374a..905e97e5cb3f 100644
--- a/dev-python/h2/Manifest
+++ b/dev-python/h2/Manifest
@@ -1 +1,2 @@
 DIST h2-4.1.0.tar.gz 2145593 BLAKE2B 
d4494ee58b97c3fb28f3480df3ecee9d8a0b6eec7165c692a6d33664eaf4e7a78a3e97f6644ba75a6bc1b67dfc3b6d0e431b90c6fe70ce4d4f3e22259419ace7
 SHA512 
89553cf1343de14b681706ac254b7e714574c777c6c81c934a00edc4f8fdde26f78fb90b4aebd9feec7893f4d1b68cf30dc9a404dd048cedbbfab3145720edc5
+DIST h2-4.2.0.tar.gz 2150682 BLAKE2B 
aee7821baf722dd9765c5a8ec22b33fa50b50183660212a4fe981d8e02b7afdad6b21166d3ad8656d336f9553c33c0ee8b4fd9a8d9cf370ff95d82f5333ea63d
 SHA512 
a88a06ad7511cbc3870e8477aa3a4f1ab79c9db0ab1e71578c6e5be1bbc22d2d0a7b6878a8c18bd8b2cb22f1df9e46fe3e3c7223f44fa01f8d25f5f5bad28983

diff --git a/dev-python/h2/h2-4.2.0.ebuild b/dev-python/h2/h2-4.2.0.ebuild
new file mode 100644
index 000000000000..af1b01c1e6ed
--- /dev/null
+++ b/dev-python/h2/h2-4.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="HTTP/2 State-Machine based protocol implementation"
+HOMEPAGE="
+       https://python-hyper.org/projects/h2/en/stable/
+       https://github.com/python-hyper/h2/
+       https://pypi.org/project/h2/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/hyperframe-6.1[${PYTHON_USEDEP}]
+       <dev-python/hyperframe-7[${PYTHON_USEDEP}]
+       >=dev-python/hpack-4.1[${PYTHON_USEDEP}]
+       <dev-python/hpack-5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/hypothesis[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       epytest -p hypothesis
+}

Reply via email to