summaryrefslogtreecommitdiff
path: root/dev-python/hpack
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/hpack')
-rw-r--r--dev-python/hpack/Manifest1
-rw-r--r--dev-python/hpack/hpack-4.1.0.ebuild33
-rw-r--r--dev-python/hpack/metadata.xml22
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/hpack/Manifest b/dev-python/hpack/Manifest
new file mode 100644
index 000000000000..85bfda865403
--- /dev/null
+++ b/dev-python/hpack/Manifest
@@ -0,0 +1 @@
+DIST hpack-4.1.0.gh.tar.gz 5303243 BLAKE2B 3394c4142f5fdb32fb466e96ee96be7a41fc867a5731b73338262498538d6f7d47c2864c4b8391b599001e996fc1218dec1e4c1dbda325e90248a265161ec463 SHA512 10018fefae7e09078c0133a3519f18f72bd39f31d652f224d2ca2a780e2f18c51c7fc4589ae540e3130909a6b3878e0ac2ce8a5dadc98ce93bcf8af201989544
diff --git a/dev-python/hpack/hpack-4.1.0.ebuild b/dev-python/hpack/hpack-4.1.0.ebuild
new file mode 100644
index 000000000000..2b6d9459c63b
--- /dev/null
+++ b/dev-python/hpack/hpack-4.1.0.ebuild
@@ -0,0 +1,33 @@
+# 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_{13..14} )
+
+inherit distutils-r1
+
+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/
+"
+# PyPI sdist is missing test fixtures, as of 4.0.0
+SRC_URI="
+ https://github.com/python-hyper/hpack/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
+
+BDEPEND="
+ test? (
+ >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/hpack/metadata.xml b/dev-python/hpack/metadata.xml
new file mode 100644
index 000000000000..0af5fec7b88d
--- /dev/null
+++ b/dev-python/hpack/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>cory@lukasa.co.uk</email>
+ <name>Cory Benfield</name>
+ </maintainer>
+ <remote-id type="cpe">cpe:/a:python:hpack</remote-id>
+ </upstream>
+ <longdescription>This module contains a pure-Python HTTP/2 header encoding
+ (HPACK) logic for use in Python programs that implement HTTP/2. It
+ also contains a compatibility layer that automatically enables the use
+ of nghttp2 if it’s available.
+ </longdescription>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>