--- twisted-web-12.0.0.orig/debian/python-twisted-web.postinst +++ twisted-web-12.0.0/debian/python-twisted-web.postinst @@ -0,0 +1,30 @@ +#! /bin/sh + +set -e + +#DEBHELPER# + +case "$1" in + configure) + for p in $(pyversions -i); do + $p -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || true + done + ;; +esac + +exit 0 +#! /bin/sh + +set -e + +#DEBHELPER# + +case "$1" in + configure) + for p in $(pyversions -i); do + $p -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || true + done + ;; +esac + +exit 0 --- twisted-web-12.0.0.orig/debian/copyright +++ twisted-web-12.0.0/debian/copyright @@ -0,0 +1,55 @@ +This package was debianized by Moshe Zadka +on Sat, 21 Jul 2001 09:35:33 +0300, +updated for 2.0 by Matthias Klose + +It was downloaded from http://www.twistedmatrix.com + +Copyright (c) 2004 +Allen Short +Andrew Bennetts +Benjamin Bruheim +Bob Ippolito +Christopher Armstrong +Donovan Preston +Itamar Shtull-Trauring +James Knight +Jason A. Mobarak +Jonathan Lange +Jonathan D. Simms +Jp Calderone +Juergen Hermann +Kevin Turner +Mary Gardiner +Matthew Lefkowitz +Massachusetts Institute of Technology +Moshe Zadka +Paul Swartz +Pavel Pergamenshchik +Sean Riley +Travis B. Hartwell + +except as noted at the end of this file. + +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. + + +Copyright Exceptions: + +No exceptions are listed in the upstream source. --- twisted-web-12.0.0.orig/debian/watch +++ twisted-web-12.0.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://tmrc.mit.edu/mirror/twisted/Web/(\d\.\d)/ TwistedWeb-([\d\.]*)\.tar\.bz2 --- twisted-web-12.0.0.orig/debian/compat +++ twisted-web-12.0.0/debian/compat @@ -0,0 +1 @@ +6 --- twisted-web-12.0.0.orig/debian/rules +++ twisted-web-12.0.0/debian/rules @@ -0,0 +1,81 @@ +#! /usr/bin/make -f + +SHELL = /bin/bash + +# all versions +PYVERS := $(shell pyversions -rvs debian/control) +VER := $(shell /usr/bin/python -c 'import sys; print sys.version[:3]') + +build: build-stamp +build-indep: build-stamp +build-arch: build-stamp +build-stamp: $(PYVERS:%=build-python%) + touch $@ +build-python%: + python$* setup.py build + touch $@ + +clean: + rm -rf *-stamp build-python* build + rm -rf $(addprefix debian/,$(packages)) debian/files debian/substvars + rm -rf _trial_temp test.log + find . -name "*.pyc" |xargs -r rm + dh_clean + +install: build-stamp install-prereq $(PYVERS:%=install-python%) install-nover + +install-prereq: build-stamp + dh_testdir + dh_testroot + dh_clean -k + +install-python%: install-prereq + : # python-twisted-web + python$* setup.py install --prefix=debian/python-twisted-web/usr + -find debian/python-twisted-web -name '*.py[co]' | xargs rm -f + + + : # Replace all '#!' calls to python with python + : # and make them executable + for i in `find debian/python-twisted-* -mindepth 3 -type f`; do \ + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ + $$i > $$i.temp; \ + if cmp --quiet $$i $$i.temp; then \ + rm -f $$i.temp; \ + else \ + mv -f $$i.temp $$i; \ + chmod 755 $$i; \ + echo "fixed interpreter: $$i"; \ + fi; \ + done + +install-nover: + : # python-twisted-web + mkdir -p debian/python-twisted-web/usr/share/man/man1 + for i in doc/man/*.1; do \ + [ -f $$i ] || continue; \ + cp -p $$i debian/python-twisted-web/usr/share/man/man1/; \ + done + cd debian/python-twisted-web/usr && rmdir --parents share/man/man1 || true + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs -i + dh_installdocs -i -A NEWS README + dh_installdocs -ppython-twisted-web doc/examples doc/howto doc/img + dh_installmenu -i + dh_compress -i -X.py + dh_fixperms -i + dh_pycentral -i + dh_python -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install +# nothing to do + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install install-nover install-prereq --- twisted-web-12.0.0.orig/debian/changelog +++ twisted-web-12.0.0/debian/changelog @@ -0,0 +1,517 @@ +twisted-web (12.0.0-1~ppa1~hardy1) hardy; urgency=low + + * New upstream version. + * Rebuild package for use in PPA. + * Drop support for Python 2.4. + + -- Jessica McKellar Tue, 21 Feb 2012 08:23:35 -0500 + +twisted-web (10.1.0-0~ppa1~hardy1) hardy; urgency=low + + * New upstream version. + + -- Esteve Fernandez Mon, 12 Jul 2010 19:45:19 +0200 + +twisted-web (10.0.0-0~ppa1~hardy1) hardy; urgency=low + + * New upstream version. + + -- Esteve Fernandez Thu, 04 Mar 2010 12:27:01 +0100 + +twisted-web (9.0.0-1~ppa1~hardy1) hardy; urgency=low + + * New upstream version. + + -- Esteve Fernandez Fri, 08 Jan 2010 01:33:29 +0100 + +twisted-web (8.2.0-2ubuntu1~ppa1~hardy1) hardy; urgency=low + + * Backported from twisted-web=8.2.0-2ubuntu1: + python-twisted-web: Regenerate the plugin cache as the last action + in the postinst. Closes: #521663. LP: #361865. + + -- Esteve Fernandez Thu, 07 Jan 2010 19:43:32 +0100 + +twisted-web (8.2.0-1~ppa1~hardy1) hardy; urgency=low + + * New upstream version. + + -- Esteve Fernandez Fri, 24 Jul 2009 10:31:48 +0200 + +twisted-web (8.1.0-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Wed, 28 May 2008 23:57:29 +0200 + +twisted-web (8.0.0-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Sun, 30 Mar 2008 21:48:11 +0200 + +twisted-web (0.7.0-1) unstable; urgency=low + + * New upstream version. + * debian/control: Update (build-)dependencies. + * debian/watch: Update. + + -- Matthias Klose Sun, 20 May 2007 19:54:32 +0200 + +twisted-web (0.6.0-1) unstable; urgency=low + + * New upstream version. + * Convert packaging to use python-central (closes: #373399). + + -- Matthias Klose Fri, 16 Jun 2006 00:12:04 +0000 + +twisted-web (0.5.0-4.1) unstable; urgency=low + + * Non-maintainer Upload (with permission). + * Build-Depend on -twisted-core instead of -twisted (closes: #357921). + + -- Simon Huggins Mon, 15 May 2006 18:38:14 +0100 + +twisted-web (0.5.0-4) unstable; urgency=low + + * Depend on python-soappy. Closes: #317290. + + -- Matthias Klose Sun, 5 Mar 2006 13:57:49 +0000 + +twisted-web (0.5.0-3) unstable; urgency=low + + * Depend on -core packages instead of -twisted packages (closes: #351211). + + -- Matthias Klose Fri, 3 Feb 2006 12:33:39 +0000 + +twisted-web (0.5.0-2) unstable; urgency=low + + * Add conflict/replaces to python-twisted (<< 2.1). + + -- Matthias Klose Thu, 2 Feb 2006 18:13:11 +0000 + +twisted-web (0.5.0-1) unstable; urgency=low + + * New upstream version, web splitted out in it's own tarball. + + -- Matthias Klose Mon, 16 Jan 2006 09:41:28 +0000 + +twisted (2.0.1-4) unstable; urgency=low + + * Fix doc symlinks (closes: #313313). + * Remove conflict with supyb, requested by the supyb maintainer. + * Suggest python-wxgtk2.4 | python-wxgtk2.6. + * Fix man page symlinks (closes: #326021, #314508, #315307, #323551). + * Fix location of the tutorial in the doc-base file (closes: #318167). + * python-twisted: Add dependency on python-soappy (closes: #317290). + + -- Matthias Klose Thu, 1 Sep 2005 15:49:29 +0200 + +twisted (2.0.1-3) unstable; urgency=low + + * Drop python2.2 packages, build python2.4 packages. + + -- Matthias Klose Sun, 12 Jun 2005 19:05:59 +0200 + +twisted (2.0.1-2) unstable; urgency=low + + * Reupload as -2, -1 is sticking in the NEW queue from a hijack attempt. + + -- Matthias Klose Sun, 12 Jun 2005 18:41:05 +0200 + +twisted (2.0.1-1) unstable; urgency=low + + * New upstream version, built from the sumo tarball. + * (Build-)depend on zope-interface. + * Explicitely conflict with all current packages depending on + python-twisted and python-twisted-conch. Please check for + compatibility first. + * Do provide menu entries for the default version only. + * Empty twisted-doc-api package at the moment. + * Use debhelper for the packaging. + * Change priority to optional. + + -- Matthias Klose Sun, 12 Jun 2005 14:52:40 +0200 + +twisted (1.3.0-8) unstable; urgency=low + + * Fix the fix in gtk2reactor. + + -- Matthias Klose Fri, 11 Feb 2005 14:45:43 +0100 + +twisted (1.3.0-7) unstable; urgency=low + + * Conditionally import the profile module (closes: #294493). + * Add suggestions to the python-profiler package. + * Suppress gtk2 user warning in gtk2reactor (closes: #291310). + + -- Matthias Klose Thu, 10 Feb 2005 13:12:20 +0100 + +twisted (1.3.0-6) unstable; urgency=medium + + * Fix two bad mail-related bugs, which are really harmful for the + scalemail application (Tommi Virtanen): + - insufficient error handling in mail delivery, causing mail loss + (fixed by r12036) + - unable to send mail from <> (fixed by r12767, which broke receiving + mail from <>, which is fixed in r12858). + Closes: #289993. + + -- Matthias Klose Sat, 15 Jan 2005 23:49:03 +0100 + +twisted (1.3.0-5) unstable; urgency=low + + * Fix memory leak in _c_urlarg.c (closes: #284818). + * python2.3-twisted: Add python-glade-1.2 python-gtk-1.2 suggests. + Closes: #283238. + + -- Matthias Klose Mon, 20 Dec 2004 19:23:11 +0100 + +twisted (1.3.0-4) unstable; urgency=low + + * Fix package recommendations. + * twisted/xish/domish.py: Add fixes for jabber protocol implementation. + Alexandre Fayolle. Closes: #273141. + + -- Matthias Klose Wed, 6 Oct 2004 08:06:47 +0200 + +twisted (1.3.0-3) unstable; urgency=medium + + * twisted-doc-api: Add link to docs (closes: #255888). + * twisted-doc: Rename examples/xindex.html (closes: #255887). + * twisted-doc: Include the Twisted tutorial (closes: #256598). + * Install the PDF version of the Twisted Book, not the PostScript version. + * python-twisted: Recommend the python-serial package. + * Fix nmea protocol failing when checksums turned off (closes: #243136). + * Add support for bool types in Twisted Serialize module (python2.3 only). + Closes: #217053. + + -- Matthias Klose Sun, 29 Aug 2004 15:31:36 +0200 + +twisted (1.3.0-2) unstable; urgency=low + + * Fix links in twisted-doc's index.html (closes: #255548). + + -- Matthias Klose Mon, 21 Jun 2004 22:01:11 +0200 + +twisted (1.3.0-1) unstable; urgency=low + + * New upstream version. + * Hijacking the package. + See http://lists.debian.org/debian-qa/2004/06/msg00070.html. + * Fix doc-base file (closes: #220698, #220699). + * html files are included as .html, not .xhtml (closes: #192600). + * Make package descriptions more verbose (closes: #209816). + * Fix some lintian errors. + + -- Matthias Klose Sat, 19 Jun 2004 00:54:55 +0200 + +twisted (1.2.0-1.1) unstable; urgency=low + + * NMU. + * Fix suggestions and recommendations: + - Make python-pyopenssl, python-pam recommendations. + - Make python-tk, python-gtk2, python-glade2, python-qt3, + libwxgtk2.4-python suggestions. + Closes: #240564. + * python-twisted-conch: Depend on python2.3-twisted-conch. + * Use Debian's way importing gtk2: + - doc/examples/pbgtk2.py + - twisted/spread/ui/gtk2util.py + * The Debian package provided upstream isn't a big help, as it's just + an outdated copy of the Debian package :-( + + -- Matthias Klose Sat, 17 Apr 2004 14:25:26 +0200 + +twisted (1.2.0-1) unstable; urgency=low + + * New upstream version (closes: #211102). + + -- Matthias Klose Thu, 26 Feb 2004 07:05:22 +0100 + +twisted (1.1.2-1) unstable; urgency=low + + * New upstream version + + -- Moshe Zadka Thu, 18 Feb 2004 12:03:02 -0500 + +twisted (1.1.1-1) unstable; urgency=low + + * New upstream version + + -- Moshe Zadka Thu, 15 Jan 2004 12:03:02 -0500 + +twisted (1.1.0-1) unstable; urgency=low + + * New upstream version + + -- Moshe Zadka Thu, 21 Nov 2003 14:56:54 -0500 + +twisted (1.0.7-1) unstable; urgency=low + + * New upstream version + + -- Moshe Zadka Thu, 17 Sep 2003 00:33:51 -0500 + +twisted (1.0.6-1) unstable; urgency=low + + * New upstream version. + * NMU (encouraged by maintainer) + + -- Martin Sjogren Thu, 3 Jul 2003 07:45:27 +0200 + +twisted (1.0.5-1) unstable; urgency=low + + * New upstream version + * Remove Python 2.1 packages -- upstream no longer supports 2.1 + + -- Moshe Zadka Thu, 1 May 2003 09:06:49 +0300 + +twisted (1.0.4-1) unstable; urgency=low + + * New upstream version + + -- Moshe Zadka Fri, 18 Apr 2003 03:46:22 +0000 + +twisted (1.0.3-1) unstable; urgency=low + + * Split out conch + * This allows us to have conch properly depend on python-crypto + * Documentation improvements + * Installing xhtml versions of everything + * Distributing ps and pdf versions of book + * doc-base support + * Split out doc-api + * It's HUGE and many people don't need it (since it is available on the + web) + + -- Moshe Zadka Tue, 12 Nov 2002 02:59:56 -0600 + +twisted (1.0.0-2) unstable; urgency=low + + * Put api docs in api/ (Closes: #167196) + + -- Moshe Zadka Thu, 7 Nov 2002 12:27:37 -0600 + +twisted (1.0.0-1) unstable; urgency=low + + * New upstream release + + -- Moshe Zadka Tue, 22 Oct 2002 06:22:49 -0500 + +twisted (0.99.2-4) unstable; urgency=low + + * UGH! Python 2.3 distutils bug is back + * Working around it + + -- Moshe Zadka Wed, 2 Oct 2002 12:07:25 +0000 + +twisted (0.99.2-3) unstable; urgency=low + + * Adding "/usr/bin/python" to build dependencies. + + -- Moshe Zadka Mon, 30 Sep 2002 15:46:56 +0000 + +twisted (0.99.2-2) unstable; urgency=low + + * Enabling Python 2.3 support + + -- Moshe Zadka Fri, 27 Sep 2002 10:49:43 -0500 + +twisted (0.99.2-1) unstable; urgency=low + + * New upstream + * Fixed build dependencies (Closes: #159258) + + -- Moshe Zadka Mon, 23 Sep 2002 08:56:05 -0500 + +twisted (0.99.0-1) unstable; urgency=low + + * New upstream version. + * Packaging changes: + * "Twisted" is now a package, to facilitate upgrades from woody + (there are verioned depends:) + * New package: twisted-quotes -- quotes collected by the Twisted release + team + + -- Moshe Zadka Thu, 29 Aug 2002 08:05:38 -0500 + +twisted (0.19.0-2) unstable; urgency=low + + * Gagh, make python2.2-twisted any, not all. + + -- Moshe Zadka Wed, 31 Jul 2002 02:25:23 -0500 + +twisted (0.19.0-1) unstable; urgency=low + + * New upstream release + * Debian packaging changes: + * split python2.x-twisted into python2.x-twisted and python2.x-twisted-bin + * unfortunately, because of distutils mind boggling stupidity, it will + do most of the work for building the arch-independant utilities when + building the c module + * fortunately, twisted will now take up much less room in the archive + + -- Moshe Zadka Wed, 19 Jun 2002 18:01:50 +0300 + +twisted (0.18.0-2) unstable; urgency=low + + * The "Aaaaarrrgghhh, I'm stupid release" + * debian/control: python2.1-twisted needs to Conflict:/Replace: twisted too + + -- Moshe Zadka Tue, 18 Jun 2002 20:22:08 +0300 + +twisted (0.18.0-1) unstable; urgency=low + + * New upstream release + * Lots of debian changes: + * building python2.1-twisted, python2.2-twisted + * python-twisted depends on python2.1-twisted + * menu support for t-im and manhole enabled + * Removed debelper + * Added debian/scripts/ directory with helper scripts + * This will (hopefully) mean support python2.3 will be easy + * Upstream fixed tcp client (Closes: #142789) + + -- Moshe Zadka Tue, 28 May 2002 12:35:35 +0300 + +twisted (0.17.3-1) unstable; urgency=low + + * New upstream release + + -- Moshe Zadka Fri, 19 Apr 2002 02:55:43 -0500 + +twisted (0.17.0-1) unstable; urgency=low + + * New upstream release + * Now building two packages -- one for the code, one for the docs + + If you want the docs, install twisted-docs too + + Feedback is encouraged about whether a 2.2-supporting version is needed + + -- Moshe Zadka Thu, 14 Mar 2002 07:24:07 +0200 + +twisted (0.15.5-1) unstable; urgency=low + + * New upstream release + + -- Moshe Zadka Fri, 8 Mar 2002 07:14:16 +0200 + +twisted (0.15.4-1) unstable; urgency=low + + * New upstream version + * Better DNS support + + -- Moshe Zadka Tue, 5 Mar 2002 13:54:37 +0200 + +twisted (0.15.3-1) unstable; urgency=low + + * New upstream release + * Fixed stupidproxy bug, where connections weren't closed + + -- Moshe Zadka Thu, 28 Feb 2002 21:07:28 +0200 + +twisted (0.15.1-1) unstable; urgency=low + + * New upstream release + + -- Moshe Zadka Tue, 12 Feb 2002 20:36:38 +0200 + +twisted (0.15.0-1) unstable; urgency=low + + * New upstream release + * IM application: many improvements, new GTK+ client + * easier to add error callbacks to deferred + * SOCKSv4 support + * bugs fixed in t.i.tcp + * added approveConnection (again ;-) + * All non-blocking methods now return deferreds instead of accepting + callbacks (hopefully) + * low-level protocol changes + * New t.web applications and features + * Perspective retrieval now async + * Enterprise now fixed + + -- Moshe Zadka Wed, 6 Feb 2002 14:38:38 +0200 + +twisted (0.13.0-1) unstable; urgency=low + + * New upstream version + * New forum + * New config interface + * New metrics + + -- Moshe Zadka Thu, 10 Jan 2002 20:04:30 +0200 + +twisted (0.12.2-1) unstable; urgency=low + + * New upstream versions (many bugfixes) + + -- Moshe Zadka Thu, 29 Nov 2001 08:01:23 +0200 + +twisted (0.12.1-1) unstable; urgency=low + + * New upstream version (mainly bugfixes) + + -- Moshe Zadka Thu, 22 Nov 2001 09:09:14 +0200 + +twisted (0.12.0-1) unstable; urgency=low + + * New upstream version + * Using Python 2.1 + + -- Moshe Zadka Wed, 21 Nov 2001 15:17:25 +0200 + +twisted (0.10.3-1) unstable; urgency=low + + * New upstream release + * twisted.names, resolving internet names + * optimizations + * works with Jython too + + -- Moshe Zadka Sun, 30 Sep 2001 23:46:45 +0200 + +twisted (0.10.2-1) unstable; urgency=low + + * New upstream release + * bug fixes + * timeouts for client sockets + * Tutorial about plugins + * Mail has changed API in an incompatible way + + -- Moshe Zadka Wed, 12 Sep 2001 23:00:59 +0300 + +twisted (0.10.1-1) unstable; urgency=low + + * New upstream release + * Massive renaming in prespective broker classes + * web proxying + * TCP connection forwarding + * Lots of new protocols: LDAP, finger and obscure RFCs + * --plugin option to twistd + * web widgets + * twisted.enterprise improved a lot + + -- Moshe Zadka Fri, 31 Aug 2001 06:49:00 +0300 + +twisted (0.10.0-1) unstable; urgency=low + + * New upstream release + * Added twisted.tap and twisted.mail to distribution + * Added docs about writing new twisted servers + * Changed mail API: now, saveMessage gets the SMTP from too + * Removed spurious prints from twisted.mail.mail + * Possible to relay mail to unknown domains via smart host + * tap2deb can create policy compliant Debian packages around .tap's + * Fixed debian/rules clean target (closes: Bug#108245) + * New arguments to twistd: --python, --no_save + * New arguments to mktap: --append + * twisted.tcp.Port can now change the size of the backlog from 5 + * UDP servers now possible + + -- Moshe Zadka Thu, 9 Aug 2001 09:37:03 +0300 + +twisted (0.9.4-1) unstable; urgency=low + + * Initial Release. (closes: #105843) + + -- Moshe Zadka Thu, 26 Jul 2001 21:09:53 +0300 --- twisted-web-12.0.0.orig/debian/control +++ twisted-web-12.0.0/debian/control @@ -0,0 +1,19 @@ +Source: twisted-web +Section: python +Priority: optional +Maintainer: Matthias Klose +Build-Depends: debhelper (>= 5.0.37.1), python-central (>= 0.6.7), python-all, python-twisted-core (>= 12.0), patch +XS-Python-Version: >= 2.5 +Standards-Version: 3.9.2 + +Package: python-twisted-web +Architecture: all +Depends: ${python:Depends}, python-twisted-core (>= 12.0), ${misc:Depends} +Conflicts: python-twisted (<< 2.1), python2.3-twisted-web, python2.4-twisted-web +Replaces: python-twisted (<< 2.1), python2.3-twisted-web, python2.4-twisted-web +XB-Python-Version: ${python:Versions} +Description: HTTP protocol implementation together with clients and servers + Twisted web is a web server, and also provides basic HTTP client + support. You may want to check out Nevow, a templating toolkit + designed for twisted.web, and Twisted Web2, the next generation + Twisted web server.