mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
f5c9f39cfc
Flask-Peewee provides a layer of integration between the flask web framework and the peewee orm. WWW: https://github.com/coleifer/flask-peewee/ PR: 242765 Submitted by: Goran Mekić <meka@tilda.center>
35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= flask-peewee
|
|
PORTVERSION= 3.0.3
|
|
CATEGORIES= www devel python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= meka@tilda.center
|
|
COMMENT= Integration between the flask web framework and the peewee orm
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}peewee>=0:databases/py-peewee@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wtforms>=0:textproc/py-wtforms@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wtf-peewee>=0:textproc/py-wtf-peewee@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
|
|
|
|
USES= python:3.5+
|
|
USE_GITHUB= yes # tests not packaged with PyPI sdist
|
|
GH_ACCOUNT= coleifer
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
TEST_ENV= PYTHONPATH=${WRKSRC}/src
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} runtests.py
|
|
|
|
.include <bsd.port.mk>
|