tag 351107 patch
thanks

The attached patch removes the build-dependencies on python2.1-dev and
python2.2-dev, the stanzas for the corresponding binary packages, and
the commands that build them.

-- 
Matt
diff -ru python-cjkcodecs-1.1.1-orig/debian/control 
python-cjkcodecs-1.1.1/debian/control
--- python-cjkcodecs-1.1.1-orig/debian/control  2006-03-19 10:03:05.000000000 
-0800
+++ python-cjkcodecs-1.1.1/debian/control       2006-03-19 10:03:36.000000000 
-0800
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Changwoo Ryu <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.0.0), python, python2.1-dev, python2.2-dev, 
python2.3-dev
+Build-Depends: debhelper (>> 4.0.0), python, python2.3-dev
 Standards-Version: 3.6.1
 
 Package: python-cjkcodecs
@@ -19,30 +19,6 @@
  default Python version (currently v2.3) and respective
  python-cjkcodecs package version.
 
-Package: python2.1-cjkcodecs
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
-Description: Python Unicode Codecs Collection for CJK Encodings
- This package provides Unicode codecs that make Python aware of
- CJK (Chinese, Japanese and Korean) encodings such as EUC-JP,
- ISO-2022-KR, BIG5 and GB18030. By using this package, their
- characters can be treated as a character string instead of a
- byte sequence.
- .
- This package is for Python 2.1.
-
-Package: python2.2-cjkcodecs
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
-Description: Python Unicode Codecs Collection for CJK Encodings
- This package provides Unicode codecs that make Python aware of
- CJK (Chinese, Japanese and Korean) encodings such as EUC-JP,
- ISO-2022-KR, BIG5 and GB18030. By using this package, their
- characters can be treated as a character string instead of a
- byte sequence.
- .
- This package is for Python 2.2.
-
 Package: python2.3-cjkcodecs
 Architecture: any
 Priority: standard
diff -ru python-cjkcodecs-1.1.1-orig/debian/rules 
python-cjkcodecs-1.1.1/debian/rules
--- python-cjkcodecs-1.1.1-orig/debian/rules    2006-03-19 10:03:05.000000000 
-0800
+++ python-cjkcodecs-1.1.1/debian/rules 2006-03-19 10:04:22.000000000 -0800
@@ -35,8 +35,6 @@
        dh_testroot
        rm -f build-stamp configure-stamp
 
-       python2.1 setup.py clean
-       python2.2 setup.py clean
        python2.3 setup.py clean
 
        rm -f tests/*.pyc
@@ -52,10 +50,6 @@
        dh_installdirs
 
 #      python setup.py install --prefix=$(CURDIR)/debian/python-cjkcodecs/usr
-       python2.1 setup.py install 
--prefix=$(CURDIR)/debian/python2.1-cjkcodecs/usr
-       rm 
$(CURDIR)/debian/python2.1-cjkcodecs/usr/lib/python2.1/site-packages/cjkcodecs/*.pyc
-       python2.2 setup.py install 
--prefix=$(CURDIR)/debian/python2.2-cjkcodecs/usr
-       rm 
$(CURDIR)/debian/python2.2-cjkcodecs/usr/lib/python2.2/site-packages/cjkcodecs/*.pyc
        python2.3 setup.py install 
--prefix=$(CURDIR)/debian/python2.3-cjkcodecs/usr
        rm 
$(CURDIR)/debian/python2.3-cjkcodecs/usr/lib/python2.3/site-packages/cjkcodecs/*.pyc
 
@@ -91,8 +85,6 @@
        dh_strip -a
        dh_compress -a
        dh_fixperms -a
-       dh_python -a -ppython2.1-cjkcodecs -V2.1 
/usr/lib/python2.1/site-packages/cjkcodecs
-       dh_python -a -ppython2.2-cjkcodecs -V2.2 
/usr/lib/python2.2/site-packages/cjkcodecs
        dh_python -a -ppython2.3-cjkcodecs -V2.3 
/usr/lib/python2.3/site-packages/cjkcodecs
 #      dh_makeshlibs
        dh_installdeb -a

Attachment: signature.asc
Description: Digital signature

Reply via email to