mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
609e3a5f66
Changelog: https://github.com/freenit-framework/backend/releases/tag/0.3.3 PR: 278968 Approved by: submitter is maintainer
41 lines
1.4 KiB
Makefile
41 lines
1.4 KiB
Makefile
PORTNAME= freenit
|
|
DISTVERSION= 0.3.3
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= meka@tilda.center
|
|
COMMENT= REST API framework based on FastAPI
|
|
WWW= https://github.com/freenit-framework/backend
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}email-validator>=0:mail/py-email-validator@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}fastapi>=0:www/py-fastapi@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}passlib>=0:security/py-passlib@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pyjwt>=0:www/py-pyjwt@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}uvicorn>=0:www/py-uvicorn@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-factoryboy>=0:devel/py-pytest-factoryboy@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517 pytest
|
|
USE_RC_SUBR= freenit
|
|
|
|
TEST_ENV= PYTHONPATH=${WRKSRC}/src
|
|
TEST_ARGS= --ignore=${PORTNAME}/project
|
|
NO_ARCH= yes
|
|
SUB_LIST= PYTHON_VER=${PYTHON_VER}
|
|
|
|
OPTIONS_DEFINE= ORMAR
|
|
OPTIONS_DEFAULT= ORMAR
|
|
|
|
ORMAR_DESC= Support for SQL databases using Ormar
|
|
ORMAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}alembic>=0:databases/py-alembic@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}ormar>0:databases/py-ormar@${PY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|