[Python-modules-commits] r33739 - in packages/flask-restful/trunk (17 files)

highvoltage-guest at users.alioth.debian.org highvoltage-guest at users.alioth.debian.org
Thu Aug 13 16:35:09 UTC 2015


    Date: Thursday, August 13, 2015 @ 16:35:07
  Author: highvoltage-guest
Revision: 33739

[svn-inject] Applying Debian modifications (0.3.3-1) to trunk

Added:
  packages/flask-restful/trunk/debian/
  packages/flask-restful/trunk/debian/changelog
  packages/flask-restful/trunk/debian/compat
  packages/flask-restful/trunk/debian/control
  packages/flask-restful/trunk/debian/copyright
  packages/flask-restful/trunk/debian/docs
  packages/flask-restful/trunk/debian/patches/
  packages/flask-restful/trunk/debian/patches/series
  packages/flask-restful/trunk/debian/patches/skip-bad-test
  packages/flask-restful/trunk/debian/python-flast-restful.docs
  packages/flask-restful/trunk/debian/python3-flask-restful.docs
  packages/flask-restful/trunk/debian/rules
  packages/flask-restful/trunk/debian/source/
  packages/flask-restful/trunk/debian/source/format
  packages/flask-restful/trunk/debian/source/lintian-overrides
  packages/flask-restful/trunk/debian/source/options
  packages/flask-restful/trunk/debian/watch


