www/py-hypercorn 0.18.0_1 MidnightBSD
ASGI Server based on Hyper libraries and inspired by Gunicorn
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
8af06753b2- License
- mit
- Categories
- www, python
Description
Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and wsproto libraries and inspired by Gunicorn. Hypercorn supports HTTP/1, HTTP/2, WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. Hypercorn can utilise asyncio, uvloop, or trio worker types.
Hypercorn can optionally serve the current draft of the HTTP/3 specification using the aioquic library.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | www/py-hypercorn | 0.18.0_1 |
| FreeBSD | www/py-hypercorn | 0.18.0_1 |
| NetBSD | www/py-hypercorn | 0.18.0 |
| DragonFly | www/py-hypercorn | 0.17.3 |
| HardenedBSD | www/py-hypercorn | 0.18.0_1 |
| GhostBSD | www/py-hypercorn | 0.18.0_1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}hypercorn
From mports:
cd /usr/mports/www/py-hypercorn && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypercorn>0:www/py-hypercorn
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}pdm-backend>=0: devel/py-pdm-backend
Runtime 5
${PYTHON_PKGNAMEPREFIX}h11>=0: net/py-h11${PYTHON_PKGNAMEPREFIX}h2>=4.3.0: www/py-h2${PYTHON_PKGNAMEPREFIX}priority>=0: www/py-priority${PYTHON_PKGNAMEPREFIX}toml>=0: textproc/py-toml${PYTHON_PKGNAMEPREFIX}wsproto>=0.14.0: net/py-wsproto
Test 7
${PYTHON_PKGNAMEPREFIX}hypothesis>=0: devel/py-hypothesis${PYTHON_PKGNAMEPREFIX}mock>=0: devel/py-mock${PYTHON_PKGNAMEPREFIX}pytest>=0: devel/py-pytest${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-cov>=0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest-trio>=0: devel/py-pytest-trio${PYTHON_PKGNAMEPREFIX}trio>=0: net/py-trio
Build dependencies 1
Run dependencies 5
Required by 2
Configuration
Options name: www_hypercorn
| Option | Default | Description |
|---|---|---|
| H3 | off | HTTP/3 support |
| TRIO | off | trio worker support |
| UVLOOP | off | uvloop worker support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| hypercorn-0.18.0.tar.gz | 68420 | d63267548939c46b0247dc8e5b45a9947590e35e64ee73a23c074aa3cf88e9da |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
8af06753b2 |
Lucas Holt | databases/rubygem-flipper-active_record-rails70: update to 1.3.6 Match the flipper-gitlab provider series so fake-qa can satisfy the gemspec flipper dependency.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |