[Python-modules-commits] [django-maintenancemode] 03/03: Initial release. (Closes: #843889)

Scott Kitterman kitterman at moszumanska.debian.org
Thu Nov 10 15:19:09 UTC 2016


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

kitterman pushed a commit to branch master
in repository django-maintenancemode.

commit 8524465ad2763ec66b7a93a5f8cc6fb24df53c07
Author: Scott Kitterman <scott at kitterman.com>
Date:   Thu Nov 10 10:14:26 2016 -0500

    Initial release. (Closes: #843889)
---
 debian/.git-dpm                            |  3 ++
 debian/changelog                           |  5 ++++
 debian/compat                              |  1 +
 debian/control                             | 46 ++++++++++++++++++++++++++++++
 debian/copyright                           | 41 ++++++++++++++++++++++++++
 debian/gbp.conf                            |  2 ++
 debian/python-django-maintenancemode.docs  |  1 +
 debian/python3-django-maintenancemode.docs |  1 +
 debian/rules                               | 13 +++++++++
 debian/watch                               |  2 ++
 10 files changed, 115 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index fa382b7..b8a421a 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@ b4c0e856970b7ccc1399a558e1491c6a82f51617
 django-maintenancemode_0.11.2.orig.tar.gz
 a86607042396bde515b25e777e971544e156e8b2
 7263
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4da4082
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+django-maintenancemode (0.11.2-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #843889)
+
+ -- Scott Kitterman <scott at kitterman.com>  Thu, 10 Nov 2016 09:08:10 -0500
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..b789d68
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: django-maintenancemode
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Scott Kitterman <scott at kitterman.com>
+Build-Depends:
+ debhelper (>= 9~),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools,
+Standards-Version: 3.9.8
+Homepage: https://github.com/shanx/django-maintenancemode
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-maintenancemode.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-maintenancemode.git
+
+Package: python-django-maintenancemode
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends}
+Description: django module that sets a site down for maintenance (Python 2)
+ Django Maintenancemode is a middleware that allows you to temporarily
+ shutdown your site for maintenance work.
+ .
+ Logged in users having staff credentials can still fully use the site as can
+ users visiting the site from an IP address defined in Django's
+ ``INTERNAL_IPS``.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-django-maintenancemode
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends}
+Description: django module that sets a site down for maintenance (Python 3)
+ Django Maintenancemode is a middleware that allows you to temporarily
+ shutdown your site for maintenance work.
+ .
+ Logged in users having staff credentials can still fully use the site as can
+ users visiting the site from an IP address defined in Django's
+ ``INTERNAL_IPS``.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2695b2e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Django Maintenancemode
+Upstream-Contact: Basil Shubin
+Source: https://pypi.python.org/pypi/django-maintenancemode
+
+Files: *
+Copyright:Copyright (c) 2008, Maykin Media
+          Copyright (c) 2012, enn.io
+          Copyright (c) 2015, Basil Shubin
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016 Scott Kitterman <scott at kitterman.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:
+ .
+    * 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 author nor the names of other
+      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
+ OWNER 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..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/python-django-maintenancemode.docs b/debian/python-django-maintenancemode.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-django-maintenancemode.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python3-django-maintenancemode.docs b/debian/python3-django-maintenancemode.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-django-maintenancemode.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..11bb16c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=django-maintenancemode
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf build
+
+override_dh_auto_test:
+	# No tests to run, let's not try.
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5778af5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pypi.debian.net/django-maintenancemode/django-maintenancemode-([0-9][0-9\.\-]*).tar.gz

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



More information about the Python-modules-commits mailing list