1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/packages/debian/python2.4-webstack/debian/changelog Tue Aug 16 17:35:33 2005 +0000
1.3 @@ -0,0 +1,5 @@
1.4 +webstack (1.0-1) unstable; urgency=low
1.5 +
1.6 + * New upstream release.
1.7 +
1.8 + -- Paul Boddie <paul@boddie.org.uk> Tue, 16 Aug 2005 19:19:05 +0200
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/packages/debian/python2.4-webstack/debian/control Tue Aug 16 17:35:33 2005 +0000
2.3 @@ -0,0 +1,18 @@
2.4 +Source: webstack
2.5 +Priority: optional
2.6 +Maintainer: Paul Boddie <paul@boddie.org.uk>
2.7 +Build-Depends: debhelper (>> 3.0.0)
2.8 +Standards-Version: 3.5.8
2.9 +Section: python
2.10 +
2.11 +Package: python2.4-webstack
2.12 +Section: python
2.13 +Architecture: all
2.14 +Depends: python2.4
2.15 +Suggests: jython, libapache2-mod-python2.4, python2.4-twisted, zope
2.16 +Description: Common API for Web applications
2.17 + WebStack is a package which provides a common API for Python Web applications
2.18 + supporting BaseHTTPRequestHandler, CGI, Jython/Java Servlet API, mod_python,
2.19 + Twisted, Webware and Zope 2.
2.20 + .
2.21 + This package is built for Python 2.4.x.
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/packages/debian/python2.4-webstack/debian/copyright Tue Aug 16 17:35:33 2005 +0000
3.3 @@ -0,0 +1,39 @@
3.4 +Package creator:
3.5 +
3.6 + Paul Boddie <paul@boddie.org.uk>
3.7 +
3.8 +The origin of the package is:
3.9 +
3.10 + http://www.boddie.org.uk/python/WebStack.html
3.11 +
3.12 +Package author:
3.13 +
3.14 + Paul Boddie <paul@boddie.org.uk>
3.15 +
3.16 +Copyright:
3.17 +
3.18 +Licence Agreement for WebStack
3.19 +------------------------------
3.20 +
3.21 +Copyright (C) 2004, 2005 Paul Boddie <paul@boddie.org.uk>
3.22 +
3.23 +This library is free software; you can redistribute it and/or
3.24 +modify it under the terms of the GNU Lesser General Public
3.25 +License as published by the Free Software Foundation; either
3.26 +version 2.1 of the License, or (at your option) any later version.
3.27 +
3.28 +This library is distributed in the hope that it will be useful,
3.29 +but WITHOUT ANY WARRANTY; without even the implied warranty of
3.30 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3.31 +Lesser General Public License for more details.
3.32 +
3.33 +You should have received a copy of the GNU Lesser General Public
3.34 +License along with this library; if not, write to the Free Software
3.35 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3.36 +
3.37 +Licence for Other Software
3.38 +--------------------------
3.39 +
3.40 +See the LICENCE-PyServlet.txt file for the PyServlet copyrights and licence.
3.41 +The wsgi_cgi.py module originates from PEP 333 and is apparently "placed in
3.42 +the public domain" (see http://www.python.org/peps/pep-0333.html).
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/packages/debian/python2.4-webstack/debian/docs Tue Aug 16 17:35:33 2005 +0000
4.3 @@ -0,0 +1,2 @@
4.4 +README.txt
4.5 +docs
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/packages/debian/python2.4-webstack/debian/postinst Tue Aug 16 17:35:33 2005 +0000
5.3 @@ -0,0 +1,49 @@
5.4 +#! /bin/sh
5.5 +# postinst script for WebStack
5.6 +#
5.7 +# see: dh_installdeb(1)
5.8 +
5.9 +set -e
5.10 +
5.11 +# summary of how this script can be called:
5.12 +# * <postinst> `configure' <most-recently-configured-version>
5.13 +# * <old-postinst> `abort-upgrade' <new version>
5.14 +# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
5.15 +# <new-version>
5.16 +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
5.17 +# <failed-install-package> <version> `removing'
5.18 +# <conflicting-package> <version>
5.19 +# for details, see http://www.debian.org/doc/debian-policy/ or
5.20 +# the debian-policy package
5.21 +#
5.22 +# quoting from the policy:
5.23 +# Any necessary prompting should almost always be confined to the
5.24 +# post-installation script, and should be protected with a conditional
5.25 +# so that unnecessary prompting doesn't happen if a package's
5.26 +# installation fails and the `postinst' is called with `abort-upgrade',
5.27 +# `abort-remove' or `abort-deconfigure'.
5.28 +
5.29 +PACKAGE=python2.4-webstack
5.30 +VERSION=2.4
5.31 +LIB="/usr/lib/python$VERSION"
5.32 +DIRLIST="$LIB/site-packages/WebStack"
5.33 +
5.34 +case "$1" in
5.35 + configure|abort-upgrade|abort-remove|abort-deconfigure)
5.36 + for i in $DIRLIST ; do
5.37 + /usr/bin/python$VERSION -O $LIB/compileall.py -q $i
5.38 + /usr/bin/python$VERSION $LIB/compileall.py -q $i
5.39 + done
5.40 + ;;
5.41 +
5.42 + *)
5.43 + echo "postinst called with unknown argument \`$1'" >&2
5.44 + exit 1
5.45 + ;;
5.46 +esac
5.47 +
5.48 +
5.49 +
5.50 +exit 0
5.51 +
5.52 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/packages/debian/python2.4-webstack/debian/prerm Tue Aug 16 17:35:33 2005 +0000
6.3 @@ -0,0 +1,26 @@
6.4 +#! /bin/sh
6.5 +# prerm script for WebStack
6.6 +
6.7 +set -e
6.8 +
6.9 +PACKAGE=python2.4-webstack
6.10 +VERSION=2.4
6.11 +LIB="/usr/lib/python$VERSION"
6.12 +DIRLIST="$LIB/site-packages/WebStack"
6.13 +
6.14 +case "$1" in
6.15 + remove|upgrade|failed-upgrade)
6.16 + for i in $DIRLIST ; do
6.17 + find $i -name '*.py[co]' -exec rm \{\} \;
6.18 + done
6.19 + ;;
6.20 +
6.21 + *)
6.22 + echo "prerm called with unknown argument \`$1'" >&2
6.23 + exit 1
6.24 + ;;
6.25 +esac
6.26 +
6.27 +
6.28 +
6.29 +exit 0
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/packages/debian/python2.4-webstack/debian/rules Tue Aug 16 17:35:33 2005 +0000
7.3 @@ -0,0 +1,49 @@
7.4 +#!/usr/bin/make -f
7.5 +# Sample debian/rules that uses debhelper.
7.6 +# GNU copyright 1997 to 1999 by Joey Hess.
7.7 +
7.8 +# Uncomment this to turn on verbose mode.
7.9 +#export DH_VERBOSE=1
7.10 +
7.11 +# This is the debhelper compatibility version to use.
7.12 +export DH_COMPAT=4
7.13 +
7.14 +
7.15 +
7.16 +build: build-stamp
7.17 + /usr/bin/python2.4 setup.py build
7.18 +build-stamp:
7.19 + touch build-stamp
7.20 +
7.21 +configure:
7.22 + # Do nothing
7.23 +
7.24 +clean:
7.25 + dh_testdir
7.26 + dh_testroot
7.27 + rm -f build-stamp
7.28 +
7.29 + -rm -rf build
7.30 +
7.31 + dh_clean
7.32 +
7.33 +install: build
7.34 + dh_testdir
7.35 + dh_testroot
7.36 + dh_clean -k
7.37 + /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-webstack/usr
7.38 +
7.39 +# Build architecture-independent files here.
7.40 +binary-indep: install
7.41 + dh_testdir
7.42 + dh_testroot
7.43 +
7.44 + dh_installdocs
7.45 + dh_installdeb
7.46 + dh_gencontrol
7.47 + dh_md5sums
7.48 + dh_builddeb
7.49 +# We have nothing to do by default.
7.50 +
7.51 +binary: binary-indep
7.52 +.PHONY: build clean binary-indep binary install