I'm going to NMU that, because it blocks the amd64 archive rebuild, and because of [1].
I had to modify debian/control and debian/rules. the new versions are attached to this mail. [1] http://lists.debian.org/debian-release/2006/04/msg00005.html -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
#! /usr/bin/make -f p := python-xmms pd := python-xmms-doc p23 := python2.3-xmms p24 := python2.4-xmms d23 := debian/$(p23) d24 := debian/$(p24) dd := debian/$(pd) MANPAGE_SOURCE := debian/pyxmms.sgml MANPAGE := pyxmms.3 WGET := wget # README.Debian for "slave" packages, i.e. packages that don't hold their # own documentation (which is located in $(pd)). DEBIAN_SLAVE_README := debian/README.Debian # According to Debian Policy 3.6.1 PY_BUILD_FLAGS += --debug build: build-arch build-indep build-arch: build23-stamp build24-stamp build23-stamp: dh_testdir debian/python2.3-xmms.postinst rm -f build23-stamp python2.3 ./setup.py build $(PY_BUILD_FLAGS) touch build23-stamp build24-stamp: dh_testdir debian/python2.4-xmms.postinst rm -f build24-stamp python2.4 ./setup.py build $(PY_BUILD_FLAGS) touch build24-stamp build-indep: build-indep-stamp # Dependencies: # - on build24-stamp because we need the .so files to generate the # documentation (pydoc imports the modules, and we are using Python 2.4 # in order to run pydoc) # - on $(MANPAGE_SOURCE) because the manual page belongs to the debian # package (not provided upstream) and therefore might be modified by the # debian maintainer between successive builds of the package (well, the # dependency is not needed if he calls the clean target between those # builds)... not really necessary, but not harmful. build-indep-stamp: build24-stamp $(MANPAGE_SOURCE) dh_testdir build-documentation.py src/_xmmscontrolmodule.c \ debian/pyxmms.sgml rm -f build-indep-stamp # The docs are best formatted IMHO with Python >= 2.3. python2.4 ./build-documentation.py docbook-to-man "$(MANPAGE_SOURCE)" >"$(MANPAGE)" touch build-indep-stamp clean: dh_testdir src/_xmmscontrolmodule.c dh_testroot -rm -f *-stamp rm -rf build MANIFEST "$(MANPAGE)" for module in common control config; do \ rm -f doc/xmms.$${module}.html; \ done dh_clean binary-indep: build-indep dh_testdir doc/xmms.control.html debian/pyxmms.sgml dh_testroot dh_clean -k # It is important to have python-xmms before python-xmms-doc in the control # file because I don't want the README.Debian in python-xmms-doc but # dh_installdocs automatically installs it in the first binary package listed # in the control file... dh_installdocs -p$(pd) README dh_installdocs -p$(p) "$(DEBIAN_SLAVE_README)" NEWS dh_installdirs -p$(pd) usr/share/doc/python-xmms-doc/html dh_install -p$(pd) doc/* usr/share/doc/python-xmms-doc/html dh_installman -p$(pd) "$(MANPAGE)" dh_installchangelogs -i ChangeLog dh_compress -i -X.py dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary-arch: build-arch dh_testdir src/_xmmscontrolmodule.c dh_testroot dh_clean -k # We want no precompiled files in the .deb files. We will generate them in # postinst. python2.3 ./setup.py install --prefix="$$PWD/$(d23)/usr" --no-compile python2.4 ./setup.py install --prefix="$$PWD/$(d24)/usr" --no-compile dh_strip -a dh_installdocs -A -a $(DEBIAN_SLAVE_README) NEWS dh_installchangelogs -a ChangeLog dh_compress -a -X.py dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch # FIXME: mktemp(1) says: # Debian packages using mktemp in maintainer scripts must depend on # debianutils >= 1.7. # but is it really necessary when it is only used in get-orig-source? # And, agreed, it is not essential here... get-orig-source: TMPFILE="`mktemp -t PyXMMS.XXXXXXXXXX`" && \ $(WGET) -O "$$TMPFILE" \ http://www.via.ecp.fr/~flo/2002/PyXMMS/dist/latest && \ LATEST_UPSTREAM_VERSION=`tar tzf "$$TMPFILE" | head -1 \ | sed 's/.*-\([0-9]*\.[0-9]*\)\//\1/'` && \ mv "$$TMPFILE" pyxmms_$${LATEST_UPSTREAM_VERSION}.orig.tar.gz .PHONY: clean build build-arch build-indep binary binary-arch binary-indep \ get-orig-source
Source: pyxmms Section: python Priority: optional Maintainer: Ernesto Nadir Crespo Avila <[EMAIL PROTECTED]> Build-Depends: python2.3 (>= 2.3-1), python2.4 (>= 2.4-1), python2.3-dev (>= 2.3-1), python2.4-dev (>= 2.4-1), xmms-dev, libglib1.2-dev, debhelper (>= 4), docbook-to-man Standards-Version: 3.6.2 Package: python-xmms Architecture: all Depends: python2.3-xmms, python (>= 2.3), python (<< 2.4) Suggests: python-xmms-doc Description: Python interface to XMMS PyXMMS, packaged as python-xmms in Debian, is a set of Python bindings for the libxmms library. With PyXMMS, you can control an XMMS session and manage the XMMS main configuration file from a program written in the Python programming language. . This package does not contain PyXMMS itself, but simply depends on pythonX.Y-xmms where X.Y is the current Debian default Python version. Unless you want to use PyXMMS with a specific Python version, this is the right package to install. Package: python-xmms-doc Section: doc Architecture: all Suggests: python-xmms, python2.3-xmms, python2.4-xmms Description: Python interface to XMMS (documentation) PyXMMS, packaged as python-xmms in Debian, is a set of Python bindings for the libxmms library. With PyXMMS, you can control an XMMS session and manage the XMMS main configuration file from a program written in the Python programming language. . This package contains the documentation for PyXMMS. Package: python2.3-xmms Architecture: any Depends: python2.3, ${shlibs:Depends} Conflicts: pyxmms-remote (<< 1.07) Suggests: python-xmms-doc Description: Python interface to XMMS (Python 2.3 version) PyXMMS, packaged as python-xmms in Debian, is a set of Python bindings for the libxmms library. With PyXMMS, you can control an XMMS session and manage the XMMS main configuration file from a program written in the Python programming language. . This package contains a PyXMMS build for use with Python 2.3. Package: python2.4-xmms Architecture: any Depends: python2.4, ${shlibs:Depends} Conflicts: pyxmms-remote (<< 1.07) Suggests: python-xmms-doc Description: Python interface to XMMS (Python 2.4 version) PyXMMS, packaged as python-xmms in Debian, is a set of Python bindings for the libxmms library. With PyXMMS, you can control an XMMS session and manage the XMMS main configuration file from a program written in the Python programming language. . This package contains a PyXMMS build for use with Python 2.4.
signature.asc
Description: Digital signature