Hi,

Attached is the diff for my python-irclib 0.4.4-1.1 NMU.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
diff -u python-irclib-0.4.4/debian/changelog 
python-irclib-0.4.4/debian/changelog
--- python-irclib-0.4.4/debian/changelog
+++ python-irclib-0.4.4/debian/changelog
@@ -1,3 +1,11 @@
+python-irclib (0.4.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update to the last python policy (closes: #373319).
+    + as a side effects, it's now build for python2.4 (closes: #317454).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Thu, 29 Jun 2006 11:14:09 +0200
+
 python-irclib (0.4.4-1) unstable; urgency=low
 
   * Sync with latest released version.
diff -u python-irclib-0.4.4/debian/control python-irclib-0.4.4/debian/control
--- python-irclib-0.4.4/debian/control
+++ python-irclib-0.4.4/debian/control
@@ -4,31 +4,20 @@
 Maintainer: Alexey Nezhdanov <[EMAIL PROTECTED]>
-Standards-Version: 3.6.1.0
-Build-Depends-Indep: debhelper (>= 3.0.0), python
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>> 5), python-all-dev (>= 2.3.5-11)
+Build-Depends-Indep: python-support (>= 0.3)
 Uploaders: Cosimo Alfarano <[EMAIL PROTECTED]>
 
 Package: python-irclib
 Architecture: all
-Depends: python (>= 2.3), python (<< 2.4), python2.3-irclib
+Depends: ${python:Depends}
+Replaces: python2.3-irclib (<< 0.4.4-1.1)
+Conflicts: python2.3-irclib (<< 0.4.4-1.1)
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
 Description: IRC client library for Python
  This library is intended to encapsulate the IRC protocol at a quite
  low level.  It provides an event-driven IRC client framework.  It has
  a fairly thorough support for the basic IRC protocol, CTCP and DCC
  connections.
  .
- This package is a dependency package, which depends on Debian's default
- Python version (currently v2.3) and respective python-irclib package version.
- .
- Homepage: http://python-irclib.sourceforge.net/
-
-Package: python2.3-irclib
-Architecture: all
-Depends: python2.3
-Description: IRC client library for Python
- This library is intended to encapsulate the IRC protocol at a quite
- low level.  It provides an event-driven IRC client framework.  It has
- a fairly thorough support for the basic IRC protocol, CTCP and DCC
- connections.
- .
- This package provides modules for python 2.3
- .
  Homepage: http://python-irclib.sourceforge.net/
diff -u python-irclib-0.4.4/debian/rules python-irclib-0.4.4/debian/rules
--- python-irclib-0.4.4/debian/rules
+++ python-irclib-0.4.4/debian/rules
@@ -6,10 +6,10 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatibility version to use.
-export DH_COMPAT=3
+export DH_COMPAT=5
 
 # python version for which a pkg will be build
-export PYVERSIONS=python2.3
+PYVERS=$(shell pyversions -r)
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -g
@@ -53,13 +53,10 @@
        dh_installdirs -i
 
        # Add here commands to install the package
-       #install -m 0644 $(CURDIR)/irc*.py \
-       #        
$(CURDIR)/debian/python2.1-irclib/usr/lib/python2.1/site-packages
-       #install -m 0644 $(CURDIR)/irc*.py \
-       #        
$(CURDIR)/debian/python2.2-irclib/usr/lib/python2.2/site-packages
-       install -m 0644 $(CURDIR)/irc*.py \
-               
$(CURDIR)/debian/python2.3-irclib/usr/lib/python2.3/site-packages
-
+       set -e; \
+       for py in $(PYVERS); do \
+           $$py setup.py install --root=debian/python-irclib; \
+       done
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -71,6 +68,7 @@
        dh_link -i
        dh_compress -i
        dh_fixperms -i
+       dh_pysupport -i
        dh_python -i
        dh_installdeb -i
        dh_shlibdeps -i
only in patch2:
unchanged:
--- python-irclib-0.4.4.orig/debian/pycompat
+++ python-irclib-0.4.4/debian/pycompat
@@ -0,0 +1 @@
+2

Attachment: signature.asc
Description: Digital signature

Reply via email to