[Python-modules-commits] [mimerender] 02/03: Add debian/.

Dominik George natureshadow-guest at moszumanska.debian.org
Thu Sep 22 12: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 mimerender.

commit 805ee2f03a97b5f117dc49251936618eaedd801f
Author: Dominik George <nik at naturalnet.de>
Date:   Thu Sep 22 14:14:38 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0e12973
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mimerender (0.6.0-1) unstable; urgency=low
+
+  * Initial packaging of upstream release. (Closes: #838564)
+
+ -- Dominik George <nik at naturalnet.de>  Thu, 22 Sep 2016 14:07:12 +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..fae888c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: mimerender
+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/martinblech/mimerender
+Testsuite: autopkgtest-pkg-python
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/mimerender.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/mimerender.git
+
+Package: python-mimerender
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: RESTful HTTP Content Negotiation for Flask, Bottle, web.py and webapp2
+ mimerender provides a decorator that wraps an HTTP request handler to
+ select the correct render function for a given HTTP Accept header. It
+ uses mimeparse to parse the Accept string and select the best available
+ representation.
+ .
+ mimerender supports Flask, Bottle, web.py and webapp2 out of the
+ box, and it’s easy to add support for other frameworks.
+
+Package: python3-mimerender
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: RESTful HTTP Content Negotiation for Flask, Bottle, web.py and webapp2
+ mimerender provides a decorator that wraps an HTTP request handler to
+ select the correct render function for a given HTTP Accept header. It
+ uses mimeparse to parse the Accept string and select the best available
+ representation.
+ .
+ mimerender supports Flask, Bottle, web.py and webapp2 out of the
+ box, and it’s easy to add support for other frameworks.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f00405d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mimerender
+Upstream-Contact: Martin Blech <martinblech at gmail.com>
+Source: https://github.com/martinblech/mimerender
+
+Files: *
+Copyright: 2009-2016 Martin Blech & contributors
+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..7b01304
--- /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=mimerender
+%:
+	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..a219c5c
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# Upstream does not sign tarballs. Discussing that, though.
+mimerender source: debian-watch-may-check-gpg-signature
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..da0fff3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# please also check http://pypi.debian.net/mimerender/watch
+version=3
+opts="uversionmangle=s/(rc|a|b|c)/~$1/" \
+http://pypi.debian.net/mimerender/mimerender-(.+)\.(?: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/mimerender.git



More information about the Python-modules-commits mailing list