Hi, Attached is the diff for my python-pyxattr 0.2.1-1.1 NMU.
-- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u python-pyxattr-0.2.1/debian/control python-pyxattr-0.2.1/debian/control
--- python-pyxattr-0.2.1/debian/control
+++ python-pyxattr-0.2.1/debian/control
@@ -5,33 +5,15 @@
-Build-Depends: debhelper (>> 4.0.0), libattr1-dev, python2.3-dev,
python2.4-dev, python
-Standards-Version: 3.6.2
-
-Package: python2.3-pyxattr
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}
-Description: module for manipulating filesystem extended attributes
- pyxattr is a python interface to the libattr library. It allows
- manipulation of the filesystem extended attributes present in some
- operating systems (GNU/Linux included).
- .
- This module is compiled against python 2.3
-
-Package: python2.4-pyxattr
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}
-Description: module for manipulating filesystem extended attributes
- pyxattr is a python interface to the libattr library. It allows
- manipulation of the filesystem extended attributes present in some
- operating systems (GNU/Linux included).
- .
- This module is compiled against python 2.4
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11),
+ python-support (>= 0.3), libattr1-dev
+Standards-Version: 3.7.2
Package: python-pyxattr
-Architecture: all
-Depends: ${python:Depends}
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
+Replaces: python2.3-pyxattr (<< 0.2.1-1.1), python2.4-pyxattr (<< 0.2.1-1.1)
+Conflicts: python2.3-pyxattr (<< 0.2.1-1.1), python2.4-pyxattr (<< 0.2.1-1.1)
+XB-Python-Version: ${python:Versions}
Description: module for manipulating filesystem extended attributes
pyxattr is a python interface to the libattr library. It allows
manipulation of the filesystem extended attributes present in some
operating systems (GNU/Linux included).
- .
- This Debian package is an empty dummy package that always depends on
- a package built for Debian's default Python version.
diff -u python-pyxattr-0.2.1/debian/changelog
python-pyxattr-0.2.1/debian/changelog
--- python-pyxattr-0.2.1/debian/changelog
+++ python-pyxattr-0.2.1/debian/changelog
@@ -1,3 +1,11 @@
+python-pyxattr (0.2.1-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update package to the last python policy (Closes: #373348).
+ * Package is now arch:any (Closes: #368616).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]> Sun, 2 Jul 2006 15:44:23 +0200
+
python-pyxattr (0.2.1-1) unstable; urgency=low
* New upstream release (fixes a symlink handling bug
diff -u python-pyxattr-0.2.1/debian/rules python-pyxattr-0.2.1/debian/rules
--- python-pyxattr-0.2.1/debian/rules
+++ python-pyxattr-0.2.1/debian/rules
@@ -11,8 +11,7 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
-PYTHON2.3 = /usr/bin/python2.3
-PYTHON2.4 = /usr/bin/python2.4
+PYVERS := $(shell pyversions -r)
configure: configure-stamp
configure-stamp:
@@ -25,8 +24,8 @@
build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
- $(PYTHON2.3) setup.py build
- $(PYTHON2.4) setup.py build
+ set -e; for py in $(PYVERS); do \
+ $$py setup.py build; done
touch build-arch-stamp
@@ -47,10 +46,10 @@
dh_clean -k -s
dh_installdirs -s
- $(PYTHON2.3) setup.py install --root=$(CURDIR)/debian/python2.3-pyxattr
- $(PYTHON2.4) setup.py install --root=$(CURDIR)/debian/python2.4-pyxattr
- rm -rf $(CURDIR)/debian/python2.3-pyxattr/usr/share/doc/pyxattr-0.2.1
- rm -rf $(CURDIR)/debian/python2.4-pyxattr/usr/share/doc/pyxattr-0.2.1
+ set -e; for py in $(PYVERS); do \
+ $$py setup.py install --root=$(CURDIR)/debian/python-pyxattr; \
+ done
+ rm -rf $(CURDIR)/debian/python-pyxattr/usr/share/doc/pyxattr-0.2.1
# Build architecture-dependent files here.
binary-arch: build install
@@ -61,6 +60,7 @@
dh_strip
dh_compress
dh_fixperms
+ dh_pysupport
dh_python
dh_installdeb
dh_shlibdeps
only in patch2:
unchanged:
--- python-pyxattr-0.2.1.orig/debian/pycompat
+++ python-pyxattr-0.2.1/debian/pycompat
@@ -0,0 +1 @@
+2
signature.asc
Description: Digital signature

