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

Collapse All | Expand All

(-)b/devel/Makefile (+1 lines)
Lines 4098-4103 Link Here
4098
    SUBDIR += py-arpeggio
4098
    SUBDIR += py-arpeggio
4099
    SUBDIR += py-arrow
4099
    SUBDIR += py-arrow
4100
    SUBDIR += py-asciimatics
4100
    SUBDIR += py-asciimatics
4101
    SUBDIR += py-asgi-lifespan
4101
    SUBDIR += py-asn1crypto
4102
    SUBDIR += py-asn1crypto
4102
    SUBDIR += py-aspy.yaml
4103
    SUBDIR += py-aspy.yaml
4103
    SUBDIR += py-astor
4104
    SUBDIR += py-astor
(-)b/devel/py-asgi-lifespan/Makefile (+34 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
12
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
13
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
14
		${PYTHON_PKGNAMEPREFIX}trio>=0:net/py-trio@${PY_FLAVOR}
15
16
USES=		python:3.6+
17
USE_PYTHON=	autoplist concurrent distutils
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	florimondmanca
20
21
TEST_ENV=	PYTHONPATH=${WRKSRC}/src
22
23
NO_ARCH=	yes
24
25
do-test:
26
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
27
28
.include <bsd.port.pre.mk>
29
30
.if ${PYTHON_REL} < 30700
31
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}async-exit-stack>=0:devel/py-async-exit-stack@${PY_FLAVOR}
32
.endif
33
34
.include <bsd.port.post.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