www/py-jh2 5.0.15_1 FreeBSD
HTTP/2 State-Machine based protocol implementation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- MIT
- Categories
- www, python
- Package size
- 379.0 KiB, 1921.4 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-jh2 | 5.0.15_1 |
| DragonFly | www/py-jh2 | 5.0.8 |
| HardenedBSD | www/py-jh2 | 5.0.15 |
| GhostBSD | www/py-jh2 | 5.0.14 |
Install
Binary package:
pkg install py312-jh2
From the ports tree:
cd /usr/ports/www/py-jh2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-jh2>0:www/py-jh2
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 5.0.15 | 5.0.15_1 | - | 5.0.9_2 | 5.0.15_1 |
| FreeBSD:14:quarterly | 5.0.15 | 5.0.15 | n/a | 5.0.9_1 | 5.0.15 |
| FreeBSD:15:latest | 5.0.15_1 | 5.0.15_1 | n/a | 5.0.9_2 | 5.0.9_2 |
| FreeBSD:15:quarterly | 5.0.15 | 5.0.15 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.0.15 | 5.0.15_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}maturin>=1.7<2.0: devel/py-maturin
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/py-build
- devel/py-installer
- devel/py-maturin
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/python315
- lang/rust
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
Run dependencies 7
Configuration
No options to configure.
- USES
- cargo python
- Service scripts
- none
Files
distinfo 21
| File | Size | SHA256 |
|---|---|---|
| jh2-5.0.15.tar.gz | 7.336589e+06 | 53fb377caca50441fd1892f60745c44d3ba8c43844c3792e73c34bf9f841adaf |
| rust/crates/cc-1.4.7.crate | 102157 | 54413ede23c2daf518f35156dfde027feb2374004d63bd497f983c8db9c0e313 |
| rust/crates/find-msvc-tools-0.1.13.crate | 31368 | ef25905e51abafe4dcea6c15fec58c57b601cdbd0ee53d22ea1d3016c587d39b |
| rust/crates/heck-0.5.0.crate | 11517 | 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea |
| rust/crates/httlib-hpack-0.1.3.crate | 6.141856e+06 | 40cf60e5e8567c6ff914a590f1452821de9377a560338a562e570a6ff052aae3 |
| rust/crates/httlib-huffman-0.3.4.crate | 32157 | 1a9fcbcc408c5526c3ab80d534e5c86e7967c1fb7aa0a8c76abd1edc27deb877 |
| rust/crates/libc-0.2.189.crate | 851502 | 3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2 |
| rust/crates/once_cell-1.21.4.crate | 35010 | 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 |
| rust/crates/portable-atomic-1.15.0.crate | 202705 | 05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85 |
| rust/crates/proc-macro2-1.0.107.crate | 59588 | 985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9 |
| rust/crates/pyo3-0.28.3.crate | 1.204476e+06 | 91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12 |
| rust/crates/pyo3-build-config-0.28.3.crate | 35961 | e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e |
| rust/crates/pyo3-ffi-0.28.3.crate | 80881 | 7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e |
| rust/crates/pyo3-macros-0.28.3.crate | 8963 | df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813 |
| rust/crates/pyo3-macros-backend-0.28.3.crate | 88063 | c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb |
| rust/crates/python3-dll-a-0.2.15.crate | 104255 | d80ba7540edb18890d444c5aa8e1f1f99b1bdf26fb26ae383135325f4a36042b |
| rust/crates/quote-1.0.47.crate | 31622 | 1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001 |
| rust/crates/shlex-2.0.1.crate | 19332 | f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba |
| rust/crates/syn-2.0.119.crate | 307407 | 872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297 |
| rust/crates/target-lexicon-0.13.5.crate | 26928 | adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca |
Master sites 2
- PYPI
- https://github.com/jawah/h2/releases/download/v5.0.15/
Commit history 6
The latest 5 of 6 in the history this site was built from.