Hi,

Attached is the diff for my pygdchart2 0.beta1-3.2 NMU.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
diff -u pygdchart2-0.beta1/debian/control.in 
pygdchart2-0.beta1/debian/control.in
--- pygdchart2-0.beta1/debian/control.in
+++ pygdchart2-0.beta1/debian/control.in
@@ -3,72 +3,30 @@
 Priority: optional
 Maintainer: Jonas Smedegaard <[EMAIL PROTECTED]>
-Standards-Version: 3.6.2
+Standards-Version: 3.7.2
 Build-Depends: @cdbs@, libgdchart-gd2-noxpm-dev | libgdchart-gd2-dev, 
libgd2-noxpm-dev | libgd2-xpm-dev
 
-Package: python-gdchart2-doc
-Architecture: all
-Section: doc
-Depends: ${python:Depends}
-Description: Python OO interface to GDChart - docs
- Object-oriented Python interface to the nice 2d and 3d graphics library
- GDChart.
- .
- This package contains documentation and a few example scripts.
- .
- Website: http://www.nullcube.com/software/pygdchart2.html
-
 Package: python-gdchart2
-Architecture: all
-Depends: python (>= 2.3), python (<< 2.4), python2.3-gdchart2
-Description: Python OO interface to GDChart
- Object-oriented Python interface to the nice 2d and 3d graphics library
- GDChart.
- .
- This package is an empty dummy package that always depends on
- the package built for Debian's default Python version.
- .
- Website: http://www.nullcube.com/software/pygdchart2.html
-
-Package: python2.1-gdchart2
 Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
-Description: Python OO interface to GDChart
- Object-oriented Python interface to the nice 2d and 3d graphics library
- GDChart.
- .
- This package contains the libraries for Python 2.1.
- .
- Website: http://www.nullcube.com/software/pygdchart2.html
-
-Package: python2.2-gdchart2
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
-Description: Python OO interface to GDChart
- Object-oriented Python interface to the nice 2d and 3d graphics library
- GDChart.
- .
- This package contains the libraries for Python 2.2.
- .
- Website: http://www.nullcube.com/software/pygdchart2.html
-
-Package: python2.3-gdchart2
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Replaces: python2.3-gdchart2 (<< 0.beta1-3.2), python2.4-gdchart2 (<< 
0.beta1-3.2)
+Conflicts: python2.3-gdchart2 (<< 0.beta1-3.2), python2.4-gdchart2 (<< 
0.beta1-3.2)
+XB-Python-Version: ${python:Versions}
+Depends: python (>= 2.3), python (<< 2.4), python2.3-gdchart2
 Description: Python OO interface to GDChart
  Object-oriented Python interface to the nice 2d and 3d graphics library
  GDChart.
  .
- This package contains the libraries for Python 2.3.
- .
  Website: http://www.nullcube.com/software/pygdchart2.html
 
-Package: python2.4-gdchart2
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
-Description: Python OO interface to GDChart
+Package: python-gdchart2-doc
+Architecture: all
+Section: doc
+Depends: ${python:Depends}
+Description: Python OO interface to GDChart - docs
  Object-oriented Python interface to the nice 2d and 3d graphics library
  GDChart.
  .
- This package contains the libraries for Python 2.4.
+ This package contains documentation and a few example scripts.
  .
  Website: http://www.nullcube.com/software/pygdchart2.html
