Hi,

Attached is the diff for my python-biopython 1.41-2.1 NMU.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
diff -u python-biopython-1.41/debian/control 
python-biopython-1.41/debian/control
--- python-biopython-1.41/debian/control
+++ python-biopython-1.41/debian/control
@@ -3,12 +3,20 @@
 Section: python
 Maintainer: Philipp Benner <[EMAIL PROTECTED]>
 Uploaders: Andreas Tille <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), flex, python, python-dev, python2.3, 
python2.3-dev, python2.3-egenix-mxtexttools, python2.3-reportlab, 
python2.3-numeric, python2.4, python2.4-dev, python2.4-egenix-mxtexttools, 
python2.4-reportlab, python2.4-numeric
-Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), flex,
+ python-support (>= 0.3), python-egenix-mxtexttools, python-reportlab,
+ python-numeric
+Standards-Version: 3.7.2
 
 Package: python-biopython
-Architecture: all
-Depends: ${python:Depends}, python-biopython-martel (>= 1.41), 
python-reportlab, python-egenix-mxtexttools, python-numeric
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, python-numeric,
+ python-biopython-martel (>= 1.41), python-reportlab,
+ python-egenix-mxtexttools
+Provides: ${python:Provides}
+Replaces: python2.3-biopython (<< 1.41-2.1), python2.4-biopython (<< 1.41-2.1)
+Conflicts: python2.3-biopython (<< 1.41-2.1), python2.4-biopython (<< 1.41-2.1)
+XB-Python-Version: ${python:Versions}
 Suggests: python-numeric-ext
 Description: Python library for bioinformatics
  The Biopython Project is an international association
@@ -34,84 +42,22 @@
 
 Package: python-biopython-sql
 Architecture: all
-Depends: ${python:Depends}, python-mysqldb
+Depends: ${python:Depends}, python-mysqldb, python-biopython
+Provides: ${python:Provides}
+Replaces: python2.3-biopython-sql (<< 1.41-2.1), python2.4-biopython-sql (<< 
1.41-2.1)
+Conflicts: python2.3-biopython-sql (<< 1.41-2.1), python2.4-biopython-sql (<< 
1.41-2.1)
+XB-Python-Version: ${python:Versions}
 Description: SQL support for the Biopython library
  This is the python2.2 version of the Biopython-SQL
  library which provides support for SQL.
 
 Package: python-biopython-martel
 Architecture: all
-Depends: ${python:Depends}
-Description: Flat file parser for the Biopython library
- Martel uses regular expression format definition to generate
- a parser for flat- and semi-structured files.
- The parse tree information is passed back to the caller using
- XML SAX events. In other words, Martel lets you parse flat
- files as if they are in XML.
-
-Package: python2.3-biopython
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, python2.3-biopython-martel (>= 
1.41), python2.3-reportlab, python2.3-egenix-mxtexttools, python2.3-numeric
-Suggests: python-numeric-ext
-Description: Python library for bioinformatics
- The Biopython Project is an international association
- of developers of freely available Python tools for
- computational molecular biology.
- .
- It is a distributed collaborative effort to develop Python
- libraries and applications which address the needs of
- current and future work in bioinformatics. The source code
- is made available under the Biopython License, which is
- extremely liberal and compatible with almost every license
- in the world. We work along with the Open Bioinformatics
- Foundation, who generously provide web and CVS space for
- the project. 
-
-Package: python2.3-biopython-sql
-Architecture: all
-Depends: ${python:Depends}, python2.3-mysqldb, python2.3-biopython
-Description: SQL support for the Biopython library
- This is the python2.3 version of the Biopython-SQL
- library which provides support for SQL.
-
-Package: python2.3-biopython-martel
-Architecture: all
-Depends: ${python:Depends}, python2.3-biopython
-Description: Flat file parser for the Biopython library
- Martel uses regular expression format definition to generate
- a parser for flat- and semi-structured files.
- The parse tree information is passed back to the caller using
- XML SAX events. In other words, Martel lets you parse flat
- files as if they are in XML.
-
-Package: python2.4-biopython
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, python2.4-biopython-martel (>= 
1.41), python2.4-reportlab, python2.4-egenix-mxtexttools, python2.4-numeric
-Suggests: python-numeric-ext
-Description: Python library for bioinformatics
- The Biopython Project is an international association
- of developers of freely available Python tools for
- computational molecular biology.
- .
- It is a distributed collaborative effort to develop Python
- libraries and applications which address the needs of
- current and future work in bioinformatics. The source code
- is made available under the Biopython License, which is
- extremely liberal and compatible with almost every license
- in the world. We work along with the Open Bioinformatics
- Foundation, who generously provide web and CVS space for
- the project. 
-
-Package: python2.4-biopython-sql
-Architecture: all
-Depends: ${python:Depends}, python2.4-mysqldb, python2.4-biopython
-Description: SQL support for the Biopython library
- This is the python2.3 version of the Biopython-SQL
- library which provides support for SQL.
-
-Package: python2.4-biopython-martel
-Architecture: all
-Depends: ${python:Depends}, python2.4-biopython
+Depends: ${python:Depends}, python-biopython
+Provides: ${python:Provides}
+Replaces: python2.3-biopython-martel (<< 1.41-2.1), python2.4-biopython-martel 
(<< 1.41-2.1)
+Conflicts: python2.3-biopython-martel (<< 1.41-2.1), 
python2.4-biopython-martel (<< 1.41-2.1)
+XB-Python-Version: ${python:Versions}
 Description: Flat file parser for the Biopython library
  Martel uses regular expression format definition to generate
  a parser for flat- and semi-structured files.
