Added
Link Here
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= flask-mongoengine |
4 |
PORTVERSION= 0.9.5 |
5 |
CATEGORIES= www devel python |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
|
9 |
MAINTAINER= meka@tilda.center |
10 |
COMMENT= Flask extension that provides integration with MongoEngine |
11 |
|
12 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}Flask-WTF>=0:www/py-flask-wtf@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}mongoengine>=0:databases/py-mongoengine@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} |
19 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}rednose>=0:devel/py-rednose@${PY_FLAVOR} |
22 |
|
23 |
USES= python:3.5+ |
24 |
USE_GITHUB= yes # tests not packaged with PyPI sdist |
25 |
USE_PYTHON= autoplist concurrent distutils |
26 |
|
27 |
GH_ACCOUNT= MongoEngine |
28 |
GH_TAGNAME= v${PORTVERSION} |
29 |
|
30 |
TEST_ENV= PYTHONPATH=${WRKSRC}/src |
31 |
|
32 |
NO_ARCH= yes |
33 |
|
34 |
do-test: |
35 |
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} setup.py nosetests \ |
36 |
-e test_connection_default |
37 |
|
38 |
.include <bsd.port.mk> |