[Python-modules-commits] [flask-compress] 02/08: Add debian/.

Dominik George natureshadow-guest at moszumanska.debian.org
Thu Sep 22 14:27:40 UTC 2016


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

natureshadow-guest pushed a commit to branch master
in repository flask-compress.

commit 1602a6b06a2e47867b385cc7c1f91270fbc6fa02
Author: Dominik George <nik at naturalnet.de>
Date:   Thu Sep 22 15:32:50 2016 +0200

    Add debian/.
---
 debian/changelog                |  5 +++++
 debian/compat                   |  1 +
 debian/control                  | 38 ++++++++++++++++++++++++++++++++++++++
 debian/copyright                | 30 ++++++++++++++++++++++++++++++
 debian/rules                    |  7 +++++++
 debian/source/format            |  1 +
 debian/source/lintian-overrides |  2 ++
 debian/watch                    |  4 ++++
 8 files changed, 88 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d7b11e2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+flask-compress (1.3.1-1) unstable; urgency=low
+
+  * Initial packaging of upstream release. (Closes: #833921)
+
+ -- Dominik George <nik at naturalnet.de>  Thu, 22 Sep 2016 15:26:59 +0200
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..4804733
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,38 @@
+Source: flask-compress
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Dominik George <nik at naturalnet.de>
+Section: python
+Priority: optional
+Build-Depends: dh-python,
+ python-setuptools (>= 0.6b3),
+ python-all (>= 2.6.6-3),
+ python3-all,
+ python3-setuptools,
+ debhelper (>= 9)
+Standards-Version: 3.9.8
+Homepage: https://github.com/wichitacode/flask-compress
+Testsuite: autopkgtest-pkg-python
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/flask-compress.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/flask-compress.git
+
+Package: python-flask-compress
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Compress responses in a Flask app with gzip (Python 2)
+ Flask-Compress allows to compress HTTP responses generated by a
+ Flask application running standalone with GZip. It does so without
+ a complex setup for some MIME types that benefiot from it, like
+ HTML and JSON types.
+ .
+ This package contains the Python 2 version of the module.
+
+Package: python3-flask-compress
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Compress responses in a Flask app with gzip (Python 3)
+ Flask-Compress allows to compress HTTP responses generated by a
+ Flask application running standalone with GZip. It does so without
+ a complex setup for some MIME types that benefiot from it, like
+ HTML and JSON types.
+ .
+ This package contains the Python 3 version of the module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2f8a0fd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Flask-Compress
+Upstream-Contact: William Fagan
+Source: https://github.com/libwilliam/flask-compress
+
+Files: *
+Copyright: 2013 Wichita Code
+License: MIT
+
+Files: debian/*
+Copyright: 2016 Dominik George <nik at naturalnet.de>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+ the Software, and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..57b73e9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+# This file was automatically generated by stdeb 0.8.5 at
+# Tue, 13 Sep 2016 12:50:39 +0200
+export PYBUILD_NAME=flask-compress
+%:
+	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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..9a0c24c
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# Upstream does not sign tarballs. Discussing that, though.
+flask-compress source: debian-watch-may-check-gpg-signature
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..27d5bc5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# please also check http://pypi.debian.net/Flask-Compress/watch
+version=3
+opts="uversionmangle=s/(rc|a|b|c)/~$1/" \
+http://pypi.debian.net/Flask-Restless/Flask-Compress-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
\ No newline at end of file

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



More information about the Python-modules-commits mailing list