notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-jh2 HTTP/2 State-Machine based protocol implementation
5.0.5 wwwnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This is expected early in the quarter (because the new packaage repo has not been built yet.). Otherwise, this missing version is most likely a FreshPorts error.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-12-31 16:03:17
Last Update: 2025-01-02 19:46:39
Commit Hash: dead4c5
Also Listed In: python
License: MIT
WWW:
https://python-hyper.org/projects/h2/en/stable/
https://github.com/jawah/h2
Description:
jh2, HTTP/2 Protocol Stack, is a fork of the well known hyper/h2 package. We want to provide a cleaner and faster HTTP/2 state machine while keeping a pure Python implementation. We decided to embed the leaf dependencies as we want a neater dependency tree and along with that a easier maintenance burden. We believe it was a mistake to ship three packages (h2, hpack, and hyperframe). Analysis shown that h2 spend a lot of time doing hpack encode and decode operations, this is why we decided to offer a complementary optimized build. The pure Python version will still be available. This repository contains a pure-Python implementation of a HTTP/2 protocol stack. It's written from the ground up to be embeddable in whatever program you choose to use, ensuring that you can speak HTTP/2 regardless of your programming paradigm.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}jh2>0:www/py-jh2@${PY_FLAVOR}
To install the port:
cd /usr/ports/www/py-jh2/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-jh2
  • pkg install py311-jh2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-jh2 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-jh2
Package flavors (<flavor>: <package>)
  • py311: py311-jh2
distinfo:
TIMESTAMP = 1735837795 SHA256 (jh2-5.0.5.tar.gz) = 611608717a52b49eae44867ce9d8d8d986a3fa2dedc2356c0fb923e5871f4869 SIZE (jh2-5.0.5.tar.gz) = 7300256

Expand this list (48 items)

Collapse this list.

SHA256 (rust/crates/autocfg-1.4.0.crate) = ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26 SIZE (rust/crates/autocfg-1.4.0.crate) = 17712 SHA256 (rust/crates/cc-1.2.6.crate) = 8d6dbb628b8f8555f86d0323c2eb39e3ec81901f4b83e091db8a6a76d316a333 SIZE (rust/crates/cc-1.2.6.crate) = 99923 SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea SIZE (rust/crates/heck-0.5.0.crate) = 11517 SHA256 (rust/crates/httlib-hpack-0.1.3.crate) = 40cf60e5e8567c6ff914a590f1452821de9377a560338a562e570a6ff052aae3 SIZE (rust/crates/httlib-hpack-0.1.3.crate) = 6141856 SHA256 (rust/crates/httlib-huffman-0.3.4.crate) = 1a9fcbcc408c5526c3ab80d534e5c86e7967c1fb7aa0a8c76abd1edc27deb877 SIZE (rust/crates/httlib-huffman-0.3.4.crate) = 32157 SHA256 (rust/crates/indoc-2.0.5.crate) = b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5 SIZE (rust/crates/indoc-2.0.5.crate) = 14396 SHA256 (rust/crates/libc-0.2.169.crate) = b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a SIZE (rust/crates/libc-0.2.169.crate) = 757901 SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a SIZE (rust/crates/memoffset-0.9.1.crate) = 9032 SHA256 (rust/crates/once_cell-1.20.2.crate) = 1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775 SIZE (rust/crates/once_cell-1.20.2.crate) = 33394 SHA256 (rust/crates/portable-atomic-1.10.0.crate) = 280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6 SIZE (rust/crates/portable-atomic-1.10.0.crate) = 174760 SHA256 (rust/crates/proc-macro2-1.0.92.crate) = 37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0 SIZE (rust/crates/proc-macro2-1.0.92.crate) = 52353 SHA256 (rust/crates/pyo3-0.23.3.crate) = e484fd2c8b4cb67ab05a318f1fd6fa8f199fcc30819f08f07d200809dba26c15 SIZE (rust/crates/pyo3-0.23.3.crate) = 1073838 SHA256 (rust/crates/pyo3-build-config-0.23.3.crate) = dc0e0469a84f208e20044b98965e1561028180219e35352a2afaf2b942beff3b SIZE (rust/crates/pyo3-build-config-0.23.3.crate) = 32509 SHA256 (rust/crates/pyo3-ffi-0.23.3.crate) = eb1547a7f9966f6f1a0f0227564a9945fe36b90da5a93b3933fc3dc03fae372d SIZE (rust/crates/pyo3-ffi-0.23.3.crate) = 74064 SHA256 (rust/crates/pyo3-macros-0.23.3.crate) = fdb6da8ec6fa5cedd1626c886fc8749bdcbb09424a86461eb8cdf096b7c33257 SIZE (rust/crates/pyo3-macros-0.23.3.crate) = 8085 SHA256 (rust/crates/pyo3-macros-backend-0.23.3.crate) = 38a385202ff5a92791168b1136afae5059d3ac118457bb7bc304c197c2d33e7d SIZE (rust/crates/pyo3-macros-backend-0.23.3.crate) = 70098 SHA256 (rust/crates/python3-dll-a-0.2.12.crate) = 9b66f9171950e674e64bad3456e11bb3cca108e5c34844383cfe277f45c8a7a8 SIZE (rust/crates/python3-dll-a-0.2.12.crate) = 83731 SHA256 (rust/crates/quote-1.0.38.crate) = 0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc SIZE (rust/crates/quote-1.0.38.crate) = 31252 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (rust/crates/syn-2.0.92.crate) = 70ae51629bf965c5c098cc9e87908a3df5301051a9e087d6f9bef5c9771ed126 SIZE (rust/crates/syn-2.0.92.crate) = 291405 SHA256 (rust/crates/target-lexicon-0.12.16.crate) = 61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1 SIZE (rust/crates/target-lexicon-0.12.16.crate) = 26488 SHA256 (rust/crates/unicode-ident-1.0.14.crate) = adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83 SIZE (rust/crates/unicode-ident-1.0.14.crate) = 47547 SHA256 (rust/crates/unindent-0.2.3.crate) = c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce SIZE (rust/crates/unindent-0.2.3.crate) = 7306

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-maturin>=1.7<2.0 : devel/py-maturin@py311
  2. rust>=1.83.0 : lang/rust
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Run
  1. net/py-urllib3-future

