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

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

Please consider removing support for these versions from your package.
The attached patch accomplishes this.

Regards,
Stefan

-- 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 libapache-mod-python-2.7.10/debian/control 
libapache-mod-python-2.7.10.mod/debian/control
--- libapache-mod-python-2.7.10/debian/control  2006-04-13 18:23:37.000000000 
+0200
+++ libapache-mod-python-2.7.10.mod/debian/control      2006-04-13 
18:21:31.000000000 +0200
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Peter Hawkins <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.0.0), python, python2.1-dev (>= 2.1.3-11), 
python2.2-dev (>= 2.2.1.91-1), python2.3-dev (>= 2.2.93-1exp1), apache-dev (>= 
1.3.22)
+Build-Depends: debhelper (>> 4.0.0), python, python2.3-dev (>= 2.2.93-1exp1), 
apache-dev (>= 1.3.22)
 Standards-Version: 3.6.1
  
 Package: libapache-mod-python
@@ -28,32 +28,6 @@
  .
  This package contains the module documentation in HTML format.
 
-Package: libapache-mod-python2.1
-Architecture: any
-Depends: ${shlibs:Depends},  apache-common (>= 1.3.29-1), python2.1
-Suggests: libapache-mod-python-doc
-Conflicts: libapache-mod-python2.2, libapache-mod-python2.3, 
libapache-mod-python (<< 2:2.7.8-2)
-Replaces: libapache-mod-python (<< 2:2.7.8-2)
-Description: An Apache module that embeds Python 2.1 within the server
- mod_python is an apache module that allows you to
- write web-based applications in Python that will run
- many times faster than traditional CGI.
- .
- This version of the package is built for Python 2.1.
-
-Package: libapache-mod-python2.2
-Architecture: any
-Depends: ${shlibs:Depends}, apache-common (>= 1.3.29-1), python2.2
-Suggests: libapache-mod-python-doc
-Conflicts: libapache-mod-python2.1, libapache-mod-python2.3, 
libapache-mod-python (<< 2:2.7.8-2)
-Replaces: libapache-mod-python (<< 2:2.7.8-2)
-Description: An Apache module that embeds Python 2.2 within the server
- mod_python is an apache module that allows you to
- write web-based applications in Python that will run
- many times faster than traditional CGI.
- .
- This version of the package is built for Python 2.2.
-
 Package: libapache-mod-python2.3
 Architecture: any
 Depends: ${shlibs:Depends}, apache-common (>= 1.3.29-1), python2.3
diff -ur libapache-mod-python-2.7.10/debian/rules 
libapache-mod-python-2.7.10.mod/debian/rules
--- libapache-mod-python-2.7.10/debian/rules    2006-04-13 18:23:37.000000000 
+0200
+++ libapache-mod-python-2.7.10.mod/debian/rules        2006-04-13 
18:21:49.000000000 +0200
@@ -48,26 +48,6 @@
        # Add here commands to install the package into 
debian/libapache-mod-python.
        #$(MAKE) install DESTDIR=$(CURDIR)/debian/libapache-mod-python
 
-       # python 2.1
-       rm -f config.cache config.status
-       export PYTHON_BIN=/usr/bin/python2.1
-       -env PYTHON_BIN=/usr/bin/python2.1 \
-       ./configure --enable-EAPI --prefix=/usr \
-               --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info 
\
-               --with-python-version=2.1
-       $(MAKE) clean && $(MAKE)
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/libapache-mod-python2.1
-       
-       # python 2.2
-       rm -f config.cache config.status
-       export PYTHON_BIN=/usr/bin/python2.2
-       -env PYTHON_BIN=/usr/bin/python2.2 \
-       ./configure --enable-EAPI --prefix=/usr \
-               --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info 
\
-               --with-python-version=2.2
-       $(MAKE) clean && $(MAKE)
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/libapache-mod-python2.2
-       
        # python 2.3
        rm -f config.cache config.status
        export PYTHON_BIN=/usr/bin/python2.3

Reply via email to