[Python-modules-commits] [python-django-channels] 02/02: Initial release (Closes: #882612).

Michael Fladischer fladi at moszumanska.debian.org
Fri Nov 24 20:00:41 UTC 2017


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

fladi pushed a commit to branch debian/master
in repository python-django-channels.

commit 61dec3d773006dd36b9473f7e9b75c3b45793ca7
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Fri Nov 24 20:56:30 2017 +0100

    Initial release (Closes: #882612).
---
 debian/changelog                           |  5 +++
 debian/clean                               |  6 ++++
 debian/compat                              |  1 +
 debian/control                             | 57 ++++++++++++++++++++++++++++++
 debian/copyright                           | 38 ++++++++++++++++++++
 debian/py3dist-overrides                   |  2 ++
 debian/python-django-channels-doc.doc-base | 10 ++++++
 debian/python3-django-channels.docs        |  1 +
 debian/rules                               | 27 ++++++++++++++
 debian/source/format                       |  1 +
 debian/source/lintian-overrides            | 10 ++++++
 debian/watch                               |  4 +++
 12 files changed, 162 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c2e1eb5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-django-channels (1.1.8-1) unstable; urgency=low
+
+  * Initial release (Closes: #882612).
+
+ -- Michael Fladischer <fladi at debian.org>  Mon, 20 Nov 2017 19:39:34 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..0416605
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,6 @@
+channels.egg-info/PKG-INFO
+channels.egg-info/SOURCES.txt
+channels.egg-info/dependency_links.txt
+channels.egg-info/requires.txt
+channels.egg-info/top_level.txt
+channels/static/channels/js/websocketbridge.js
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0e78582
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,57 @@
+Source: python-django-channels
+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 (>= 10),
+ dh-python,
+ node-browserify-lite,
+ python3-all,
+ python3-asgiref,
+ python3-daphne,
+ python3-django,
+ python3-setuptools,
+ python3-sphinx,
+Standards-Version: 4.1.1
+X-Python3-Version: >= 3.4
+Homepage: https://github.com/django/channels/
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-django-channels.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-django-channels.git
+Testsuite: autopkgtest-pkg-python
+
+Package: python-django-channels-doc
+Section: doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${sphinxdoc:Depends},
+Description: Developer-friendly asynchrony for Django (Documentation)
+ Channels is a project to make Django able to handle more than just plain HTTP
+ requests, including WebSockets and HTTP2, as well as the ability to run code
+ after a response has been sent for things like thumbnailing or background
+ calculation.
+ .
+ It’s an easy-to-understand extension of the Django view model, and easy to
+ integrate and deploy.
+ .
+ This package contains the documentation.
+
+Package: python3-django-channels
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Suggests:
+ python-django-channels-doc,
+Description: Developer-friendly asynchrony for Django (Python3 version)
+ Channels is a project to make Django able to handle more than just plain HTTP
+ requests, including WebSockets and HTTP2, as well as the ability to run code
+ after a response has been sent for things like thumbnailing or background
+ calculation.
+ .
+ It’s an easy-to-understand extension of the Django view model, and easy to
+ integrate and deploy.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bf73386
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-django-channels
+Upstream-Contact: Django Software Foundation <foundation at djangoproject.com>
+Source: https://github.com/django/channels/
+
+Files: *
+Copyright: 2017, Django Software Foundation and individual contributors
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2017, Michael Fladischer <fladi at debian.org>
+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:
+ .
+     1. Redistributions of source code must retain the above copyright notice,
+        this list of conditions and the following disclaimer.
+ .
+     2. 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.
+ .
+     3. Neither the name of Django 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 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/py3dist-overrides b/debian/py3dist-overrides
new file mode 100644
index 0000000..5176457
--- /dev/null
+++ b/debian/py3dist-overrides
@@ -0,0 +1,2 @@
+asgiref_ python3-asgiref
+daphne_ python3-daphne
diff --git a/debian/python-django-channels-doc.doc-base b/debian/python-django-channels-doc.doc-base
new file mode 100644
index 0000000..6ac4bb1
--- /dev/null
+++ b/debian/python-django-channels-doc.doc-base
@@ -0,0 +1,10 @@
+Document: python-django-channels-doc
+Title: django-channels Documentation
+Author: Django Software Foundation <foundation at djangoproject.com>
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-django-channels-doc/html/index.html
+Files: /usr/share/doc/python-django-channels-doc/html/*.html
+       /usr/share/doc/python-django-channels-doc/html/asgi/*.html
+       /usr/share/doc/python-django-channels-doc/html/releases/*.html
diff --git a/debian/python3-django-channels.docs b/debian/python3-django-channels.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-django-channels.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f0dbea3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=django-channels
+
+%:
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+
+override_dh_auto_build:
+	dh_auto_build
+	browserify-lite ./js_client/src/index.js --outfile channels/static/channels/js/websocketbridge.js
+
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args="PYTHONPATH=. {interpreter} /usr/bin/django-admin test --settings tests.settings"
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs $(CURDIR)/debian/python-django-channels-doc/usr/share/doc/python-django-channels-doc/html
+	dh_sphinxdoc
+endif
+
+override_dh_clean:
+	rm -rf docs/.build
+	dh_clean
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..d5f8bf6
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,10 @@
+# Caused by browserify injected boilerplate
+python-django-channels source: insane-line-length-in-source-file js_client/lib/index.js line length is 564 characters (>512)
+# Caused by browserify injected boilerplate
+python-django-channels source: source-contains-prebuilt-javascript-object js_client/lib/index.js line length is 564 characters (>512)
+# Caused by browserify injected boilerplate
+python-django-channels source: insane-line-length-in-source-file channels/static/channels/js/websocketbridge.js line length is 848 characters (>512)
+# Caused by browserify injected boilerplate
+python-django-channels source: source-contains-prebuilt-javascript-object channels/static/channels/js/websocketbridge.js line length is 848 characters (>512)
+# Source is included in js_client/src/index.js
+python-django-channels source: source-is-missing channels/static/channels/js/websocketbridge.js line length is 848 characters (>512)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4d21dfe
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.*\/([\d\.]+.*)$/python-django-channels-$1/ \
+https://github.com/django/channels/releases \
+/django/channels/archive/([\d\.]+)\.tar\.gz

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



More information about the Python-modules-commits mailing list