mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
www/py-starlette-context: New port: Starlette: store and access the context data of a request
This commit is contained in:
parent
3d1214d4a5
commit
d69eb732c8
@ -1822,6 +1822,7 @@
|
||||
SUBDIR += py-spyne
|
||||
SUBDIR += py-sseclient
|
||||
SUBDIR += py-starlette
|
||||
SUBDIR += py-starlette-context
|
||||
SUBDIR += py-strawberry-graphql-django
|
||||
SUBDIR += py-streamlit
|
||||
SUBDIR += py-swapper
|
||||
|
33
www/py-starlette-context/Makefile
Normal file
33
www/py-starlette-context/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
PORTNAME= starlette-context
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.3.6
|
||||
CATEGORIES= www python
|
||||
#MASTER_SITES= PYPI # no tests
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Starlette: store and access the context data of a request
|
||||
WWW= https://starlette-context.readthedocs.io/en/latest/
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}starlette>0:www/py-starlette@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}codecov>=2.1.12:devel/py-codecov@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}coverage>=7.0.2:devel/py-coverage@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}httpx>=0.23.2:www/py-httpx@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.20.3:devel/py-pytest-asyncio@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.0.0:devel/py-pytest-cov@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-sugar>=0.9.6:devel/py-pytest-sugar@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.1.0:devel/py-pytest-xdist@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= pep517 autoplist pytest
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= tomwojcik
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-starlette-context/distinfo
Normal file
3
www/py-starlette-context/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1722143053
|
||||
SHA256 (tomwojcik-starlette-context-v0.3.6_GH0.tar.gz) = a71af70fab9284b0db6bddfe811d00d145ef4c42264d0cc98869c9fecc7a49e4
|
||||
SIZE (tomwojcik-starlette-context-v0.3.6_GH0.tar.gz) = 55771
|
3
www/py-starlette-context/pkg-descr
Normal file
3
www/py-starlette-context/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
starlette-context is a middleware for Starlette that allows you to store and
|
||||
access the context data of a request. Can be used with logging so logs
|
||||
automatically use request headers such as x-request-id or x-correlation-id.
|
Loading…
Reference in New Issue
Block a user