Hmm, seems I made a mistake before. Here is a new patch (calling dh_pycentral before dh_python). This time a normal patch against the version you can get with `apt-get source python-goopy'. You can also (for now) do `dget http://flub.stuffwillmade.org/debain/python-goopy_0.1-1.1.dsc' to get the new package.
Regards Floris -- Debian GNU/Linux -- The Power of Freedom www.debian.org | www.gnu.org | www.kernel.org
diff -ru orig.python-goopy-0.1/debian/changelog python-goopy-0.1/debian/changelog --- orig.python-goopy-0.1/debian/changelog 2006-06-19 23:51:13.000000000 +0100 +++ python-goopy-0.1/debian/changelog 2006-06-19 23:51:13.000000000 +0100 @@ -1,3 +1,10 @@ +python-goopy (0.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Python policy transition (Closes: #373543) + + -- Floris Bruynooghe <[EMAIL PROTECTED]> Sun, 18 Jun 2006 19:50:06 +0000 + python-goopy (0.1-1) unstable; urgency=low * Initial release (Closes: #324999) diff -ru orig.python-goopy-0.1/debian/control python-goopy-0.1/debian/control --- orig.python-goopy-0.1/debian/control 2006-06-19 23:51:13.000000000 +0100 +++ python-goopy-0.1/debian/control 2006-06-19 23:51:13.000000000 +0100 @@ -2,39 +2,17 @@ Section: python Priority: optional Maintainer: Kumar Appaiah <[EMAIL PROTECTED]> -Build-Depends-Indep: python, python2.3-dev, python2.4-dev, debhelper (>= 4) +Build-Depends-Indep: python-all (>= 2.3.5-10), python-central (>= 0.4.17), debhelper (>= 5.0.37.1) Standards-Version: 3.6.2 +XS-Python-Version: all Package: python-goopy Architecture: all Depends: ${python:Depends} +Conflicts: python2.3-goopy (<< 0.1-1.1), python2.4-goopy (<< 0.1-1.1) +XB-Python-Version: ${python:Versions} Description: A small collection of handy routines for functional programming This is a collection of Python functions that Googlers have found useful. It provides handy methods for functional style programming. . Homepage: http://goog-goopy.sourceforge.net - . - This is an empty package which depends on Goopy for the current - Python version. - -Package: python2.3-goopy -Architecture: all -Depends: ${python:Depends} -Description: A small collection of handy routines for functional programming - This is a collection of Python functions that Googlers have found - useful.It provides handy methods for functional style programming. - . - Homepage: http://goog-goopy.sourceforge.net - . - This package contains the goopy module for Python 2.3. - -Package: python2.4-goopy -Architecture: all -Depends: ${python:Depends} -Description: A small collection of handy routines for functional programming - This is a collection of Python functions that Googlers have found useful. - It provides handy methods for functional style programming. - . - Homepage: http://goog-goopy.sourceforge.net - . - This package contains the goopy module for Python 2.4. diff -ru orig.python-goopy-0.1/debian/rules python-goopy-0.1/debian/rules --- orig.python-goopy-0.1/debian/rules 2006-06-19 23:51:13.000000000 +0100 +++ python-goopy-0.1/debian/rules 2006-06-19 23:51:13.000000000 +0100 @@ -4,7 +4,7 @@ #export DH_VERBOSE=1 # The versions of python currently supported -PYVERS = 2.3 2.4 +PYVERS = $(shell pyversions -vr debian/control) configure: configure-stamp configure-stamp: @@ -39,14 +39,14 @@ dh_clean -k install-python%: - python$* setup.py install --root `pwd`/debian/python$*-goopy - find debian/python$*-goopy -name '*.py[co]' -exec rm -f {} \; - sed -i -e '1 s|.*|#!/usr/bin/python$*|' ./debian/python$*-goopy/usr/lib/python$*/site-packages/goopy/functional_unittest.py + python$* setup.py install --root `pwd`/debian/tmp + find debian/tmp -name '*.py[co]' -exec rm -f {} \; + sed -i -e '1 s|.*|#!/usr/bin/python|' ./debian/tmp/usr/lib/python$*/site-packages/goopy/functional_unittest.py pydoc$* -w ./goopy/functional.py mv functional.html functional_docs.html # dh_installdocs -ppython$*-goopy README # dh_installdocs -ppython$*-goopy PKG-INFO - dh_installdocs -ppython$*-goopy functional_docs.html + dh_installdocs functional_docs.html # Build architecture-independent files here. # Pass -i to all debhelper commands in this target to reduce clutter. @@ -56,6 +56,7 @@ dh_installdocs -i dh_installexamples -i dh_installchangelogs -i + dh_pycentral -i dh_python -i dh_link -i dh_compress -i -X.py