1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add new port textproc/py-wtf-peewee

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

PR:		242763
Submitted by:	Goran Mekić <meka@tilda.center>
This commit is contained in:
Ben Woods 2019-12-23 22:54:29 +00:00
parent b424138ba1
commit b62df92055
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520748
4 changed files with 36 additions and 0 deletions

View File

@ -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

View File

@ -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 <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1576928651
SHA256 (wtf-peewee-3.0.0.tar.gz) = acd05d136c8595da3327fcf9176fa85fdcec1f2aac51d235e46e6fc7a0871283
SIZE (wtf-peewee-3.0.0.tar.gz) = 62346

View File

@ -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