[Python-modules-commits] [flask-restful] 02/02: Initial debian packaging

Alexandre Viau reazem-guest at moszumanska.debian.org
Thu Oct 23 20:56:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

reazem-guest pushed a commit to branch master
in repository flask-restful.

commit 369bdba3e1f6169fb5fcca239deb5aeac3fc52a7
Author: aviau <alexandre.viau at savoirfairelinux.com>
Date:   Thu Oct 23 16:25:00 2014 -0400

    Initial debian packaging
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright     | 34 +++++++++++++++++++++++++++++++++
 debian/gbp.conf      |  4 ++++
 debian/rules         |  8 ++++++++
 debian/source/format |  1 +
 debian/watch         |  2 ++
 8 files changed, 109 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3f03cf0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+flask-restful (0.2.12-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #733520)
+
+ -- Alexandre Viau <alexandre at alexandreviau.net>  Thu, 23 Oct 2014 16:18:51 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2360aa6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,54 @@
+Source: flask-restful
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Alexandre Viau <alexandre at alexandreviau.net>
+Homepage: https://github.com/twilio/flask-restful
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/flask-restful.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=python-modules/packages/flask-restful.git
+Section: python
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python-requests (>= 1.0.3),
+               python-aniso8601 (>= 0.82),
+               python-flask (>=0.8),
+               python-six (>=1.3.0),
+               python-tz,
+               python3-all,
+               python3-setuptools,
+               python3-aniso8601 (>= 0.82),
+               python-flask (>=0.8),
+               python-six (>=1.3.0),
+               python3-tz
+Standards-Version: 3.9.6
+
+Package: python-flask-restful
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+         python-aniso8601 (>= 0.82),
+         python-flask (>=0.8),
+         python-six (>=1.3.0),
+         python-tz
+Description: Flask-RESTful provides the building blocks for creating a great REST API.
+ Flask-RESTful 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 is the Python 2 compatible package.
+
+Package: python3-flask-restful
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         python3-aniso8601 (>= 0.82),
+         python-flask (>=0.8),
+         python-six (>=1.3.0),
+         python3-tz
+Description: Flask-RESTful provides the building blocks for creating a great REST API.
+ Flask-RESTful 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 is the Python 3 compatible package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6040b57
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: flask-restful
+Source: https://github.com/influxdb/influxdb-python
+
+Files: *
+Copyright: 2013 Twilio Inc.
+License: BSD-3-clause 
+
+License: BSD-3-clause
+ Copyright (c) 2013, Twilio, Inc.
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ - Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer. 
+ - 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.
+ - Neither the name of the 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 COPYRIGHT HOLDER 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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..b9da6d0
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+pristine-tar = True
+upstream-branch = upstream
+master-branch = master
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4b479da
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=flask-restful
+export PYBUILD_DISABLE_python3=test
+export PYBUILD_DISABLE_python2=test
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..53be2df
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/F/Flask-RESTful/Flask-RESTful-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flask-restful.git



More information about the Python-modules-commits mailing list