Package: libapache2-mod-python
Severity: normal
Tags: patch

Hi,
python2.2 will be dropped from the archive soon[1].

Please consider dropping python2.2 references from your package.
The attached patch does this.

Regards,
Stefan

[1]     http://lists.debian.org/debian-python/2006/04/msg00012.html

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
diff -ur libapache2-mod-python-3.1.3/debian/control 
libapache2-mod-python-3.1.3.mod/debian/control
--- libapache2-mod-python-3.1.3/debian/control  2006-04-13 18:31:27.000000000 
+0200
+++ libapache2-mod-python-3.1.3.mod/debian/control      2006-04-13 
18:28:48.000000000 +0200
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Peter Hawkins <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.1.16), debconf, autoconf, python, python2.2-dev 
(>= 2.2.3), python2.3-dev, apache2-threaded-dev (>= 2.0.50-10)
+Build-Depends: debhelper (>= 4.1.16), debconf, autoconf, python, 
python2.3-dev, apache2-threaded-dev (>= 2.0.50-10)
 Standards-Version: 3.6.1
  
 Package: libapache2-mod-python
@@ -26,18 +26,6 @@
  .
  This package contains the module documentation in HTML format.
 
-Package: libapache2-mod-python2.2
-Architecture: any
-Depends: debconf, ${shlibs:Depends}, apache2-common, apache2
-Suggests: libapache2-mod-python-doc
-Conflicts: libapache2-mod-python2.3, libapache-mod-python, 
libapache-mod-python2.1, libapache-mod-python2.2, libapache-mod-python2.3
-Description: An Apache 2 module that embeds Python 2.2 within the server
- mod_python allows you to write web-based applications in Python.
- Because the parser is embedded in the server as an Apache module, it
- will run many times faster than traditional CGI scripts.
- .
- This version of the package is built for Python 2.2.
-
 Package: libapache2-mod-python2.3
 Architecture: any
 Depends: debconf, ${shlibs:Depends}, apache2-common, apache2
diff -ur libapache2-mod-python-3.1.3/debian/rules 
libapache2-mod-python-3.1.3.mod/debian/rules
--- libapache2-mod-python-3.1.3/debian/rules    2006-04-13 18:31:27.000000000 
+0200
+++ libapache2-mod-python-3.1.3.mod/debian/rules        2006-04-13 
18:29:46.000000000 +0200
@@ -50,17 +50,6 @@
        # Add here commands to install the package into 
debian/libapache-mod-python.
        #$(MAKE) install DESTDIR=$(CURDIR)/debian/libapache-mod-python
 
-       # python 2.2
-       rm -f config.cache config.status
-       export PYTHON_BIN=/usr/bin/python2.2
-       -env PYTHON_BIN=/usr/bin/python2.2 \
-       ./configure --with-apxs=/usr/bin/apxs2 --prefix=/usr \
-               --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info 
\
-               --with-python-version=2.2
-       $(MAKE) clean && $(MAKE)
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/libapache2-mod-python2.2
-       cp debian/mod_python.load 
debian/libapache2-mod-python2.2/etc/apache2/mods-available/
-       
        # python 2.3
        rm -f config.cache config.status
        export PYTHON_BIN=/usr/bin/python2.3

Reply via email to