Hi,

Attached is the diff for my python-biggles 1.6.4-1.2 NMU.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
diff -u python-biggles-1.6.4/debian/control python-biggles-1.6.4/debian/control
--- python-biggles-1.6.4/debian/control
+++ python-biggles-1.6.4/debian/control
@@ -2,12 +2,18 @@
 Section: python
 Priority: optional
 Maintainer: Peter Hawkins <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.1.67), python, python2.3-dev, python2.4-dev, 
python2.3-numeric, python2.4-numeric, libplot-dev (>= 2.4.1-8)
-Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11),
+ python-support (>= 0.3), python-numeric, libplot-dev (>= 2.4.1-8)
+Standards-Version: 3.7.2
 
 Package: python-biggles
-Architecture: all
-Depends: ${python:Depends}
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, python-numeric
+Suggests: python-numeric-ext
+Provides: ${python:Provides}
+Replaces: python2.3-biggles (<< 1.6.4-1.2), python2.4-biggles (<< 1.6.4-1.2)
+Conflicts: python2.3-biggles (<< 1.6.4-1.2), python2.4-biggles (<< 1.6.4-1.2)
+XB-Python-Version: ${python:Versions}
 Description: Scientific plotting package for Python [dummy package]
  Biggles is a Python module for creating publication-quality 2D scientific
  plots. It supports multiple output formats (postscript, x11, png, svg, gif),
@@ -19,20 +24,0 @@
-
-Package: python2.3-biggles
-Architecture: any
-Depends: ${shlibs:Depends}, python2.3, python2.3-numeric
-Suggests: python2.3-numeric-ext
-Description: Scientific plotting package for Python 2.3
- Biggles is a Python module for creating publication-quality 2D scientific
- plots. It supports multiple output formats (postscript, x11, png, svg, gif),
- understands simple TeX, and sports a high-level, elegant interface. It's
- intended for technical users with sophisticated plotting needs.
-
-Package: python2.4-biggles
-Architecture: any
-Depends: ${shlibs:Depends}, python2.4, python2.4-numeric
-Suggests: python2.4-numeric-ext
-Description: Scientific plotting package for Python 2.4
- Biggles is a Python module for creating publication-quality 2D scientific
- plots. It supports multiple output formats (postscript, x11, png, svg, gif),
- understands simple TeX, and sports a high-level, elegant interface. It's
- intended for technical users with sophisticated plotting needs.
diff -u python-biggles-1.6.4/debian/rules python-biggles-1.6.4/debian/rules
--- python-biggles-1.6.4/debian/rules
+++ python-biggles-1.6.4/debian/rules
@@ -10,8 +10,9 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatibility version to use.
-export DH_COMPAT=3
 
+export DH_COMPAT=5
+PYVERS := $(shell pyversions -r)
 
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
@@ -24,9 +25,9 @@
 build: build-stamp
 build-stamp:
        dh_testdir
-
-       /usr/bin/python2.3 setup.py build --build-lib build2.3
-       /usr/bin/python2.4 setup.py build --build-lib build2.4
+       set -e; \
+       for py in $(PYVERS); do \
+           $$py setup.py build; done
 
        touch build-stamp
 
@@ -35,9 +36,10 @@
        dh_testroot
        rm -f build-arch-stamp build-indep-stamp configure-stamp
 
+       -for py in $(PYVERS); do \
+           $$py setup.py clean --all; done
        # Add here commands to clean up after the build process.
-       /usr/bin/python2.3 setup.py clean --all --build-lib build2.3
-       /usr/bin/python2.4 setup.py clean --all --build-lib build2.4
+       #--build-lib build2.3
        -rm -fr build
 
        dh_clean
@@ -50,10 +52,10 @@
        dh_installdirs
 
        # Add here commands to install the package into debian/python-biggles.
-       /usr/bin/python2.3 setup.py install 
--prefix=`pwd`/debian/python2.3-biggles/usr --no-compile
-       /usr/bin/python2.4 setup.py install 
--prefix=`pwd`/debian/python2.4-biggles/usr --no-compile
-
-#      dh_movefiles
+       set -e; \
+       for py in $(PYVERS); do \
+           $$py setup.py install --root=debian/python-biggles --no-compile; \
+       done
 
 # Build architecture-dependent files here.
 binary-arch: build install
@@ -66,6 +68,7 @@
        dh_link -a
        dh_compress -a
        dh_fixperms -a
+       dh_pysupport -a
        dh_python -a
        dh_installdeb -a
        dh_shlibdeps -a
@@ -82,6 +85,7 @@
        dh_link -i
        dh_compress -i
        dh_fixperms -i
+       dh_pysupport -i
        dh_python -i
        dh_installdeb -i
        dh_shlibdeps -i
diff -u python-biggles-1.6.4/debian/changelog 
python-biggles-1.6.4/debian/changelog
--- python-biggles-1.6.4/debian/changelog
+++ python-biggles-1.6.4/debian/changelog
@@ -1,3 +1,11 @@
+python-biggles (1.6.4-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update package to the last python policy (Closes: #373514).
+  * Fix old FSF address.
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Sat,  1 Jul 2006 13:46:57 +0200
+
 python-biggles (1.6.4-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u python-biggles-1.6.4/debian/copyright 
python-biggles-1.6.4/debian/copyright
--- python-biggles-1.6.4/debian/copyright
+++ python-biggles-1.6.4/debian/copyright
@@ -16,4 +16,5 @@
 the Debian GNU/Linux python-adns source package as the file GPL.  If not,
-write to the Free Software Foundation, Inc., 59 Temple Place - Suite
-330, Boston, MA 02111-1307, USA.
+write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+Boston, MA 02110-1301, USA.
+
 
only in patch2:
unchanged:
--- python-biggles-1.6.4.orig/debian/pycompat
+++ python-biggles-1.6.4/debian/pycompat
@@ -0,0 +1 @@
+2

Attachment: signature.asc
Description: Digital signature

Reply via email to