Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-asgi-lifespan: New port: Programmatic startup/shutdown of AS…
…GI apps PR: 257334
- Loading branch information
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
PORTNAME= asgi-lifespan | ||
DISTVERSION= 2.0.0 | ||
CATEGORIES= devel python | ||
MASTER_SITES= CHEESESHOP | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= meka@tilda.center | ||
COMMENT= Programmatic startup/shutdown of ASGI apps | ||
WWW= https://github.com/florimondmanca/asgi-lifespan | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sniffio>0:devel/py-sniffio@${PY_FLAVOR} | ||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-trio>0:devel/py-pytest-trio@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}starlette>0:www/py-starlette@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}trio>0:net/py-trio@${PY_FLAVOR} | ||
|
||
USES= python | ||
USE_PYTHON= autoplist concurrent distutils pytest | ||
|
||
TEST_ENV= PYTHONPATH=${WRKSRC}/src | ||
|
||
NO_ARCH= yes | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1671255378 | ||
SHA256 (asgi-lifespan-2.0.0.tar.gz) = d46a31ff681e9edf1f776c9f61cf8fa6274cc66fca8cb4f11e940b1183e18842 | ||
SIZE (asgi-lifespan-2.0.0.tar.gz) = 14804 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
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. |