[Python-modules-commits] [django-uwsgi] 02/02: Initial release (Closes: #798987).

Michael Fladischer fladi at moszumanska.debian.org
Mon Sep 14 18:52:53 UTC 2015


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

fladi pushed a commit to branch master
in repository django-uwsgi.

commit ee1a1940f513c289255bfec38e9eca8fb9f73050
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Mon Sep 14 20:52:57 2015 +0200

    Initial release (Closes: #798987).
---
 debian/changelog                        |  5 +++
 debian/compat                           |  1 +
 debian/control                          | 80 +++++++++++++++++++++++++++++++++
 debian/copyright                        | 32 +++++++++++++
 debian/patches/series                   |  1 +
 debian/patches/sphinx.patch             | 24 ++++++++++
 debian/python-django-uwsgi-doc.doc-base |  8 ++++
 debian/python-django-uwsgi-doc.docs     |  1 +
 debian/python-django-uwsgi.docs         |  1 +
 debian/python3-django-uwsgi.docs        |  1 +
 debian/rules                            | 24 ++++++++++
 debian/source/format                    |  1 +
 debian/watch                            |  3 ++
 13 files changed, 182 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0f97087
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+django-uwsgi (0.1.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #798987).
+
+ -- Michael Fladischer <fladi at debian.org>  Tue, 28 Apr 2015 17:35:01 +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..6d36dc2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,80 @@
+Source: django-uwsgi
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <fladi at debian.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools,
+               python3-sphinx
+Standards-Version: 3.9.6
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.4
+Homepage: https://github.com/unbit/django-uwsgi
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-uwsgi.git
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/django-uwsgi.git
+
+Package: python-django-uwsgi
+Architecture: all
+Depends: python-django,
+         uwsgi-plugin-python,
+         ${misc:Depends},
+         ${python:Depends}
+Enhances: python-django-debug-toolbar
+Description: uWSGI related tools for Django
+ django-uwsgi provides several features for Django projects deployed to uWSGI:
+ .
+  * Admin page with uWSGI stats (options to reload/stop uWSGI, clear uWSGI
+    cache)
+  * uWSGI Cache Backend for Django
+  * uWSGI Email Backend for Django(send emails via uWSGI's spooler)
+  * Debug Panel for django-debug-toolbar (offers same functions as admin page)
+  * Django template loader for embedded into uWSGI files
+  * Django Management Command runuwsgi (with live autoreload when DEBUG is True)
+  * uWSGI config generator
+  * Django CBV Mixins based on uWSGI decorators
+
+Package: python3-django-uwsgi
+Architecture: all
+Depends: python3-django,
+         uwsgi-plugin-python3,
+         ${misc:Depends},
+         ${python3:Depends}
+Enhances: python3-django-debug-toolbar
+Description: uWSGI related tools for Django (Python3 version)
+ django-uwsgi provides several features for Django projects deployed to uWSGI:
+ .
+  * Admin page with uWSGI stats (options to reload/stop uWSGI, clear uWSGI
+    cache)
+  * uWSGI Cache Backend for Django
+  * uWSGI Email Backend for Django(send emails via uWSGI's spooler)
+  * Debug Panel for django-debug-toolbar (offers same functions as admin page)
+  * Django template loader for embedded into uWSGI files
+  * Django Management Command runuwsgi (with live autoreload when DEBUG is True)
+  * uWSGI config generator
+  * Django CBV Mixins based on uWSGI decorators
+ .
+ This package contains the Python 3 version of the library.
+
+Package: python-django-uwsgi-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends}
+Description: uWSGI related tools for Django (Documentation)
+ django-uwsgi provides several features for Django projects deployed to uWSGI:
+ .
+  * Admin page with uWSGI stats (options to reload/stop uWSGI, clear uWSGI
+    cache)
+  * uWSGI Cache Backend for Django
+  * uWSGI Email Backend for Django(send emails via uWSGI's spooler)
+  * Debug Panel for django-debug-toolbar (offers same functions as admin page)
+  * Django template loader for embedded into uWSGI files
+  * Django Management Command runuwsgi (with live autoreload when DEBUG is True)
+  * uWSGI config generator
+  * Django CBV Mixins based on uWSGI decorators
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7143ccb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: django-uwsgi
+Upstream-Contact: Eugene MechanisM <eugene at mechanism.name>
+Source: https://pypi.python.org/pypi/django-uwsgi
+
+Files: *
+Copyright: 2014, Eugene MechanisM <eugene at mechanism.name>
+           2015, unbit
+License: Expat
+
+Files: debian/*
+Copyright: 2015, Fladischer Michael <fladi at debian.org>
+License: Expat
+
+License: Expat
+ 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/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ebe7073
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+sphinx.patch
diff --git a/debian/patches/sphinx.patch b/debian/patches/sphinx.patch
new file mode 100644
index 0000000..db51656
--- /dev/null
+++ b/debian/patches/sphinx.patch
@@ -0,0 +1,24 @@
+Description: Disable sphinx extensions that are not packaged yet
+Author: Michael Fladischer <fladi at debian.org>
+Last-Update: 2015-09-14
+Forwarded: not-needed
+
+Index: django-uwsgi/docs/conf.py
+===================================================================
+--- django-uwsgi.orig/docs/conf.py	2015-09-14 17:06:42.636683829 +0200
++++ django-uwsgi/docs/conf.py	2015-09-14 18:01:46.048072814 +0200
+@@ -13,10 +13,10 @@
+ from django_uwsgi import __version__
+ 
+ 
+-extensions = [
+-    'sphinx.ext.intersphinx',
+-    'releases',
+-]
++#extensions = [
++#    'sphinx.ext.intersphinx',
++#    'releases',
++#]
+ 
+ releases_issue_uri = "https://github.com/unbit/django-uwsgi/issues/%s"
+ releases_release_uri = "https://github.com/unbit/django-uwsgi/tree/%s"
diff --git a/debian/python-django-uwsgi-doc.doc-base b/debian/python-django-uwsgi-doc.doc-base
new file mode 100644
index 0000000..5f02625
--- /dev/null
+++ b/debian/python-django-uwsgi-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-kombu-doc
+Title: django-uwsgi Documentation
+Author: Eugene MechanisM
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-django-uwsgi-doc/html/index.html
+Files: /usr/share/doc/python-django-uwsgi-doc/html/*.html
diff --git a/debian/python-django-uwsgi-doc.docs b/debian/python-django-uwsgi-doc.docs
new file mode 100644
index 0000000..2981a3c
--- /dev/null
+++ b/debian/python-django-uwsgi-doc.docs
@@ -0,0 +1 @@
+docs/.build/html
diff --git a/debian/python-django-uwsgi.docs b/debian/python-django-uwsgi.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-django-uwsgi.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python3-django-uwsgi.docs b/debian/python3-django-uwsgi.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-django-uwsgi.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7107e28
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=django-uwsgi
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
+
+override_dh_clean:
+	rm -rf docs/.build
+	dh_clean
+
+override_dh_fixperms:
+	dh_fixperms
+	chmod 0644 debian/python*-django-uwsgi/usr/lib/python*/*-packages/django_uwsgi/templates/uwsgi/*.html
+
+override_dh_compress:
+	dh_compress -Xchangelog.html
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..27e01ae
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/django-uwsgi/django-uwsgi-(.+)\.(?: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/django-uwsgi.git



More information about the Python-modules-commits mailing list