debian/0000755000000000000000000000000012561472367007203 5ustar debian/README.source0000644000000000000000000000243312561472367011364 0ustar Debian packaging for python-cyclone =================================== python-cyclone is managed in a Git repository using git-buildpackage (with pristine-tar). It follows most of the advice provided by Russ Allbery at: http://www.eyrie.org/~eagle/notes/debian/git.html Upstream source handling is a bit complicated because: * upstream tarballs do not contain all files in their preferred form of modifications, * upstream is using Git, * upstream stores non-free files in their Git repository. Creating an updated package for a new upstream release goes as: 0. Add a remote with upstream repository if not already done: $ git remote add github-upstream https://github.com/fiorix/cyclone 1. Fetch new commits from upstream repository: $ git fetch github-upstream 2. Verify the tag for the new version: $ git tag -v v$VERSION 3. Create temporary source tarball from upstream tag: $ git archive --format=tar --prefix=python-cyclone-$VERSION/ v$VERSION | gzip -c > ../upstream-cyclone-$VERSION.tar.gz 4. Import new upstream tarball using git-import-orig: $ git-import-orig ../upstream-cyclone-$VERSION.tar.gz --upstream-vcs-tag=v$VERSION -u$VERSION --pristine-tar 5. Hack, improve, update debian/changelog… 6. Build a new package: $ git-buildpackage debian/watch0000644000000000000000000000012712561472367010234 0ustar version=3 https://pypi.python.org/simple/cyclone \ .*/cyclone-(.+)\.tar\.gz#.* debian/source/0000755000000000000000000000000012561472367010503 5ustar debian/source/format0000644000000000000000000000001412561472367011711 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000116312561472367011056 0ustar python-cyclone (1.1-2) unstable; urgency=low * Update and fix watch file to use simple PyPI API. * Update Vcs-Browser URL. * Switch to debhelper 9, dh-python, and pybuild. * Only override permissions for examples that need it. This should make the build reproducible. * Add lintian overrides for some errors triggered by examples. * Bump Standards-Version, no changes required. -- Jérémy Bobbio Sat, 08 Aug 2015 23:30:16 +0200 python-cyclone (1.1-1) unstable; urgency=low * Initial release. (Closes: #719233) -- Jérémy Bobbio Thu, 15 Aug 2013 00:24:12 +0200 debian/copyright0000644000000000000000000000251112561472367011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: cyclone Source: http://cyclone.io/ Files: * Copyright: 2009-2013 Alexandre Fiori License: Apache-2.0 Files: cyclone/options.py Copyright: 2009 Facebook License: Apache-2.0 Files: cyclone/redis.py Copyright: 2009 Alexandre Fiori License: Apache-2.0 Files: cyclone/template.py scripts/cyclone twisted/plugins/cyclone_plugin.py Copyright: 2012 Alexandre Fiori License: Apache-2.0 License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. . On Debian systems, the complete text of the Apache 2.0 license can be found in the file `/usr/share/common-licenses/Apache-2.0`. . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Files: debian/* Copyright: 2013 Jérémy Bobbio License: permissive Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/examples0000644000000000000000000000001012561472367010733 0ustar demos/* debian/compat0000644000000000000000000000000212561472367010401 0ustar 9 debian/control0000644000000000000000000000252712561472367010614 0ustar Source: python-cyclone Maintainer: Jérémy Bobbio Section: python Priority: extra Build-Depends: debhelper (>= 9), dh-python, python-all (>= 2.6.6-3~), python-setuptools, python-twisted Standards-Version: 3.9.6 X-Python-Version: >= 2.6 Vcs-Git: git://anonscm.debian.org/git/collab-maint/python-cyclone.git Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/python-cyclone.git Homepage: http://cyclone.io/ Package: python-cyclone Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: web server framework for Python Twisted using the Tornado API Cyclone is a web server framework for Python that implements the Tornado API as a Twisted protocol. . Twisted is an event-driven network programming framework for Python. It’s one of the most mature libraries for non-blocking I/O available to the public. Tornado is one of the most popular and fast web servers for Python, with a very decent API for building web applications. . The idea is to bridge Tornado's elegant and straightforward API to Twisted's Event-Loop, enabling a vast number of supported protocols. . This combination provides the ground for building up hybrid servers capable of handling HTTP very efficiently while also serve or use email, SSH, SIP, IRC, etc., all concurrently. debian/rules0000755000000000000000000000111712561472367010263 0ustar #!/usr/bin/make -f %: dh $@ --with=python2 --buildsystem=pybuild override_dh_install: dh_install -O--buildsystem=pybuild rm -f debian/python-cyclone/usr/bin/cyclone override_dh_fixperms: dh_fixperms -O--buildsystem=pybuild chmod 644 debian/python-cyclone/usr/share/doc/python-cyclone/examples/helloworld/helloworld_simple.py chmod 644 debian/python-cyclone/usr/share/doc/python-cyclone/examples/ssl/helloworld_simple.py override_dh_clean: dh_clean -O--buildsystem=pybuild rm -f twisted/plugins/dropin.cache override_dh_compress: dh_compress -O--buildsystem=pybuild -Xexamples/ debian/python-cyclone.lintian-overrides0000644000000000000000000000244312561472367015541 0ustar # These are exmaples, so it's up to people using them to treat users right python-cyclone binary: privacy-breach-may-use-debian-package usr/share/doc/python-cyclone/examples/chat/templates/index.html You may use libjs-jquery package. (http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js) python-cyclone binary: privacy-breach-facebook usr/share/doc/python-cyclone/examples/fbgraphapi/templates/modules/post.html (//graph.facebook.com/{{ escape(post[) python-cyclone binary: privacy-breach-may-use-debian-package usr/share/doc/python-cyclone/examples/websocket/chat/templates/index.html You may use libjs-jquery package. (http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js) python-cyclone binary: privacy-breach-may-use-debian-package usr/share/doc/python-cyclone/examples/websocket/chat/templates/stats.html You may use libjs-jquery package. (http://yandex.st/jquery/1.7.1/jquery.min.js) python-cyclone binary: privacy-breach-may-use-debian-package usr/share/doc/python-cyclone/examples/websocket/chat/templates/stats.html You may use libjs-jquery-flot package. (http://yandex.st/jquery/flot/0.7/jquery.flot.min.js) # This script is indeed for twistd, no problem python-cyclone binary: example-unusual-interpreter usr/share/doc/python-cyclone/examples/helloworld/helloworld_twistd.py #!twistd debian/gbp.conf0000644000000000000000000000020312561472367010615 0ustar [DEFAULT] pristine-tar = True [git-import-orig] filter = ['debian', 'website', 'demos/websocket/echo'] filter-pristine-tar = True