mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
40 lines
914 B
Makefile
40 lines
914 B
Makefile
COMMENT = high-performance web framework for building APIs with Python
|
|
|
|
MODPY_DISTV = 0.117.1
|
|
DISTNAME = fastapi-${MODPY_DISTV}
|
|
PKGNAME = py-${DISTNAME}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = https://fastapi.tiangolo.com/
|
|
|
|
MAINTAINER = Daniel Dickman <daniel@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_PYBUILD = pdm
|
|
# XXX: needs sqlmodel
|
|
MODPY_PYTEST_ARGS = --ignore tests/test_tutorial/test_sql_databases/test_tutorial001.py \
|
|
--ignore tests/test_tutorial/test_sql_databases/test_tutorial002.py
|
|
|
|
RUN_DEPENDS = devel/py-pydantic \
|
|
devel/py-typing-extensions \
|
|
www/py-starlette
|
|
|
|
# see requirements-tests.txt
|
|
TEST_DEPENDS = devel/py-dirty-equals \
|
|
devel/py-inline-snapshot \
|
|
databases/py-sqlalchemy \
|
|
textproc/py-orjson \
|
|
mail/py-email-validator \
|
|
www/py-flask \
|
|
www/py-httpx \
|
|
www/py-python-multipart
|
|
|
|
.include <bsd.port.mk>
|