diff -Nru flask-mongoengine-0.9.5/debian/changelog flask-mongoengine-0.9.5/debian/changelog --- flask-mongoengine-0.9.5/debian/changelog 2018-11-23 07:44:21.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/changelog 2019-09-10 12:27:18.000000000 +0000 @@ -1,9 +1,33 @@ +flask-mongoengine (0.9.5-0ubuntu2) eoan; urgency=medium + + * Merge Debian changes in 0.9.3-2 and 0.9.3-3 version + + -- Gianfranco Costamagna Tue, 10 Sep 2019 14:27:18 +0200 + flask-mongoengine (0.9.5-0ubuntu1) disco; urgency=medium * New upstream version. -- Matthias Klose Fri, 23 Nov 2018 09:43:59 +0100 +flask-mongoengine (0.9.3-4) unstable; urgency=medium + + * Team upload. + * Remove autopkgtests, because they require running mongodb which we don't + have in Debian (Closes: #927762). + + -- Ondřej Nový Sun, 25 Aug 2019 09:47:17 +0200 + +flask-mongoengine (0.9.3-3) unstable; urgency=medium + + * Team upload. + * d/control: Set Vcs-* to salsa.debian.org + * d/watch: Use https protocol + * Use debhelper-compat instead of debian/compat. + * Drop Python 2 support. + + -- Ondřej Nový Sat, 03 Aug 2019 21:34:15 +0200 + flask-mongoengine (0.9.3-2) unstable; urgency=medium * Team upload. diff -Nru flask-mongoengine-0.9.5/debian/compat flask-mongoengine-0.9.5/debian/compat --- flask-mongoengine-0.9.5/debian/compat 2017-12-01 14:13:56.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru flask-mongoengine-0.9.5/debian/control flask-mongoengine-0.9.5/debian/control --- flask-mongoengine-0.9.5/debian/control 2018-01-02 15:14:33.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/control 2019-09-10 12:26:45.000000000 +0000 @@ -3,18 +3,8 @@ Uploaders: Adrian Vondendriesch Section: python Priority: optional -Build-Depends: debhelper (>= 9), +Build-Depends: debhelper-compat (= 9), dh-python, - python-all (>= 2.6.6-3), - python-coverage, - python-flask, - python-flaskext.wtf (>=0.14.2), - python-mongoengine, - python-nose, - python-rednose, - python-setuptools (>= 0.6b3), - python-six, - python-wtforms, python3-all, python3-coverage, python3-flask, @@ -27,19 +17,8 @@ python3-wtforms Standards-Version: 4.1.3 Homepage: https://github.com/mongoengine/flask-mongoengine -VCS-Git: https://anonscm.debian.org/git/python-modules/packages/flask-mongoengine.git -Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/flask-mongoengine.git - -Package: python-flask-mongoengine -Architecture: all -Depends: ${misc:Depends}, ${python:Depends} -Description: Extension that provides integration with MongoEngine (Python 2) - 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. - . - This is a Python 2 package. +Vcs-Git: https://salsa.debian.org/python-team/modules/flask-mongoengine.git +Vcs-Browser: https://salsa.debian.org/python-team/modules/flask-mongoengine Package: python3-flask-mongoengine Architecture: all diff -Nru flask-mongoengine-0.9.5/debian/rules flask-mongoengine-0.9.5/debian/rules --- flask-mongoengine-0.9.5/debian/rules 2017-12-01 14:13:56.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/rules 2019-09-10 12:26:45.000000000 +0000 @@ -2,5 +2,4 @@ export PYBUILD_NAME=flask-mongoengine %: - dh $@ --with python2,python3 --buildsystem=pybuild - + dh $@ --with python3 --buildsystem=pybuild diff -Nru flask-mongoengine-0.9.5/debian/tests/control flask-mongoengine-0.9.5/debian/tests/control --- flask-mongoengine-0.9.5/debian/tests/control 2017-12-01 14:13:56.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -Tests: simpleapp.sh -Depends: @, mongodb, curl -Restrictions: allow-stderr diff -Nru flask-mongoengine-0.9.5/debian/tests/simpleapp/app.py flask-mongoengine-0.9.5/debian/tests/simpleapp/app.py --- flask-mongoengine-0.9.5/debian/tests/simpleapp/app.py 2018-01-02 15:05:33.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/tests/simpleapp/app.py 1970-01-01 00:00:00.000000000 +0000 @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -import os -import sys -import datetime -import flask - -sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), '../../'))) - -from flask_mongoengine import MongoEngine -#from flask_debugtoolbar import DebugToolbarExtension - -app = flask.Flask(__name__) -app.config.from_object(__name__) -app.config['MONGODB_SETTINGS'] = {'DB': 'testing', 'host': '127.0.0.1'} -app.config['TESTING'] = True -app.config['SECRET_KEY'] = 'flask+mongoengine=<3' -app.debug = True -app.config['DEBUG_TB_PANELS'] = ( - 'flask_debugtoolbar.panels.versions.VersionDebugPanel', - 'flask_debugtoolbar.panels.timer.TimerDebugPanel', - 'flask_debugtoolbar.panels.headers.HeaderDebugPanel', - 'flask_debugtoolbar.panels.request_vars.RequestVarsDebugPanel', - 'flask_debugtoolbar.panels.template.TemplateDebugPanel', - 'flask_debugtoolbar.panels.logger.LoggingPanel', - 'flask_mongoengine.panels.MongoDebugPanel' -) - -app.config['DEBUG_TB_INTERCEPT_REDIRECTS'] = False - -db = MongoEngine() -db.init_app(app) - -#DebugToolbarExtension(app) - -class Todo(db.Document): - title = db.StringField(max_length=60) - text = db.StringField() - done = db.BooleanField(default=False) - pub_date = db.DateTimeField(default=datetime.datetime.now) - -@app.route('/') -def index(): - # As a list to test debug toolbar - Todo.objects().delete() # Removes - Todo(title="Simple todo A ПЫЩЬ!", text="12345678910").save() # Insert - Todo(title="Simple todo B", text="12345678910").save() # Insert - Todo.objects(title__contains="B").update(set__text="Hello world") # Update - todos = Todo.objects.all() - return flask.render_template('index.html', todos=todos) - -if __name__ == "__main__": - app.run(host="0.0.0.0", port=4000) diff -Nru flask-mongoengine-0.9.5/debian/tests/simpleapp/README.rst flask-mongoengine-0.9.5/debian/tests/simpleapp/README.rst --- flask-mongoengine-0.9.5/debian/tests/simpleapp/README.rst 2017-12-01 14:13:56.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/tests/simpleapp/README.rst 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -Sample app to test the toolbar -============================== - -A simple one file app - to help get you started - -1. Install all the requirements from: flask-mongoengine/requirements.txt:: - - pip install -r requirements.txt - -2. From the root folder run the app eg:: - - python ./examples/simpleapp/app.py - -3. Point your browser to localhost:4000/ - diff -Nru flask-mongoengine-0.9.5/debian/tests/simpleapp/static/style.css flask-mongoengine-0.9.5/debian/tests/simpleapp/static/style.css --- flask-mongoengine-0.9.5/debian/tests/simpleapp/static/style.css 2017-12-01 14:13:56.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/tests/simpleapp/static/style.css 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -body { font-family: sans-serif; background: #eee; } -a, h1, h2 { color: #377BA8; } -h1, h2 { font-family: 'Georgia', serif; margin: 0; } -h1 { border-bottom: 2px solid #eee; } -h2 { font-size: 1.2em; } - -.page { margin: 2em auto; width: 35em; border: 5px solid #ccc; - padding: 0.8em; background: white; } -.entries { list-style: none; margin: 0; padding: 0; } -.entries li { margin: 0.8em 1.2em; } -.entries li h2 { margin-left: -1em; } -.add-entry { font-size: 0.9em; border-bottom: 1px solid #ccc; } -.add-entry dl { font-weight: bold; } -.metanav { text-align: right; font-size: 0.8em; padding: 0.3em; - margin-bottom: 1em; background: #fafafa; } -.flash { background: #CEE5F5; padding: 0.5em; - border: 1px solid #AACBE2; } -.error { background: #F0D6D6; padding: 0.5em; } diff -Nru flask-mongoengine-0.9.5/debian/tests/simpleapp/templates/index.html flask-mongoengine-0.9.5/debian/tests/simpleapp/templates/index.html --- flask-mongoengine-0.9.5/debian/tests/simpleapp/templates/index.html 2017-12-01 14:13:56.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/tests/simpleapp/templates/index.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -{% extends "layout.html" %} -{% block body %} - {% for todo in todos %} -
-

