View | Details | Raw Unified | Return to bug 257334 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/Makefile (+1 lines)
Lines 4172-4177 Link Here
4172
    SUBDIR += py-arpeggio
4172
    SUBDIR += py-arpeggio
4173
    SUBDIR += py-arrow
4173
    SUBDIR += py-arrow
4174
    SUBDIR += py-asciimatics
4174
    SUBDIR += py-asciimatics
4175
    SUBDIR += py-asgi-lifespan
4175
    SUBDIR += py-asn1crypto
4176
    SUBDIR += py-asn1crypto
4176
    SUBDIR += py-aspy.yaml
4177
    SUBDIR += py-aspy.yaml
4177
    SUBDIR += py-astor
4178
    SUBDIR += py-astor
(-)b/devel/py-asgi-lifespan/Makefile (+29 lines)
Added Link Here
1
PORTNAME=	asgi-lifespan
2
DISTVERSION=	1.0.1
3
CATEGORIES=	devel python
4
MASTER_SITES=	CHEESESHOP
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	meka@tilda.center
8
COMMENT=	Programmatic startup/shutdown of ASGI apps
9
10
LICENSE=	PSFL
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
14
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}trio>=0:net/py-trio@${PY_FLAVOR}
16
17
USES=		python:3.6+
18
USE_PYTHON=	autoplist concurrent distutils
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	florimondmanca
21
22
TEST_ENV=	PYTHONPATH=${WRKSRC}/src
23
24
NO_ARCH=	yes
25
26
do-test:
27
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
28
29
.include <bsd.port.mk>
(-)b/devel/py-asgi-lifespan/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1626961600
2
SHA256 (florimondmanca-asgi-lifespan-1.0.1_GH0.tar.gz) = 5da90d92a6880f6490a060fdbb7d08f46797270bf62379d40f18555878d86fff
3
SIZE (florimondmanca-asgi-lifespan-1.0.1_GH0.tar.gz) = 10745
(-)b/devel/py-asgi-lifespan/pkg-descr (+6 lines)
Added Link Here
1
Programmatically send startup/shutdown lifespan events into ASGI applications.
2
When used in combination with an ASGI-capable HTTP client such as HTTPX, this
3
allows mocking or testing ASGI applications without having to spin up an ASGI
4
server.
5
6
WWW: https://github.com/florimondmanca/asgi-lifespan

Return to bug 257334