commit b6cc0b3391f190b75bd2e777e23281082b4caf61 Author: Goran Mekić Date: Sat Dec 21 12:50:29 2019 +0100 Add wtf-peewee diff --git a/textproc/Makefile b/textproc/Makefile index 7342368e61ea..c545febab6a2 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1407,6 +1407,7 @@ SUBDIR += py-wicked SUBDIR += py-wordnet SUBDIR += py-wstools + SUBDIR += py-wtf-peewee SUBDIR += py-wtforms SUBDIR += py-xhtml2pdf SUBDIR += py-xlrd diff --git a/textproc/py-wtf-peewee/Makefile b/textproc/py-wtf-peewee/Makefile new file mode 100644 index 000000000000..222ecfb73f10 --- /dev/null +++ b/textproc/py-wtf-peewee/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= wtf-peewee +PORTVERSION= 3.0.0 +CATEGORIES= textproc devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= meka@tilda.center +COMMENT= Bridge between peewee models and wtforms + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}peewee>=0:databases/py-peewee@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wtforms>=0:textproc/py-wtforms@${PY_FLAVOR} + +USES= python:3.5+ +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 diff --git a/textproc/py-wtf-peewee/distinfo b/textproc/py-wtf-peewee/distinfo new file mode 100644 index 000000000000..9e84a9a12514 --- /dev/null +++ b/textproc/py-wtf-peewee/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1576928651 +SHA256 (wtf-peewee-3.0.0.tar.gz) = acd05d136c8595da3327fcf9176fa85fdcec1f2aac51d235e46e6fc7a0871283 +SIZE (wtf-peewee-3.0.0.tar.gz) = 62346 diff --git a/textproc/py-wtf-peewee/pkg-descr b/textproc/py-wtf-peewee/pkg-descr new file mode 100644 index 000000000000..58db72ec75b9 --- /dev/null +++ b/textproc/py-wtf-peewee/pkg-descr @@ -0,0 +1,4 @@ +Flask-WTF-Peewee, based on the code found in wtforms.ext, provides a bridge +between peewee models and wtforms, mapping model fields to form fields. + +WWW: https://github.com/coleifer/wtf-peewee