diff -u pygdchart2-0.beta1/debian/changelog pygdchart2-0.beta1/debian/changelog
--- pygdchart2-0.beta1/debian/changelog
+++ pygdchart2-0.beta1/debian/changelog
@@ -1,3 +1,10 @@
+pygdchart2 (0.beta1-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update package for last python policy (Closes: #373493).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Thu, 29 Jun 2006 15:55:52 +0200
+
 pygdchart2 (0.beta1-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u pygdchart2-0.beta1/debian/control pygdchart2-0.beta1/debian/control
--- pygdchart2-0.beta1/debian/control
+++ pygdchart2-0.beta1/debian/control
@@ -3,50 +3,30 @@
 Priority: optional
 Maintainer: Jonas Smedegaard <[EMAIL PROTECTED]>
-Standards-Version: 3.6.2
-Build-Depends: cdbs (>= 0.4.23-1.1), build-essential, debhelper (>= 4.1.0), 
python2.3-dev, python2.4-dev, python, debhelper (>= 4.2.28), dh-buildinfo, 
libgdchart-gd2-noxpm-dev | libgdchart-gd2-dev, libgd2-noxpm-dev | libgd2-xpm-dev
-
-Package: python-gdchart2-doc
-Architecture: all
-Section: doc
-Depends: ${python:Depends}
-Description: Python OO interface to GDChart - docs
- Object-oriented Python interface to the nice 2d and 3d graphics library
- GDChart.
- .
- This package contains documentation and a few example scripts.
- .
- Website: http://www.nullcube.com/software/pygdchart2.html
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 4.2.0), debhelper (>= 5.0.37.2), cdbs (>= 
0.4.43), python-all-dev (>= 2.3.5-11), python-support (>= 0.3.2), dh-buildinfo, 
libgdchart-gd2-noxpm-dev | libgdchart-gd2-dev, libgd2-noxpm-dev | libgd2-xpm-dev
 
 Package: python-gdchart2
-Architecture: all
-Depends: python (>= 2.3), python (<< 2.4), python2.3-gdchart2
-Description: Python OO interface to GDChart
- Object-oriented Python interface to the nice 2d and 3d graphics library
- GDChart.
- .
- This package is an empty dummy package that always depends on
- the package built for Debian's default Python version.
- .
- Website: http://www.nullcube.com/software/pygdchart2.html
-
-Package: python2.3-gdchart2
 Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Replaces: python2.3-gdchart2 (<< 0.beta1-3.2), python2.4-gdchart2 (<< 
0.beta1-3.2)
+Conflicts: python2.3-gdchart2 (<< 0.beta1-3.2), python2.4-gdchart2 (<< 
0.beta1-3.2)
+XB-Python-Version: ${python:Versions}
+Depends: python (>= 2.3), python (<< 2.4), python2.3-gdchart2
 Description: Python OO interface to GDChart
  Object-oriented Python interface to the nice 2d and 3d graphics library
  GDChart.
  .
- This package contains the libraries for Python 2.3.
- .
  Website: http://www.nullcube.com/software/pygdchart2.html
 
-Package: python2.4-gdchart2
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
-Description: Python OO interface to GDChart
+Package: python-gdchart2-doc
+Architecture: all
+Section: doc
+Depends: ${python:Depends}
+Description: Python OO interface to GDChart - docs
  Object-oriented Python interface to the nice 2d and 3d graphics library
  GDChart.
  .
- This package contains the libraries for Python 2.4.
+ This package contains documentation and a few example scripts.
  .
  Website: http://www.nullcube.com/software/pygdchart2.html
diff -u pygdchart2-0.beta1/debian/rules pygdchart2-0.beta1/debian/rules
--- pygdchart2-0.beta1/debian/rules
+++ pygdchart2-0.beta1/debian/rules
@@ -3,15 +3,19 @@
 # Copyright © 2004-2005 Jonas Smedegaard <[EMAIL PROTECTED]>
 
+DEB_PYTHON_SYSTEM=pysupport
+
 # Set DEB_BUILD_OPTIONS=update in environment to regenerate control
 ifneq (,$(findstring update,$(DEB_BUILD_OPTIONS)))
 DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes
 endif
 
 include /usr/share/cdbs/1/rules/debhelper.mk
-include debian/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
 include debian/cdbs/1/rules/buildinfo.mk
 
 DEB_INSTALL_DOCS_python-gdchart2-doc += doc
 
+DEB_DESTDIR := debian/python-gdchart2
+
 clean::
        rm -rf build
reverted:
--- pygdchart2-0.beta1/debian/cdbs/1/class/python-distutils.mk.diff
+++ pygdchart2-0.beta1.orig/debian/cdbs/1/class/python-distutils.mk.diff
@@ -1,90 +0,0 @@
---- /usr/share/cdbs/1/class/python-distutils.mk        2005-07-10 
18:13:59.000000000 +0200
-+++ python-distutils.mk        2005-06-13 19:57:05.000000000 +0200
-@@ -1,5 +1,6 @@
- # -*- mode: makefile; coding: utf-8 -*-
- # Copyright © 2003 Colin Walters <[EMAIL PROTECTED]>
-+# Copyright © 2004-2005 Jonas Smedegaard <[EMAIL PROTECTED]>
- # Description: configure, compile, binary, and clean Python libraries and 
programs
- #  This class works for Python packages which use the Python
- #  "distutils".  Note that optionally it can also use the
-@@ -31,52 +32,56 @@
- ifndef _cdbs_class_python_distutils
- _cdbs_class_python_distutils := 1
- 
--include $(_cdbs_class_path)/langcore.mk$(_cdbs_makefile_suffix)
--
--DEB_PYTHON_COMPILE_VERSION = 
--
--DEB_PYTHON_VERSIONS = 2.1 2.2 2.3 2.4
--
--DEB_PYTHON_SETUP_CMD = setup.py
--DEB_PYTHON_CLEAN_ARGS = -a
--DEB_PYTHON_BUILD_ARGS = --build-base="$(DEB_BUILDDIR)/build"
--DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0
-+## FIXME: Correct path when included officially!!!
-+#include $(_cdbs_class_path)/python-distutils-vars.mk$(_cdbs_makefile_suffix)
-+include debian/cdbs/1/class/python-distutils-vars.mk$(_cdbs_makefile_suffix)
- 
- # make: *** No rule to make target `voodoo'.  Stop.
--DEB_PYTHON_REAL_LIB_PACKAGES := $(strip $(filter $(patsubst 
%,python%%,$(DEB_PYTHON_VERSIONS)),$(DEB_ALL_PACKAGES)))
- # If no versioned python library packages found, grab all simpler ones
- ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
--DEB_PYTHON_SIMPLE_PACKAGES := $(strip $(filter python-%,$(DEB_ALL_PACKAGES)))
-+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-dev (>= 
$(DEB_PYTHON_DEFAULT_VERSION)), python-dev (<< $(DEB_PYTHON_NEXT_VERSION))
-+else
-+DEB_PYTHON_REAL_VERSIONS := $(filter-out -%,$(subst -, -,$(patsubst 
python%,%,$(DEB_PYTHON_REAL_LIB_PACKAGES))))
-+comma := ,
-+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), $(patsubst 
%,python%-dev$(comma),$(DEB_PYTHON_REAL_VERSIONS)) python
- endif
- 
--cdbs_python_ver = $(filter-out -%,$(subst -, -,$(patsubst 
install/python%,%,$@)))
-+cdbs_python_ver = $(filter-out -%,$(subst -, -,$(patsubst 
python%,%,$(cdbs_curpkg))))
- 
- common-build-arch common-build-indep:: common-build-impl
- common-build-impl::
--      cd $(DEB_SRCDIR) && python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
-+      cd $(DEB_SRCDIR) && /usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
- 
- clean::
- # Ignore errors from this rule.  In a tarball build, the file
- # may not exist.
--      -python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) clean 
$(DEB_PYTHON_CLEAN_ARGS)
--
--# See if this package doesn't appear to need to be compiled by multiple
--# Python versions.
-+# Try all flavors of Python used.
- ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
--common-install-arch common-install-indep:: common-install-impl
--common-install-impl::
--      cd $(DEB_SRCDIR) && /usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) 
$(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)
-+      -/usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) 
clean $(DEB_PYTHON_CLEAN_ARGS)
- else
--$(patsubst %,install/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) :: install/% :
--      cd $(DEB_SRCDIR) && /usr/bin/python$(cdbs_python_ver) 
$(DEB_PYTHON_SETUP_CMD) install --root=debian/$(cdbs_curpkg) 
$(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)
-+      -$(patsubst %, /usr/bin/python% $(DEB_PYTHON_SETUP_CMD) clean 
$(DEB_PYTHON_CLEAN_ARGS);, $(DEB_PYTHON_REAL_VERSIONS))
- endif
- 
-+# Use specific Python binary if needed
-+ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
- $(patsubst %,install/%,$(DEB_PYTHON_SIMPLE_PACKAGES)) :: install/% :
--      cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install 
--root="debian/$(cdbs_curpkg)" $(DEB_PYTHON_INSTALL_ARGS_ALL) 
$(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)
-+      cd $(DEB_SRCDIR) && /usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) install --root="$(DEB_PYTHON_DESTDIR)" 
$(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)
-+else
-+$(patsubst %,install/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) :: install/% :
-+      cd $(DEB_SRCDIR) && /usr/bin/python$(cdbs_python_ver) 
$(DEB_PYTHON_SETUP_CMD) install --root="$(DEB_PYTHON_DESTDIR)" 
$(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)
-+endif
- 
- # This class can optionally utilize debhelper's "dh_python" command.  Just
- # be sure you include debhelper.mk before including this file.
- ifdef _cdbs_rules_debhelper
-+ifneq (,$(strip $(filter 2.4,$(DEB_PYTHON_REAL_VERSIONS))))
-+# Python 2.4 support
-+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 4.2.28)
-+else
-+# Python 2.3 support
-+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 4.1.60)
-+endif
-+
- $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
-       dh_python -p$(cdbs_curpkg)
- endif
reverted:
--- pygdchart2-0.beta1/debian/cdbs/1/class/python-distutils.mk
+++ pygdchart2-0.beta1.orig/debian/cdbs/1/class/python-distutils.mk
@@ -1,89 +0,0 @@
-# -*- mode: makefile; coding: utf-8 -*-
-# Copyright © 2003 Colin Walters <[EMAIL PROTECTED]>
-# Copyright © 2004-2005 Jonas Smedegaard <[EMAIL PROTECTED]>
-# Description: configure, compile, binary, and clean Python libraries and 
programs
-#  This class works for Python packages which use the Python
-#  "distutils".  Note that optionally it can also use the
-#  dh_python program which does some nice stuff.  See
-#  the manual page for that program for more information.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307 USA.
-
-
-ifndef _cdbs_bootstrap
-_cdbs_scripts_path ?= /usr/lib/cdbs
-_cdbs_rules_path ?= /usr/share/cdbs/1/rules
-_cdbs_class_path ?= /usr/share/cdbs/1/class
-endif
-
-ifndef _cdbs_class_python_distutils
-_cdbs_class_python_distutils := 1
-
-## FIXME: Correct path when included officially!!!
-#include $(_cdbs_class_path)/python-distutils-vars.mk$(_cdbs_makefile_suffix)
-include debian/cdbs/1/class/python-distutils-vars.mk$(_cdbs_makefile_suffix)
-
-# make: *** No rule to make target `voodoo'.  Stop.
-# If no versioned python library packages found, grab all simpler ones
-ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
-CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-dev (>= 
$(DEB_PYTHON_DEFAULT_VERSION)), python-dev (<< $(DEB_PYTHON_NEXT_VERSION))
-else
-DEB_PYTHON_REAL_VERSIONS := $(filter-out -%,$(subst -, -,$(patsubst 
python%,%,$(DEB_PYTHON_REAL_LIB_PACKAGES))))
-comma := ,
-CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), $(patsubst 
%,python%-dev$(comma),$(DEB_PYTHON_REAL_VERSIONS)) python
-endif
-
-cdbs_python_ver = $(filter-out -%,$(subst -, -,$(patsubst 
python%,%,$(cdbs_curpkg))))
-
-common-build-arch common-build-indep:: common-build-impl
-common-build-impl::
-       cd $(DEB_SRCDIR) && /usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
-
-clean::
-# Ignore errors from this rule.  In a tarball build, the file
-# may not exist.
-# Try all flavors of Python used.
-ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
-       -/usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) 
clean $(DEB_PYTHON_CLEAN_ARGS)
-else
-       -$(patsubst %, /usr/bin/python% $(DEB_PYTHON_SETUP_CMD) clean 
$(DEB_PYTHON_CLEAN_ARGS);, $(DEB_PYTHON_REAL_VERSIONS))
-endif
-
-# Use specific Python binary if needed
-ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
-$(patsubst %,install/%,$(DEB_PYTHON_SIMPLE_PACKAGES)) :: install/% :
-       cd $(DEB_SRCDIR) && /usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) 
$(DEB_PYTHON_SETUP_CMD) install --root="$(DEB_PYTHON_DESTDIR)" 
$(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)
-else
-$(patsubst %,install/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) :: install/% :
-       cd $(DEB_SRCDIR) && /usr/bin/python$(cdbs_python_ver) 
$(DEB_PYTHON_SETUP_CMD) install --root="$(DEB_PYTHON_DESTDIR)" 
$(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)
-endif
-
-# This class can optionally utilize debhelper's "dh_python" command.  Just
-# be sure you include debhelper.mk before including this file.
-ifdef _cdbs_rules_debhelper
-ifneq (,$(strip $(filter 2.4,$(DEB_PYTHON_REAL_VERSIONS))))
-# Python 2.4 support
-CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 4.2.28)
-else
-# Python 2.3 support
-CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 4.1.60)
-endif
-
-$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
-       dh_python -p$(cdbs_curpkg)
-endif
-
-endif
reverted:
--- pygdchart2-0.beta1/debian/cdbs/1/class/python-distutils-vars.mk
+++ pygdchart2-0.beta1.orig/debian/cdbs/1/class/python-distutils-vars.mk
@@ -1,51 +0,0 @@
-# -*- mode: makefile; coding: utf-8 -*-
-# Copyright © 2003 Colin Walters <[EMAIL PROTECTED]>
-# Copyright © 2004-2005 Jonas Smedegaard <dr$jones.dk>
-# Description: Defines useful variables for Python libraries and programs
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307 USA.
-
-
-ifndef _cdbs_bootstrap
-_cdbs_scripts_path ?= /usr/lib/cdbs
-_cdbs_rules_path ?= /usr/share/cdbs/1/rules
-_cdbs_class_path ?= /usr/share/cdbs/1/class
-endif
-
-ifndef _cdbs_class_python_distutils_vars
-_cdbs_class_python_distutils_vars := 1
-
-# These should reflect the system
-DEB_PYTHON_DEFAULT_VERSION := $(shell /usr/bin/python -V 2>&1 | sed 
's/^[^0-9]*\([0-9]\+.[0-9]\+\)[^0-9].*/\1/')
-DEB_PYTHON_NEXT_VERSION := $(shell expr '$(DEB_PYTHON_DEFAULT_VERSION)' : 
'[^0-9]*\([0-9]\+\).').$(shell expr '(' '$(DEB_PYTHON_DEFAULT_VERSION)' : 
'[^0-9]*[0-9]\+.\([0-9]\+\)' ')' + 1)
-
-# Common build options
-DEB_PYTHON_SETUP_CMD = setup.py
-DEB_PYTHON_CLEAN_ARGS = -a
-DEB_PYTHON_BUILD_ARGS = --build-base="$(DEB_BUILDDIR)/build"
-DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0
-DEB_PYTHON_DESTDIR = debian/$(cdbs_curpkg)
-
-# Properly named Python libraries are preferred
-DEB_PYTHON_VERSIONS = 2.1 2.2 2.3 2.4
-DEB_PYTHON_REAL_LIB_PACKAGES := $(strip $(filter $(patsubst 
%,python%%,$(DEB_PYTHON_VERSIONS)),$(DEB_ALL_PACKAGES)))
-
-# Alternatively package simpler packages using default Python
-DEB_PYTHON_SIMPLE_PACKAGES := $(strip $(filter python-%,$(DEB_ALL_PACKAGES)))
-# Force using a non-default Python for simpler packages
-DEB_PYTHON_COMPILE_VERSION = 
-
-endif
only in patch2:
unchanged:
--- pygdchart2-0.beta1.orig/debian/pycompat
+++ pygdchart2-0.beta1/debian/pycompat
@@ -0,0 +1 @@
+2

Attachment: signature.asc
Description: Digital signature

Reply via email to