Hi, Attached is the diff for my python-xlib 0.12-5.1 NMU.
-- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u python-xlib-0.12/debian/changelog python-xlib-0.12/debian/changelog
--- python-xlib-0.12/debian/changelog
+++ python-xlib-0.12/debian/changelog
@@ -1,3 +1,11 @@
+python-xlib (0.12-5.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix old FSF address.
+ * Update package to new python policy (Closes: #373367).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]> Fri, 30 Jun 2006 11:18:19 +0200
+
python-xlib (0.12-5) unstable; urgency=low
* New maintainer (closes: #254793)
diff -u python-xlib-0.12/debian/control python-xlib-0.12/debian/control
--- python-xlib-0.12/debian/control
+++ python-xlib-0.12/debian/control
@@ -2,31 +2,19 @@
Section: python
Priority: extra
Maintainer: Martin v. Löwis <[EMAIL PROTECTED]>
-Build-Depends-Indep: debhelper (>= 4.1.67), python (>= 2.3), texinfo
-Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11)
+Build-Depends-Indep: python-support (>= 0.3), texinfo
+Standards-Version: 3.7.2
Package: python-xlib
Architecture: all
Depends: ${python:Depends}
-Description: Interface for Python to the X11 Protocol (dummy package)
- python-xlib is a 100% pure Python implementation of the X11
- protocol. It currently implements client-side X11R6 fully, supports
- the resource database, ICCM, and the Shape extension.
-
-Package: python2.3-xlib
-Architecture: all
-Depends: python2.3
+Provides: ${python:Provides}
+Replaces: python2.3-xlib (<< 0.12-5.1), python2.4-xlib (<< 0.12-5.1)
+Conflicts: python2.3-xlib (<< 0.12-5.1), python2.4-xlib (<< 0.12-5.1)
Suggests: python-xlib-doc
-Description: Interface for Python to the X11 Protocol (for Python2.3)
- python-xlib is a 100% pure Python implementation of the X11
- protocol. It currently implements client-side X11R6 fully, supports
- the resource database, ICCM, and the Shape extension.
-
-Package: python2.4-xlib
-Architecture: all
-Depends: python2.4
-Suggests: python-xlib-doc
-Description: Interface for Python to the X11 Protocol (for Python2.4)
+XB-Python-Version: ${python:Versions}
+Description: Interface for Python to the X11 Protocol (dummy package)
python-xlib is a 100% pure Python implementation of the X11
protocol. It currently implements client-side X11R6 fully, supports
the resource database, ICCM, and the Shape extension.
diff -u python-xlib-0.12/debian/rules python-xlib-0.12/debian/rules
--- python-xlib-0.12/debian/rules
+++ python-xlib-0.12/debian/rules
@@ -7,12 +7,24 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-build:
+PYVERS:=$(shell pyversions -r)
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ set -e; \
+ for py in $(PYVERS); do \
+ $$py setup.py build; \
+ done
make -C doc/info.deb
+ touch $@
clean:
dh_testdir
dh_testroot
+ -for py in $(PYVERS); do \
+ $$py setup.py clean; \
+ done
rm -f install-stamp build-stamp
find Xlib -name \*.pyc | xargs rm -f
make -C doc/info.deb clean
@@ -24,8 +36,10 @@
dh_testroot
dh_clean -k
dh_installdirs
- dh_install -Xcvsignore -ppython2.3-xlib Xlib
usr/lib/python2.3/site-packages
- dh_install -Xcvsignore -ppython2.4-xlib Xlib
usr/lib/python2.4/site-packages
+ set -e; \
+ for py in $(PYVERS); do \
+ $$py setup.py install --root=debian/python-xlib; \
+ done
dh_installdocs -A -Xcvsignore
# installdocs doesn't copy the symbolic link
dh_install -ppython-xlib-doc doc/html/*.html
usr/share/doc/python-xlib-doc/html
@@ -43,13 +57,14 @@
dh_installchangelogs
dh_compress -X.py
dh_fixperms
+ dh_pysupport
dh_python
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
-source diff:
+source diff:
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
diff -u python-xlib-0.12/debian/copyright python-xlib-0.12/debian/copyright
--- python-xlib-0.12/debian/copyright
+++ python-xlib-0.12/debian/copyright
@@ -22,8 +22,8 @@
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ MA 02110-1301, USA.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
only in patch2:
unchanged:
--- python-xlib-0.12.orig/debian/pycompat
+++ python-xlib-0.12/debian/pycompat
@@ -0,0 +1 @@
+2
signature.asc
Description: Digital signature

