Package: python-goopy
Version: 0.1-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my python-goopy 0.1-1.1 NMU.

-- 
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint:   D5AF 25FB 316B 53BB 08E7   F999 E544 DE07 9B7C 328D
diff -u python-goopy-0.1/debian/control python-goopy-0.1/debian/control
--- python-goopy-0.1/debian/control
+++ python-goopy-0.1/debian/control
@@ -5,36 +5,15 @@
-Build-Depends-Indep: python, python2.3-dev, python2.4-dev, debhelper (>= 4)
+Build-Depends: debhelper (>= 5.0.37.1)
+Build-Depends-Indep: python-all (>= 2.3.5-10), python-central (>= 0.4.17), 
python
 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 -u python-goopy-0.1/debian/rules python-goopy-0.1/debian/rules
--- python-goopy-0.1/debian/rules
+++ python-goopy-0.1/debian/rules
@@ -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,16 @@
        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
+
+binary-arch: build install
 
 # Build architecture-independent files here.
 # Pass -i to all debhelper commands in this target to reduce clutter.
@@ -56,6 +58,7 @@
        dh_installdocs -i
        dh_installexamples -i
        dh_installchangelogs -i
+       dh_pycentral -i
        dh_python -i
        dh_link -i
        dh_compress -i -X.py
diff -u python-goopy-0.1/debian/changelog python-goopy-0.1/debian/changelog
--- python-goopy-0.1/debian/changelog
+++ python-goopy-0.1/debian/changelog
@@ -1,3 +1,11 @@
+python-goopy (0.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Python policy transition, thanks to Floris Bruynooghe (Closes: #373543)
+  * Move debhelper to Build-Depends.
+
+ -- Luk Claes <[EMAIL PROTECTED]>  Sat,  1 Jul 2006 01:03:59 +0200
+
 python-goopy (0.1-1) unstable; urgency=low
 
   * Initial release (Closes: #324999)
only in patch2:
unchanged:
--- python-goopy-0.1.orig/debian/compat
+++ python-goopy-0.1/debian/compat
@@ -0,0 +1 @@
+5

Attachment: signature.asc
Description: Digital signature

Reply via email to