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 photos
All times are UTC
Ukraine
Port details
py-jh2 HTTP/2 State-Machine based protocol implementation
5.0.11 www 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 5.0.10_4Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-12-31 16:03:17
Last Update: 2026-04-18 21:53:12
Commit Hash: 0d722b4
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found 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 = 1775587694 SHA256 (jh2-5.0.11.tar.gz) = 6c835b0b38d795dde7aaa4581626490ca5fcfbd4eefe9572ac18d9eb2427d215 SIZE (jh2-5.0.11.tar.gz) = 7320877

Expand this list (40 items)

Collapse this list.

SHA256 (rust/crates/cc-1.2.59.crate) = b7a4d3ec6524d28a329fc53654bbadc9bdd7b0431f5d65f1a56ffb28a1ee5283 SIZE (rust/crates/cc-1.2.59.crate) = 96779 SHA256 (rust/crates/find-msvc-tools-0.1.9.crate) = 5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582 SIZE (rust/crates/find-msvc-tools-0.1.9.crate) = 31493 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/libc-0.2.184.crate) = 48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af SIZE (rust/crates/libc-0.2.184.crate) = 820172 SHA256 (rust/crates/once_cell-1.21.4.crate) = 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 SIZE (rust/crates/once_cell-1.21.4.crate) = 35010 SHA256 (rust/crates/portable-atomic-1.13.1.crate) = c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49 SIZE (rust/crates/portable-atomic-1.13.1.crate) = 197001 SHA256 (rust/crates/proc-macro2-1.0.106.crate) = 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 SIZE (rust/crates/proc-macro2-1.0.106.crate) = 59765 SHA256 (rust/crates/pyo3-0.28.3.crate) = 91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12 SIZE (rust/crates/pyo3-0.28.3.crate) = 1204476 SHA256 (rust/crates/pyo3-build-config-0.28.3.crate) = e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e SIZE (rust/crates/pyo3-build-config-0.28.3.crate) = 35961 SHA256 (rust/crates/pyo3-ffi-0.28.3.crate) = 7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e SIZE (rust/crates/pyo3-ffi-0.28.3.crate) = 80881 SHA256 (rust/crates/pyo3-macros-0.28.3.crate) = df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813 SIZE (rust/crates/pyo3-macros-0.28.3.crate) = 8963 SHA256 (rust/crates/pyo3-macros-backend-0.28.3.crate) = c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb SIZE (rust/crates/pyo3-macros-backend-0.28.3.crate) = 88063 SHA256 (rust/crates/python3-dll-a-0.2.14.crate) = d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8 SIZE (rust/crates/python3-dll-a-0.2.14.crate) = 103489 SHA256 (rust/crates/quote-1.0.45.crate) = 41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924 SIZE (rust/crates/quote-1.0.45.crate) = 31564 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (rust/crates/syn-2.0.117.crate) = e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99 SIZE (rust/crates/syn-2.0.117.crate) = 306011 SHA256 (rust/crates/target-lexicon-0.13.5.crate) = adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca SIZE (rust/crates/target-lexicon-0.13.5.crate) = 26928 SHA256 (rust/crates/unicode-ident-1.0.24.crate) = e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 SIZE (rust/crates/unicode-ident-1.0.24.crate) = 49298

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py311-jh2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.0.10_45.0.10_4-5.0.9_35.0.11n/an/an/a
FreeBSD:13:quarterly5.0.10_45.0.10_4-5.0.9_15.0.10_4n/an/an/a
FreeBSD:14:latest5.0.10_45.0.11-5.0.9_25.0.11---
FreeBSD:14:quarterly5.0.10_45.0.10_4-5.0.9_15.0.10_4---
FreeBSD:15:latest5.0.10_45.0.11n/a5.0.9_2n/an/a--
FreeBSD:15:quarterly5.0.10_45.0.10_4n/a-n/an/a--
FreeBSD:16:latest5.0.115.0.11n/a-n/an/a--
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.94.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 (3 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/j/jh2/
  2. https://github.com/jawah/h2/releases/download/v5.0.11/
  3. https://pypi.org/packages/source/j/jh2/
Collapse this list.

Number of commits found: 19

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0.11
18 Apr 2026 21:53:12
commit hash: 0d722b4f786ab874bedb3115367b050ea6556e09commit hash: 0d722b4f786ab874bedb3115367b050ea6556e09commit hash: 0d722b4f786ab874bedb3115367b050ea6556e09commit hash: 0d722b4f786ab874bedb3115367b050ea6556e09 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-jh2: Update to 5.0.11

Changes:	https://github.com/jawah/h2/releases
5.0.10_4
23 Mar 2026 07:33:11
commit hash: 43f5b4a72fea3f97a2fc7d5d37f671b82377feb2commit hash: 43f5b4a72fea3f97a2fc7d5d37f671b82377feb2commit hash: 43f5b4a72fea3f97a2fc7d5d37f671b82377feb2commit hash: 43f5b4a72fea3f97a2fc7d5d37f671b82377feb2 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.94.0

PR:		293615
5.0.10_3
28 Jan 2026 08:48:51
commit hash: 3d631100e8aa692b0bdc32c1ac4d11d4caf1a0a9commit hash: 3d631100e8aa692b0bdc32c1ac4d11d4caf1a0a9commit hash: 3d631100e8aa692b0bdc32c1ac4d11d4caf1a0a9commit hash: 3d631100e8aa692b0bdc32c1ac4d11d4caf1a0a9 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.93.0

PR:		292360
5.0.10_2
16 Dec 2025 12:12:31
commit hash: 5e496c77078638a3777140084ddcb183d51966f6commit hash: 5e496c77078638a3777140084ddcb183d51966f6commit hash: 5e496c77078638a3777140084ddcb183d51966f6commit hash: 5e496c77078638a3777140084ddcb183d51966f6 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.92.0

PR:		291582
5.0.10_1
11 Nov 2025 11:08:12
commit hash: d6b6027df632188ab408921f04e155b729b9e76ecommit hash: d6b6027df632188ab408921f04e155b729b9e76ecommit hash: d6b6027df632188ab408921f04e155b729b9e76ecommit hash: d6b6027df632188ab408921f04e155b729b9e76e files touched by this commit Sanity Test Failure
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.91.1

PR:		290816
5.0.10
18 Oct 2025 23:55:26
commit hash: cb7eb07063f7ac3eabc04d8a713ac731a63845e9commit hash: cb7eb07063f7ac3eabc04d8a713ac731a63845e9commit hash: cb7eb07063f7ac3eabc04d8a713ac731a63845e9commit hash: cb7eb07063f7ac3eabc04d8a713ac731a63845e9 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-jh2: Update to 5.0.10

Changes:	https://github.com/jawah/h2/releases
5.0.9_4
03 Oct 2025 08:16:50
commit hash: 97b5de4ffc2a512051f354fbcb2a184f3e002b2fcommit hash: 97b5de4ffc2a512051f354fbcb2a184f3e002b2fcommit hash: 97b5de4ffc2a512051f354fbcb2a184f3e002b2fcommit hash: 97b5de4ffc2a512051f354fbcb2a184f3e002b2f files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.90.0

PR:		289709
5.0.9_3
01 Sep 2025 08:25:04
commit hash: b21956d7db4b5a41c0e0c57c5cdca79ee89be9c6commit hash: b21956d7db4b5a41c0e0c57c5cdca79ee89be9c6commit hash: b21956d7db4b5a41c0e0c57c5cdca79ee89be9c6commit hash: b21956d7db4b5a41c0e0c57c5cdca79ee89be9c6 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.89.0

PR:		288923
5.0.9_2
03 Jul 2025 08:46:01
commit hash: f3f7e555b06d9a87d63c047ce3e82e936a11f2fecommit hash: f3f7e555b06d9a87d63c047ce3e82e936a11f2fecommit hash: f3f7e555b06d9a87d63c047ce3e82e936a11f2fecommit hash: f3f7e555b06d9a87d63c047ce3e82e936a11f2fe files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.88.0

PR:		287766
5.0.9_1
05 Jun 2025 07:52:53
commit hash: 3ed29b818520b4c5691c1c49d13fd6b89c3142efcommit hash: 3ed29b818520b4c5691c1c49d13fd6b89c3142efcommit hash: 3ed29b818520b4c5691c1c49d13fd6b89c3142efcommit hash: 3ed29b818520b4c5691c1c49d13fd6b89c3142ef files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.87.0

PR:		286829
5.0.9
18 May 2025 03:34:52
commit hash: f4a00ced6d364669f34991d701a59ace4ca9f8d7commit hash: f4a00ced6d364669f34991d701a59ace4ca9f8d7commit hash: f4a00ced6d364669f34991d701a59ace4ca9f8d7commit hash: f4a00ced6d364669f34991d701a59ace4ca9f8d7 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-jh2: Update to 5.0.9

Changes:	https://github.com/jawah/h2/releases
5.0.8_1
08 Apr 2025 08:41:13
commit hash: 2a5976aebeefd09d36fd4ac2e7e2eefde5491c0dcommit hash: 2a5976aebeefd09d36fd4ac2e7e2eefde5491c0dcommit hash: 2a5976aebeefd09d36fd4ac2e7e2eefde5491c0dcommit hash: 2a5976aebeefd09d36fd4ac2e7e2eefde5491c0d files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.86.0

PR:		285840
5.0.8
19 Mar 2025 03:40:51
commit hash: c727b8d2ff5a5fda2f2af0613ac94e19f0059115commit hash: c727b8d2ff5a5fda2f2af0613ac94e19f0059115commit hash: c727b8d2ff5a5fda2f2af0613ac94e19f0059115commit hash: c727b8d2ff5a5fda2f2af0613ac94e19f0059115 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-jh2: Update to 5.0.8

Changes:	https://github.com/jawah/h2/releases
5.0.7_1
11 Mar 2025 15:53:59
commit hash: 8447b93f3694aa645f2523d987e172f43d366ac2commit hash: 8447b93f3694aa645f2523d987e172f43d366ac2commit hash: 8447b93f3694aa645f2523d987e172f43d366ac2commit hash: 8447b93f3694aa645f2523d987e172f43d366ac2 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-jh2: Fix build after 75f9a60e9790

* The 1.8.2 release of devel/py-maturin uses a updated version of the
  "pyproject-toml" crate which is stricter with regard to license
  metadata:

[...]
maturin failed
  Caused by: pyproject.toml at
/wrkdirs/usr/ports/www/py-jh2/work-py311/jh2-5.0.7/pyproject.toml is invalid
  Caused by: TOML parse error at line 9, column 17
  |
9 | license-files = { paths = ["LICENSE"] }
  |                 ^^^^^^^^^^^^^^^^^^^^^^^
[...]

Approved by:	portmgr (build fix blanket)
5.0.7_1
24 Feb 2025 07:55:52
commit hash: cf7c4b037d7e9cadfa539f3b9cd45396c1a00dfbcommit hash: cf7c4b037d7e9cadfa539f3b9cd45396c1a00dfbcommit hash: cf7c4b037d7e9cadfa539f3b9cd45396c1a00dfbcommit hash: cf7c4b037d7e9cadfa539f3b9cd45396c1a00dfb files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.85.0

PR:		284884
5.0.7
03 Feb 2025 15:51:35
commit hash: ae501dcdaaac3ea4ad6e35b52bb166f022da6eafcommit hash: ae501dcdaaac3ea4ad6e35b52bb166f022da6eafcommit hash: ae501dcdaaac3ea4ad6e35b52bb166f022da6eafcommit hash: ae501dcdaaac3ea4ad6e35b52bb166f022da6eaf files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-jh2: Update to 5.0.7

- Add GitHub to MASTER_SITES

Changes:	https://github.com/jawah/h2/releases
5.0.5_1
20 Jan 2025 11:06:50
commit hash: fccaa1b326310b7f33556fe133b509260a90fe7fcommit hash: fccaa1b326310b7f33556fe133b509260a90fe7fcommit hash: fccaa1b326310b7f33556fe133b509260a90fe7fcommit hash: fccaa1b326310b7f33556fe133b509260a90fe7f files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.84.0

PR:		283962
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: 19