Configuration Options:
No options to configure
Options name:
www_py-jh2
USES:
cargo python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/j/jh2/
  2. https://pypi.org/packages/source/j/jh2/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0.5
02 Jan 2025 19:46:39
commit hash: dead4c59de17aa9ecd1852035866ceb3be4e0359commit hash: dead4c59de17aa9ecd1852035866ceb3be4e0359commit hash: dead4c59de17aa9ecd1852035866ceb3be4e0359commit hash: dead4c59de17aa9ecd1852035866ceb3be4e0359 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-jh2: Update to 5.0.5

Changes:	https://github.com/jawah/h2/releases
5.0.4
31 Dec 2024 15:38:21
commit hash: 42e11176fea137c595eacf70ee3d8bdd695c0af8commit hash: 42e11176fea137c595eacf70ee3d8bdd695c0af8commit hash: 42e11176fea137c595eacf70ee3d8bdd695c0af8commit hash: 42e11176fea137c595eacf70ee3d8bdd695c0af8 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-jh2: Add py-jh2 5.0.4

jh2, HTTP/2 Protocol Stack, is a fork of the well known hyper/h2 package. We
want to provide a cleaner and faster HTTP/2 state machine while keeping a pure
Python implementation. We decided to embed the leaf dependencies as we want a
neater dependency tree and along with that a easier maintenance burden. We
believe it was a mistake to ship three packages (h2, hpack, and hyperframe).

Analysis shown that h2 spend a lot of time doing hpack encode and decode
operations, this is why we decided to offer a complementary optimized build. The
pure Python version will still be available.

This repository contains a pure-Python implementation of a HTTP/2 protocol
stack. It's written from the ground up to be embeddable in whatever program you
choose to use, ensuring that you can speak HTTP/2 regardless of your programming
paradigm.

Number of commits found: 2