svn commit: r520785 - in head/www: . py-flask-mongoengine py-flask-mongoengine/files
Ben Woods
woodsb02 at FreeBSD.org
Tue Dec 24 08:03:21 UTC 2019
Author: woodsb02
Date: Tue Dec 24 08:03:19 2019
New Revision: 520785
URL: https://svnweb.freebsd.org/changeset/ports/520785
Log:
Add new port www/py-flask-mongoengine
Flask extension that provides integration with MongoEngine. It handles
connection management for your app. You can also use WTForms as model forms
for your models.
WWW: https://github.com/mongoengine/flask-mongoengine
PR: 242785
Submitted by: Goran Mekić <meka at tilda.center>
Added:
head/www/py-flask-mongoengine/
head/www/py-flask-mongoengine/Makefile (contents, props changed)
head/www/py-flask-mongoengine/distinfo (contents, props changed)
head/www/py-flask-mongoengine/files/
head/www/py-flask-mongoengine/files/patch-setup.py (contents, props changed)
head/www/py-flask-mongoengine/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Tue Dec 24 08:02:15 2019 (r520784)
+++ head/www/Makefile Tue Dec 24 08:03:19 2019 (r520785)
@@ -1636,6 +1636,7 @@
SUBDIR += py-flask-marshmallow
SUBDIR += py-flask-migrate
SUBDIR += py-flask-moment
+ SUBDIR += py-flask-mongoengine
SUBDIR += py-flask-oauthlib
SUBDIR += py-flask-peewee
SUBDIR += py-flask-principal
Added: head/www/py-flask-mongoengine/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-flask-mongoengine/Makefile Tue Dec 24 08:03:19 2019 (r520785)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= flask-mongoengine
+PORTVERSION= 0.9.5
+DISTVERSIONPREFIX= v
+CATEGORIES= www devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= meka at tilda.center
+COMMENT= Flask extension that provides integration with MongoEngine
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Flask-WTF>=0:www/py-flask-wtf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mongoengine>=0:databases/py-mongoengine@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rednose>=0:devel/py-rednose@${PY_FLAVOR}
+
+USES= python:3.5+
+USE_GITHUB= yes # tests not packaged with PyPI sdist
+GH_ACCOUNT= MongoEngine
+USE_PYTHON= autoplist concurrent distutils
+
+TEST_ENV= PYTHONPATH=${WRKSRC}/src
+
+NO_ARCH= yes
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} setup.py nosetests \
+ -e test_connection_default
+
+.include <bsd.port.mk>
Added: head/www/py-flask-mongoengine/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-flask-mongoengine/distinfo Tue Dec 24 08:03:19 2019 (r520785)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1577167260
+SHA256 (MongoEngine-flask-mongoengine-v0.9.5_GH0.tar.gz) = af9122fbb1c516fe12e7afcae1f87d18ba0f3c846e927a2270b2e78d420d309d
+SIZE (MongoEngine-flask-mongoengine-v0.9.5_GH0.tar.gz) = 120281
Added: head/www/py-flask-mongoengine/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-flask-mongoengine/files/patch-setup.py Tue Dec 24 08:03:19 2019 (r520785)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2019-12-24 07:50:35 UTC
++++ setup.py
+@@ -53,7 +53,7 @@ setup(
+ 'flask_mongoengine.wtf'],
+ include_package_data=True,
+ tests_require=test_requirements,
+- setup_requires=test_requirements, # Allow proper nose usage with setuptools and tox
++ # setup_requires=test_requirements, # Allow proper nose usage with setuptools and tox
+ description=description,
+ long_description=long_description,
+ classifiers=[
Added: head/www/py-flask-mongoengine/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-flask-mongoengine/pkg-descr Tue Dec 24 08:03:19 2019 (r520785)
@@ -0,0 +1,5 @@
+Flask extension that provides integration with MongoEngine. It handles
+connection management for your app. You can also use WTForms as model forms
+for your models.
+
+WWW: https://github.com/mongoengine/flask-mongoengine
More information about the svn-ports-all
mailing list