Hi, Attached is the diff for my pyogg 1.3-1.1 NMU.
-- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u pyogg-1.3/debian/control pyogg-1.3/debian/control --- pyogg-1.3/debian/control +++ pyogg-1.3/debian/control @@ -2,12 +2,15 @@ Section: interpreters Priority: optional Maintainer: Christopher L Cheney <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 4.1.62), libogg-dev (>> 1.0.0), python-dev (>= 2.3) -Standards-Version: 3.6.1.0 +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), + python-support (>= 0.3), libogg-dev (>> 1.0.0) +Standards-Version: 3.7.2 Package: python-pyogg Architecture: any Depends: ${python:Depends}, ${shlibs:Depends} +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} Description: A Python interface to the Ogg library This module makes the libogg (Ogg) functions available in Python. With this module you can write Python applications diff -u pyogg-1.3/debian/rules pyogg-1.3/debian/rules --- pyogg-1.3/debian/rules +++ pyogg-1.3/debian/rules @@ -6,22 +6,19 @@ #export DH_VERBOSE=1 # This is the debhelper compatability version to use. -export DH_COMPAT=3 +export DH_COMPAT=5 -configure: configure-stamp -configure-stamp: - dh_testdir - - python config_unix.py --prefix /usr - python setup.py config - - touch configure-stamp +PYVERS := $(shell pyversions -r) -build: configure-stamp build-stamp +build: build-stamp build-stamp: dh_testdir - python setup.py build + set -e; \ + for py in $(PYVERS); do \ + $$py config_unix.py --prefix /usr; \ + $$py setup.py build; \ + done touch build-stamp @@ -31,7 +28,9 @@ rm -f build-stamp configure-stamp #if [ -f Setup ] ; then python setup.py clean --all ; fi - -python setup.py clean --all + -for py in $(PYVERS); do \ + $$py setup.py clean --all; \ + done -rm Setup dh_clean @@ -42,7 +41,9 @@ dh_clean -k dh_installdirs - python setup.py install --prefix $(CURDIR)/debian/python-pyogg/usr + for py in $(PYVERS); do \ + $$py setup.py install --root=$(CURDIR)/debian/python-pyogg; \ + done # Build architecture-independent files here. @@ -56,6 +57,7 @@ dh_installdocs dh_installexamples dh_installchangelogs ChangeLog + dh_pysupport dh_python dh_link dh_strip @@ -72 +74 @@ -.PHONY: build clean binary-indep binary-arch binary install configure +.PHONY: build clean binary-indep binary-arch binary install diff -u pyogg-1.3/debian/changelog pyogg-1.3/debian/changelog --- pyogg-1.3/debian/changelog +++ pyogg-1.3/debian/changelog @@ -1,3 +1,10 @@ +pyogg (1.3-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Update package to the last python policy (Closes: #373500). + + -- Pierre Habouzit <[EMAIL PROTECTED]> Fri, 30 Jun 2006 11:02:53 +0200 + pyogg (1.3-1) unstable; urgency=low * Maintainer upload. @@ -62,3 +68,0 @@ -Local variables: -mode: debian-changelog -End: only in patch2: unchanged: --- pyogg-1.3.orig/debian/pycompat +++ pyogg-1.3/debian/pycompat @@ -0,0 +1 @@ +2
signature.asc
Description: Digital signature