devel/py-asgi-lifespan 2.1.0_1 MidnightBSD
Programmatic startup/shutdown of ASGI apps
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
8af06753b2- License
- mit
- Categories
- devel, python
Description
Programmatically send startup/shutdown lifespan events into ASGI applications. When used in combination with an ASGI-capable HTTP client such as HTTPX, this allows mocking or testing ASGI applications without having to spin up an ASGI server.
In the other systems
The newest version among them is 2.1.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-asgi-lifespan | 2.1.0_1 newest | no data | - | [email protected] | 2026-07-05 |
| FreeBSD | devel/py-asgi-lifespan | 2.1.0_1 newest | none known | - | [email protected] | - |
| DragonFly | devel/py-asgi-lifespan | 2.1.0_1 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-asgi-lifespan | 2.1.0_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-asgi-lifespan | 2.1.0_1 newest | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}asgi-lifespan
From mports:
cd /usr/mports/devel/py-asgi-lifespan && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgi-lifespan>0:devel/py-asgi-lifespan
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}sniffio>0: devel/py-sniffio
Test 4
${PYTHON_PKGNAMEPREFIX}httpx>0: www/py-httpx${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-trio>0: devel/py-pytest-trio${PYTHON_PKGNAMEPREFIX}starlette>0: www/py-starlette
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| asgi-lifespan-2.1.0.tar.gz | 15627 | 5e2effaf0bfe39829cf2d64e7ecc47c7d86d676a6599f7afba378c31f5e3a308 |
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]> |