[Python-modules-commits] r16300 - in packages/python-django-websocket/trunk (12 files)
takaki at users.alioth.debian.org
takaki at users.alioth.debian.org
Thu Mar 31 13:28:00 UTC 2011
Date: Thursday, March 31, 2011 @ 13:27:57
Author: takaki
Revision: 16300
[svn-inject] Applying Debian modifications (0.3.0-1) to trunk
Added:
packages/python-django-websocket/trunk/debian/
packages/python-django-websocket/trunk/debian/changelog
packages/python-django-websocket/trunk/debian/compat
packages/python-django-websocket/trunk/debian/control
packages/python-django-websocket/trunk/debian/copyright
packages/python-django-websocket/trunk/debian/docs
packages/python-django-websocket/trunk/debian/patches/
packages/python-django-websocket/trunk/debian/patches/debian-changes-0.3.0-1
packages/python-django-websocket/trunk/debian/patches/series
packages/python-django-websocket/trunk/debian/rules
packages/python-django-websocket/trunk/debian/source/
packages/python-django-websocket/trunk/debian/source/format
Property changes on: packages/python-django-websocket/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/python-django-websocket/trunk/debian/changelog
===================================================================
--- packages/python-django-websocket/trunk/debian/changelog (rev 0)
+++ packages/python-django-websocket/trunk/debian/changelog 2011-03-31 13:27:57 UTC (rev 16300)
@@ -0,0 +1,5 @@
+python-django-websocket (0.3.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #611429)
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Sat, 29 Jan 2011 17:52:00 +0900
Added: packages/python-django-websocket/trunk/debian/compat
===================================================================
--- packages/python-django-websocket/trunk/debian/compat (rev 0)
+++ packages/python-django-websocket/trunk/debian/compat 2011-03-31 13:27:57 UTC (rev 16300)
@@ -0,0 +1 @@
+7
Added: packages/python-django-websocket/trunk/debian/control
===================================================================
--- packages/python-django-websocket/trunk/debian/control (rev 0)
+++ packages/python-django-websocket/trunk/debian/control 2011-03-31 13:27:57 UTC (rev 16300)
@@ -0,0 +1,25 @@
+Source: python-django-websocket
+Section: python
+Priority: extra
+Maintainer: TANIGUCHI Takaki <takaki at debian.org>
+Build-Depends: debhelper (>= 7.0.50~),
+ python-setuptools,
+ python-support,
+Standards-Version: 3.9.1
+Homepage: http://pypi.python.org/pypi/django-websocket
+#Vcs-Git: git://git.debian.org/collab-maint/python-django-websocket.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/python-django-websocket.git;a=summary
+
+Package: python-django-websocket
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ python-django,
+Description: Websocket support for django
+ The django-websocket module provides an implementation of the WebSocket
+ Protocol for django. It handles all the low-level details like
+ establishing the connection through sending handshake reply, parsing
+ messages from the browser etc...
+ .
+ It integrates well into django since it provides easy hooks to receive
+ WebSocket requests either for single views through decorators or for
+ the whole site through a custom middleware.
Added: packages/python-django-websocket/trunk/debian/copyright
===================================================================
--- packages/python-django-websocket/trunk/debian/copyright (rev 0)
+++ packages/python-django-websocket/trunk/debian/copyright 2011-03-31 13:27:57 UTC (rev 16300)
@@ -0,0 +1,36 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: python-django-websocket
+Source: http://pypi.python.org/pypi/django-websocket
+
+Files: *
+Copyright: Gregor Müllegger <gregor at muellegger de>
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2011 TANIGUCHI Takaki <takaki 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 the University 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 REGENTS 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 REGENTS 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.
Added: packages/python-django-websocket/trunk/debian/docs
===================================================================
--- packages/python-django-websocket/trunk/debian/docs (rev 0)
+++ packages/python-django-websocket/trunk/debian/docs 2011-03-31 13:27:57 UTC (rev 16300)
@@ -0,0 +1 @@
+README
Added: packages/python-django-websocket/trunk/debian/patches/debian-changes-0.3.0-1
===================================================================
--- packages/python-django-websocket/trunk/debian/patches/debian-changes-0.3.0-1 (rev 0)
+++ packages/python-django-websocket/trunk/debian/patches/debian-changes-0.3.0-1 2011-03-31 13:27:57 UTC (rev 16300)
@@ -0,0 +1,135 @@
+Description: Upstream changes introduced in version 0.3.0-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ python-django-websocket (0.3.0-1) unstable; urgency=low
+ .
+ * Initial release (Closes: #611429)
+ .
+ The person named in the Author field signed this changelog entry.
+Author: TANIGUCHI Takaki <takaki at debian.org>
+Bug-Debian: http://bugs.debian.org/611429
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- python-django-websocket-0.3.0.orig/django_websocket.egg-info/PKG-INFO
++++ python-django-websocket-0.3.0/django_websocket.egg-info/PKG-INFO
+@@ -105,32 +105,32 @@ Description: ================
+ Receive one message from the client, send that message back to the client and
+ close the connection (by returning from the view)::
+
+- from django_websocket import require_websocket
++ from django_websocket import require_websocket
+
+- @require_websocket
+- def echo_once(request):
+- message = request.websocket.wait()
+- request.websocket.send(message)
++ @require_websocket
++ def echo_once(request):
++ message = request.websocket.wait()
++ request.websocket.send(message)
+
+ Send websocket messages from the client as lowercase and provide same
+ functionallity for normal GET requests::
+
+- from django.http import HttpResponse
+- from django_websocket import accept_websocket
++ from django.http import HttpResponse
++ from django_websocket import accept_websocket
+
+- def modify_message(message):
+- return message.lower()
++ def modify_message(message):
++ return message.lower()
+
+- @accept_websocket
+- def lower_case(request):
+- if not request.is_websocket():
+- message = request.GET['message']
+- message = modify_message(message)
+- return HttpResponse(message)
+- else:
+- for message in request.websocket:
+- message = modify_message(message)
+- request.websocket.send(message)
++ @accept_websocket
++ def lower_case(request):
++ if not request.is_websocket():
++ message = request.GET['message']
++ message = modify_message(message)
++ return HttpResponse(message)
++ else:
++ for message in request.websocket:
++ message = modify_message(message)
++ request.websocket.send(message)
+
+ Disclaimer (what you should know when using django-websocket)
+ =============================================================
+@@ -151,7 +151,7 @@ Description: ================
+ settings to install it. Use your development server like you did before and
+ provide the ``--multithreaded`` option to enable multithreaded behaviour::
+
+- python manage.py runserver --multithreaded
++ python manage.py runserver --multithreaded
+
+ Using in production
+ -------------------
+@@ -210,27 +210,27 @@ Description: ================
+ -------------
+
+ - Changed name of attribute ``WebSocket.websocket_closed`` to
+- ``WebSocket.closed``.
++ ``WebSocket.closed``.
+ - Changed behaviour of ``WebSocket.close()`` method. Doesn't close system
+- socket - it's still needed by django!
++ socket - it's still needed by django!
+ - You can run tests now with ``python setup.py test``.
+ - Refactoring ``WebSocket`` class.
+ - Adding ``WebSocket.read()`` which returns ``None`` if no new messages are
+- available instead of blocking like ``WebSocket.wait()``.
++ available instead of blocking like ``WebSocket.wait()``.
+ - Adding example project to play around with.
+ - Adding ``WebSocket.has_messages()``. You can use it to check if new messages
+- are ready to be processed.
++ are ready to be processed.
+ - Adding ``WebSocket.count_messages()``.
+ - Removing ``BaseWebSocketMiddleware`` - is replaced by
+- ``WebSocketMiddleware``. Don't need for a base middleware anymore. We can
+- integrate everything in one now.
++ ``WebSocketMiddleware``. Don't need for a base middleware anymore. We can
++ integrate everything in one now.
+
+ Release 0.1.1
+ -------------
+
+ - Fixed a bug in ``BaseWebSocketMiddleware`` that caused an exception in
+- ``process_response`` if ``setup_websocket`` failed. Thanks to cedric salaun
+- for the report.
++ ``process_response`` if ``setup_websocket`` failed. Thanks to cedric salaun
++ for the report.
+
+ Release 0.1.0
+ -------------
+--- python-django-websocket-0.3.0.orig/django_websocket.egg-info/SOURCES.txt
++++ python-django-websocket-0.3.0/django_websocket.egg-info/SOURCES.txt
+@@ -2,6 +2,7 @@ CHANGES
+ LICENSE
+ MANIFEST.in
+ README
++setup.cfg
+ setup.py
+ django_websocket/__init__.py
+ django_websocket/decorators.py
Added: packages/python-django-websocket/trunk/debian/patches/series
===================================================================
--- packages/python-django-websocket/trunk/debian/patches/series (rev 0)
+++ packages/python-django-websocket/trunk/debian/patches/series 2011-03-31 13:27:57 UTC (rev 16300)
@@ -0,0 +1 @@
+debian-changes-0.3.0-1
Added: packages/python-django-websocket/trunk/debian/rules
===================================================================
--- packages/python-django-websocket/trunk/debian/rules (rev 0)
+++ packages/python-django-websocket/trunk/debian/rules 2011-03-31 13:27:57 UTC (rev 16300)
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
Property changes on: packages/python-django-websocket/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/python-django-websocket/trunk/debian/source/format
===================================================================
--- packages/python-django-websocket/trunk/debian/source/format (rev 0)
+++ packages/python-django-websocket/trunk/debian/source/format 2011-03-31 13:27:57 UTC (rev 16300)
@@ -0,0 +1 @@
+3.0 (quilt)
More information about the Python-modules-commits
mailing list