Property changes on: packages/flask-restful/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/flask-restful/trunk/debian/changelog
===================================================================
--- packages/flask-restful/trunk/debian/changelog	                        (rev 0)
+++ packages/flask-restful/trunk/debian/changelog	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1,5 @@
+flask-restful (0.3.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #763962)
+
+ -- Jonathan Carter <jonathan at ubuntu.com>  Sat, 04 Oct 2014 11:27:07 +0200

Added: packages/flask-restful/trunk/debian/compat
===================================================================
--- packages/flask-restful/trunk/debian/compat	                        (rev 0)
+++ packages/flask-restful/trunk/debian/compat	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1 @@
+9

Added: packages/flask-restful/trunk/debian/control
===================================================================
--- packages/flask-restful/trunk/debian/control	                        (rev 0)
+++ packages/flask-restful/trunk/debian/control	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1,49 @@
+Source: flask-restful
+Section: python
+Priority: optional
+Maintainer: Jonathan Carter <jonathan at ubuntu.com>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-aniso8601,
+               python-blinker,
+               python-crypto,
+               python-flask,
+               python-mock,
+               python-nose,
+               python-setuptools,
+               python-six,
+               python-tz,
+               python3-all,
+               python3-aniso8601,
+               python3-blinker,
+               python3-crypto,
+               python3-flask,
+               python3-mock,
+               python3-setuptools,
+               python3-six,
+               python3-tz
+Standards-Version: 3.9.6
+Homepage: https://github.com/twilio/flask-restful
+
+Package: python-flask-restful
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: REST API framework for Flask applications (Python Module)
+ Flask-RESTful is an extension for Flask that adds support for quickly building
+ REST APIs. It is a lightweight abstraction that works with your existing
+ ORM/libraries. Flask-RESTful encourages best practices with minimal setup.
+ If you are familiar with Flask, Flask-RESTful should be easy to pick up.
+ .
+ This package provides the module for Python 2.
+
+Package: python3-flask-restful
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: REST API framework for Flask applications (Python3 Module)
+ Flask-RESTful is an extension for Flask that adds support for quickly building
+ REST APIs. It is a lightweight abstraction that works with your existing
+ ORM/libraries. Flask-RESTful encourages best practices with minimal setup.
+ If you are familiar with Flask, Flask-RESTful should be easy to pick up.
+ .
+ This package provides the module for Python 3.

Added: packages/flask-restful/trunk/debian/copyright
===================================================================
--- packages/flask-restful/trunk/debian/copyright	                        (rev 0)
+++ packages/flask-restful/trunk/debian/copyright	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1,36 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: flask-restful
+Source: https://github.com/twilio/flask-restful
+
+Files: *
+Copyright: 2013, Twilio, Inc
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2014 Jonathan Carter <jonathan at ubuntu.com>
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of Twilio Inc. nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE HOLDERS OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Added: packages/flask-restful/trunk/debian/docs
===================================================================
--- packages/flask-restful/trunk/debian/docs	                        (rev 0)
+++ packages/flask-restful/trunk/debian/docs	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1 @@
+README.md

Added: packages/flask-restful/trunk/debian/patches/series
===================================================================
--- packages/flask-restful/trunk/debian/patches/series	                        (rev 0)
+++ packages/flask-restful/trunk/debian/patches/series	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1 @@
+skip-bad-test

Added: packages/flask-restful/trunk/debian/patches/skip-bad-test
===================================================================
--- packages/flask-restful/trunk/debian/patches/skip-bad-test	                        (rev 0)
+++ packages/flask-restful/trunk/debian/patches/skip-bad-test	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1,39 @@
+Description: skip test that is broken
+ test_accept_no_default_match_q0_not_acceptable will fail until Werkzeug
+ version 1.0 is released. Until then, this test is disabled.
+ .
+ flask-restful (0.3.3-1) unstable; urgency=low
+ .
+   * Initial release (Closes: #763962)
+Author: Jonathan Carter <jonathan at ubuntu.com>
+Bug-Debian: https://bugs.debian.org/763962
+
+--- flask-restful-0.3.3.orig/tests/test_accept.py
++++ flask-restful-0.3.3/tests/test_accept.py
+@@ -121,26 +121,6 @@ class AcceptTestCase(unittest.TestCase):
+             assert_equals(res.content_type, 'text/plain')
+ 
+ 
+-    def test_accept_no_default_match_q0_not_acceptable(self):
+-        """
+-        q=0 should be considered NotAcceptable,
+-        but this depends on werkzeug >= 1.0 which is not yet released
+-        so this test is expected to fail until we depend on werkzeug >= 1.0
+-        """
+-        class Foo(flask_restful.Resource):
+-            def get(self):
+-                return "data"
+-
+-        app = Flask(__name__)
+-        api = flask_restful.Api(app, default_mediatype=None)
+-
+-        api.add_resource(Foo, '/')
+-
+-        with app.test_client() as client:
+-            res = client.get('/', headers=[('Accept', 'application/json; q=0')])
+-            assert_equals(res.status_code, 406)
+-            assert_equals(res.content_type, 'application/json')
+-
+     def test_accept_no_default_accept_highest_quality_of_two(self):
+         class Foo(flask_restful.Resource):
+             def get(self):

Added: packages/flask-restful/trunk/debian/python-flast-restful.docs
===================================================================
--- packages/flask-restful/trunk/debian/python-flast-restful.docs	                        (rev 0)
+++ packages/flask-restful/trunk/debian/python-flast-restful.docs	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1,3 @@
+README.md
+docs
+examples

Added: packages/flask-restful/trunk/debian/python3-flask-restful.docs
===================================================================
--- packages/flask-restful/trunk/debian/python3-flask-restful.docs	                        (rev 0)
+++ packages/flask-restful/trunk/debian/python3-flask-restful.docs	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1,3 @@
+README.md
+docs
+examples

Added: packages/flask-restful/trunk/debian/rules
===================================================================
--- packages/flask-restful/trunk/debian/rules	                        (rev 0)
+++ packages/flask-restful/trunk/debian/rules	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=flask-restful
+
+%:
+	dh $@ --buildsystem=pybuild --with=python2,python3


Property changes on: packages/flask-restful/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/flask-restful/trunk/debian/source/format
===================================================================
--- packages/flask-restful/trunk/debian/source/format	                        (rev 0)
+++ packages/flask-restful/trunk/debian/source/format	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/flask-restful/trunk/debian/source/lintian-overrides
===================================================================
--- packages/flask-restful/trunk/debian/source/lintian-overrides	                        (rev 0)
+++ packages/flask-restful/trunk/debian/source/lintian-overrides	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1,2 @@
+# The .html file that lintian reports is part of a template, and not documentation in itself
+python3-flask-restful binary: possible-documentation-but-no-doc-base-registration

Added: packages/flask-restful/trunk/debian/source/options
===================================================================
--- packages/flask-restful/trunk/debian/source/options	                        (rev 0)
+++ packages/flask-restful/trunk/debian/source/options	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1 @@
+tar-ignore = "usr/share/doc/python3-flask-restful/docs/_themes/.gitignore usr/share/doc/python3-flask-restful/docs/_themes/LICENSE"

Added: packages/flask-restful/trunk/debian/watch
===================================================================
--- packages/flask-restful/trunk/debian/watch	                        (rev 0)
+++ packages/flask-restful/trunk/debian/watch	2015-08-13 16:35:07 UTC (rev 33739)
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/<project>-$1\.tar\.gz/ \
+   https://github.com/twilio/flask-restful/tags .*/v?(\d\S*)\.tar\.gz




More information about the Python-modules-commits mailing list