debian/0000755000000000000000000000000012203001626007156 5ustar debian/gbp.conf0000644000000000000000000000020312203001626010570 0ustar [DEFAULT] pristine-tar = True [git-import-orig] filter = ['debian', 'website', 'demos/websocket/echo'] filter-pristine-tar = True debian/rules0000755000000000000000000000106512203001626010240 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=python_distutils --with=python2 override_dh_install: dh_install -O--buildsystem=python_distutils rm -f debian/python-cyclone/usr/bin/cyclone override_dh_clean: dh_clean -O--buildsystem=python_distutils rm -f twisted/plugins/dropin.cache override_dh_fixperms: dh_fixperms -O--buildsystem=python_distutils -Xexamples/ find debian/python-cyclone/usr/share/doc/python-cyclone/examples -type f -name '*.py' -print0 | xargs -0 chmod 644 override_dh_compress: dh_compress -O--buildsystem=python_distutils -Xexamples/ debian/control0000644000000000000000000000250112203001626010557 0ustar Source: python-cyclone Maintainer: Jérémy Bobbio Section: python Priority: extra Build-Depends: debhelper (>= 8), python-all (>= 2.6.6-3~), python-setuptools, python-twisted Standards-Version: 3.9.4 X-Python-Version: >= 2.6 Vcs-Git: git://anonscm.debian.org/git/collab-maint/python-cyclone.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=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/compat0000644000000000000000000000000212203001626010354 0ustar 8 debian/examples0000644000000000000000000000001012203001626010706 0ustar demos/* debian/copyright0000644000000000000000000000251112203001626011110 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/changelog0000644000000000000000000000023612203001626011031 0ustar 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/source/0000755000000000000000000000000012203001626010456 5ustar debian/source/format0000644000000000000000000000001412203001626011664 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020112203001626010200 0ustar version=3 https://pypi.python.org/pypi/cyclone \ https://pypi.python.org/packages/source/c/cyclone/cyclone-(.+)\.tar\.gz debian/README.source0000644000000000000000000000243312203001626011337 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