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.10_1 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.9_3Version 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: 2025-11-11 11:08:12
Commit Hash: d6b6027
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 = 1759774751 SHA256 (jh2-5.0.10.tar.gz) = 2c737a47bee50dc727f7a766185e110befdceba5efb1c4fa240b1e4399291487 SIZE (jh2-5.0.10.tar.gz) = 7301475

Expand this list (48 items)

Collapse this list.

SHA256 (rust/crates/autocfg-1.5.0.crate) = c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 SIZE (rust/crates/autocfg-1.5.0.crate) = 18729 SHA256 (rust/crates/cc-1.2.40.crate) = e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb SIZE (rust/crates/cc-1.2.40.crate) = 91094 SHA256 (rust/crates/find-msvc-tools-0.1.3.crate) = 0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3 SIZE (rust/crates/find-msvc-tools-0.1.3.crate) = 30486 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.6.crate) = f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd SIZE (rust/crates/indoc-2.0.6.crate) = 17164 SHA256 (rust/crates/libc-0.2.176.crate) = 58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174 SIZE (rust/crates/libc-0.2.176.crate) = 790040 SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a SIZE (rust/crates/memoffset-0.9.1.crate) = 9032 SHA256 (rust/crates/once_cell-1.21.3.crate) = 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d SIZE (rust/crates/once_cell-1.21.3.crate) = 34534 SHA256 (rust/crates/portable-atomic-1.11.1.crate) = f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483 SIZE (rust/crates/portable-atomic-1.11.1.crate) = 185506 SHA256 (rust/crates/proc-macro2-1.0.101.crate) = 89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de SIZE (rust/crates/proc-macro2-1.0.101.crate) = 53886 SHA256 (rust/crates/pyo3-0.26.0.crate) = 7ba0117f4212101ee6544044dae45abe1083d30ce7b29c4b5cbdfa2354e07383 SIZE (rust/crates/pyo3-0.26.0.crate) = 1151579 SHA256 (rust/crates/pyo3-build-config-0.26.0.crate) = 4fc6ddaf24947d12a9aa31ac65431fb1b851b8f4365426e182901eabfb87df5f SIZE (rust/crates/pyo3-build-config-0.26.0.crate) = 34309 SHA256 (rust/crates/pyo3-ffi-0.26.0.crate) = 025474d3928738efb38ac36d4744a74a400c901c7596199e20e45d98eb194105 SIZE (rust/crates/pyo3-ffi-0.26.0.crate) = 78247 SHA256 (rust/crates/pyo3-macros-0.26.0.crate) = 2e64eb489f22fe1c95911b77c44cc41e7c19f3082fc81cce90f657cdc42ffded SIZE (rust/crates/pyo3-macros-0.26.0.crate) = 8906 SHA256 (rust/crates/pyo3-macros-backend-0.26.0.crate) = 100246c0ecf400b475341b8455a9213344569af29a3c841d29270e53102e0fcf SIZE (rust/crates/pyo3-macros-backend-0.26.0.crate) = 81809 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.41.crate) = ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1 SIZE (rust/crates/quote-1.0.41.crate) = 31408 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (rust/crates/syn-2.0.106.crate) = ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6 SIZE (rust/crates/syn-2.0.106.crate) = 301514 SHA256 (rust/crates/target-lexicon-0.13.3.crate) = df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c SIZE (rust/crates/target-lexicon-0.13.3.crate) = 28498 SHA256 (rust/crates/unicode-ident-1.0.19.crate) = f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d SIZE (rust/crates/unicode-ident-1.0.19.crate) = 47480 SHA256 (rust/crates/unindent-0.2.4.crate) = 7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3 SIZE (rust/crates/unindent-0.2.4.crate) = 7422

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py311-jh2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.0.9_45.0.10_1-5.0.9_35.0.10_1n/an/an/a
FreeBSD:13:quarterly5.0.9_35.0.9_3-5.0.9_15.0.9_3n/an/an/a
FreeBSD:14:latest5.0.105.0.10_1-5.0.9_25.0.10_1---
FreeBSD:14:quarterly5.0.9_35.0.9_3-5.0.9_15.0.9_3---
FreeBSD:15:latest5.0.105.0.10_1n/a5.0.9_2n/an/a--
FreeBSD:15:quarterly5.0.9_35.0.9_3n/a-n/an/a--
FreeBSD:16:latest5.0.9_45.0.10_1n/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.91.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.10/
  3. https://pypi.org/packages/source/j/jh2/
Collapse this list.

Number of commits found: 15

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 15