diff -u python-biopython-1.41/debian/rules python-biopython-1.41/debian/rules
--- python-biopython-1.41/debian/rules
+++ python-biopython-1.41/debian/rules
@@ -1,16 +1,16 @@
 #!/usr/bin/make -f
 
 PWD := $(shell pwd)
-PYVERS = 2.3 2.4
+PYVERS := $(shell pyversions -r)
 
 build: build-stamp
-build-stamp: $(PYVERS:%=build-python%)
+build-stamp: $(PYVERS:%=build-%)
        touch build-stamp
 build-python%:
        echo $(DEB_HOST_ARCH)
        python$* setup.py build
 
-install: $(PYVERS:%=install-python%)
+install: $(PYVERS:%=install-%)
 install-python%:
        dh_testdir
        dh_testroot
@@ -27,12 +27,12 @@
        done
 # </bugfix>
 
-       dh_movefiles -ppython$*-biopython               \
-                    -ppython$*-biopython-sql           \
-                    -ppython$*-biopython-martel        \
+       dh_movefiles -ppython-biopython         \
+                    -ppython-biopython-sql     \
+                    -ppython-biopython-martel  \
                     --sourcedir=debian/python$*-tmp
 
-clean: $(PYVERS:%=clean-python%)
+clean: $(PYVERS:%=clean-%)
        dh_testdir
        dh_testroot
 
@@ -63,6 +63,7 @@
        dh_installchangelogs -i
        dh_fixperms -i
        dh_compress -i
+       dh_pysupport -i
        dh_python -i
        dh_gencontrol -i
        dh_md5sums -i
@@ -80,6 +81,7 @@
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        dh_strip -a
 endif
+       dh_pysupport -a
        dh_python -a
        dh_shlibdeps -a
        dh_gencontrol -a
reverted:
--- python-biopython-1.41/debian/python2.4-biopython-sql.files
+++ python-biopython-1.41.orig/debian/python2.4-biopython-sql.files
@@ -1 +0,0 @@
-usr/lib/python2.4/site-packages/BioSQL
reverted:
--- python-biopython-1.41/debian/python2.4-biopython-martel.files
+++ python-biopython-1.41.orig/debian/python2.4-biopython-martel.files
@@ -1 +0,0 @@
-usr/lib/python2.4/site-packages/Martel
diff -u python-biopython-1.41/debian/changelog 
python-biopython-1.41/debian/changelog
--- python-biopython-1.41/debian/changelog
+++ python-biopython-1.41/debian/changelog
@@ -1,3 +1,10 @@
+python-biopython (1.41-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update package to the last python policy (Closes: #373515).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Fri, 30 Jun 2006 13:45:39 +0200
+
 python-biopython (1.41-2) unstable; urgency=low
 
   * suggests python-numeric-ext
reverted:
--- python-biopython-1.41/debian/python2.3-biopython-martel.files
+++ python-biopython-1.41.orig/debian/python2.3-biopython-martel.files
@@ -1 +0,0 @@
-usr/lib/python2.3/site-packages/Martel
reverted:
--- python-biopython-1.41/debian/python2.3-biopython.files
+++ python-biopython-1.41.orig/debian/python2.3-biopython.files
@@ -1 +0,0 @@
-usr/lib/python2.3/site-packages/Bio
reverted:
--- python-biopython-1.41/debian/substvars
+++ python-biopython-1.41.orig/debian/substvars
@@ -1 +0,0 @@
-python:Depends=python (>= 2.3), python2.3-biopython, python (<< 2.4)
reverted:
--- python-biopython-1.41/debian/python2.4-biopython.files
+++ python-biopython-1.41.orig/debian/python2.4-biopython.files
@@ -1 +0,0 @@
-usr/lib/python2.4/site-packages/Bio
reverted:
--- python-biopython-1.41/debian/python2.3-biopython-sql.files
+++ python-biopython-1.41.orig/debian/python2.3-biopython-sql.files
@@ -1 +0,0 @@
-usr/lib/python2.3/site-packages/BioSQL
only in patch2:
unchanged:
--- python-biopython-1.41.orig/debian/python-biopython.files
+++ python-biopython-1.41/debian/python-biopython.files
@@ -0,0 +1 @@
+usr/lib/python*/site-packages/Bio
only in patch2:
unchanged:
--- python-biopython-1.41.orig/debian/python-biopython-martel.files
+++ python-biopython-1.41/debian/python-biopython-martel.files
@@ -0,0 +1 @@
+usr/lib/python*/site-packages/Martel
only in patch2:
unchanged:
--- python-biopython-1.41.orig/debian/python-biopython-sql.files
+++ python-biopython-1.41/debian/python-biopython-sql.files
@@ -0,0 +1 @@
+usr/lib/python*/site-packages/BioSQL
only in patch2:
unchanged:
--- python-biopython-1.41.orig/debian/pycompat
+++ python-biopython-1.41/debian/pycompat
@@ -0,0 +1 @@
+2

Attachment: signature.asc
Description: Digital signature

Reply via email to