1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Add new port www/py-flask-peewee

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>
This commit is contained in:
Ben Woods 2019-12-24 05:48:42 +00:00
parent bcef0c3394
commit f5c9f39cfc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520777
4 changed files with 45 additions and 0 deletions

View File

@ -1637,6 +1637,7 @@
SUBDIR += py-flask-migrate
SUBDIR += py-flask-moment
SUBDIR += py-flask-oauthlib
SUBDIR += py-flask-peewee
SUBDIR += py-flask-principal
SUBDIR += py-flask-restful
SUBDIR += py-flask-restplus

View File

@ -0,0 +1,34 @@
# $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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1576931683
SHA256 (coleifer-flask-peewee-3.0.3_GH0.tar.gz) = c3b0ac9a27450a9603b38f58e3996c7508711a3a58dd255c9a8274d7a3c37ebc
SIZE (coleifer-flask-peewee-3.0.3_GH0.tar.gz) = 646492

View File

@ -0,0 +1,7 @@
Flask-Peewee provides a layer of integration between the flask web framework
and the peewee orm. Batteries included:
- admin interface
- authentication
- rest api
WWW: https://github.com/coleifer/flask-peewee/