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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
py-jh2 HTTP/2 State-Machine based protocol implementation
5.0.9_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.8Version 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-06-05 07:52:53
Commit Hash: 3ed29b8
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 = 1745936238 SHA256 (jh2-5.0.9.tar.gz) = bec06ebc7d37beba62503c955d90580cfa1e5fff2b44f05cebecf2378b7f54b1 SIZE (jh2-5.0.9.tar.gz) = 7301710

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.19.crate) = 8e3a13707ac958681c13b39b458c073d0d9bc8a22cb1b2f4c8e55eb72c13f362 SIZE (rust/crates/cc-1.2.19.crate) = 105910 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.6.crate) = f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd SIZE (rust/crates/indoc-2.0.6.crate) = 17164 SHA256 (rust/crates/libc-0.2.172.crate) = d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa SIZE (rust/crates/libc-0.2.172.crate) = 791646 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.0.crate) = 350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e SIZE (rust/crates/portable-atomic-1.11.0.crate) = 181258 SHA256 (rust/crates/proc-macro2-1.0.95.crate) = 02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778 SIZE (rust/crates/proc-macro2-1.0.95.crate) = 51820 SHA256 (rust/crates/pyo3-0.24.1.crate) = 17da310086b068fbdcefbba30aeb3721d5bb9af8db4987d6735b2183ca567229 SIZE (rust/crates/pyo3-0.24.1.crate) = 1113050 SHA256 (rust/crates/pyo3-build-config-0.24.1.crate) = e27165889bd793000a098bb966adc4300c312497ea25cf7a690a9f0ac5aa5fc1 SIZE (rust/crates/pyo3-build-config-0.24.1.crate) = 34020 SHA256 (rust/crates/pyo3-ffi-0.24.1.crate) = 05280526e1dbf6b420062f3ef228b78c0c54ba94e157f5cb724a609d0f2faabc SIZE (rust/crates/pyo3-ffi-0.24.1.crate) = 76435 SHA256 (rust/crates/pyo3-macros-0.24.1.crate) = 5c3ce5686aa4d3f63359a5100c62a127c9f15e8398e5fdeb5deef1fed5cd5f44 SIZE (rust/crates/pyo3-macros-0.24.1.crate) = 8866 SHA256 (rust/crates/pyo3-macros-backend-0.24.1.crate) = f4cf6faa0cbfb0ed08e89beb8103ae9724eb4750e3a78084ba4017cbe94f3855 SIZE (rust/crates/pyo3-macros-backend-0.24.1.crate) = 72588 SHA256 (rust/crates/python3-dll-a-0.2.13.crate) = 49fe4227a288cf9493942ad0220ea3f185f4d1f2a14f197f7344d6d02f4ed4ed SIZE (rust/crates/python3-dll-a-0.2.13.crate) = 85018 SHA256 (rust/crates/quote-1.0.40.crate) = 1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d SIZE (rust/crates/quote-1.0.40.crate) = 31063 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (rust/crates/syn-2.0.100.crate) = b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0 SIZE (rust/crates/syn-2.0.100.crate) = 297947 SHA256 (rust/crates/target-lexicon-0.13.2.crate) = e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a SIZE (rust/crates/target-lexicon-0.13.2.crate) = 27923 SHA256 (rust/crates/unicode-ident-1.0.18.crate) = 5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512 SIZE (rust/crates/unicode-ident-1.0.18.crate) = 47743 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.8_15.0.9_1-5.0.8_15.0.9_1---
FreeBSD:13:quarterly5.0.85.0.8-5.0.85.0.8---
FreeBSD:14:latest5.0.8_15.0.9_1-5.0.8_15.0.9_1---
FreeBSD:14:quarterly5.0.85.0.8-5.0.85.0.8---
FreeBSD:15:latest5.0.8_15.0.9n/a5.0.8_1n/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.87.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.9/
  3. https://pypi.org/packages/source/j/jh2/
Collapse this list.

Number of commits found: 10

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