mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
repair so tests can run
This commit is contained in:
@@ -3,6 +3,7 @@ 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
|
||||
|
||||
@@ -17,19 +18,22 @@ 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
|
||||
# XXX: needs sqlmodel
|
||||
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-httpx \
|
||||
www/py-python-multipart
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user