{{ todo.title }}

- {{ todo.text|safe }} -
- {% else %} - Unbelievable. No todos here so far Add one - {% endfor %} -{% endblock %} diff -Nru flask-mongoengine-0.9.5/debian/tests/simpleapp/templates/layout.html flask-mongoengine-0.9.5/debian/tests/simpleapp/templates/layout.html --- flask-mongoengine-0.9.5/debian/tests/simpleapp/templates/layout.html 2017-12-01 14:13:56.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/tests/simpleapp/templates/layout.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ - - - -Flask MongoEngine - - - -
-

Toolbar example

-
- {% block body %}{% endblock %} -
-
- - \ No newline at end of file diff -Nru flask-mongoengine-0.9.5/debian/tests/simpleapp.sh flask-mongoengine-0.9.5/debian/tests/simpleapp.sh --- flask-mongoengine-0.9.5/debian/tests/simpleapp.sh 2017-12-01 14:13:56.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/tests/simpleapp.sh 1970-01-01 00:00:00.000000000 +0000 @@ -1,28 +0,0 @@ -#!/bin/bash - -set -e - -cleanup () { - set +e - echo "Clean up environment" - pkill -P $PYPID -} -trap cleanup 0 2 3 15 - -PYPID="" - -# Python 2 tests -for py in $(pyversions -i) $(py3versions -i); do - echo "run test with $($py --version)" - $py debian/tests/simpleapp/app.py& - PYPID=$! - - sleep 3 - - echo "Try to get one row of the sample data" - curl -s http://localhost:4000/ | grep "Simple todo B" - test $? -eq 0 && echo "OK" - sleep 1 - cleanup - sleep 1 -done diff -Nru flask-mongoengine-0.9.5/debian/watch flask-mongoengine-0.9.5/debian/watch --- flask-mongoengine-0.9.5/debian/watch 2017-12-01 14:13:56.000000000 +0000 +++ flask-mongoengine-0.9.5/debian/watch 2019-09-10 12:26:45.000000000 +0000 @@ -1,4 +1,4 @@ -# please also check http://pypi.debian.net/flask-mongoengine/watch +# please also check https://pypi.debian.net/flask-mongoengine/watch version=3 opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ -http://pypi.debian.net/flask-mongoengine/flask-mongoengine-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) \ No newline at end of file +https://pypi.debian.net/flask-mongoengine/flask-mongoengine-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) \ No newline at end of file