Package: python-xpyb Version: 1.2-1 Severity: wishlist Tags: patch Hi,
Since python2.6 is in sid now, it would be great to make python-xpyb support it. Patch attached. - Kanru -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-xpyb depends on: ii libc6 2.10.2-5 Embedded GNU C Library: Shared lib ii libxcb1 1.5-2 X C Binding ii python 2.5.4-9 An interactive high-level object-o ii python-support 1.0.6 automated rebuilding support for P python-xpyb recommends no packages. python-xpyb suggests no packages. -- no debconf information
pgpWe3AUIFJJr.pgp
Description: PGP signature
--- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: Julien Danjou <a...@debian.org> Build-Depends: debhelper (>= 7.0.50~), automake, autoconf, xcb-proto (>= 1.1), libtool, pkg-config, - libxcb1-dev (>= 1.1), python-dev (>= 2.5), python-support + libxcb1-dev (>= 1.1), python-all-dev (>= 2.5), python-support, python-xcbgen Standards-Version: 3.8.3 Homepage: http://xcb.freedesktop.org --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,31 @@ #!/usr/bin/make -f +PYTHON_VERSION=$(shell pyversions -s) + override_dh_auto_configure: - autoreconf -vfi - dh_auto_configure + for py in $(PYTHON_VERSION); do \ + mkdir build-$$py; \ + cd build-$$py; \ + ../configure PYTHON=$$py --prefix=/usr; \ + cd $(CURDIR); \ + done override_dh_makeshlibs: +override_dh_auto_build: + for py in $(PYTHON_VERSION); do \ + make -C build-$$py; \ + done +override_dh_auto_install: + for py in $(PYTHON_VERSION); do \ + make -C build-$$py DESTDIR=$(CURDIR)/debian/python-xpyb install; \ + done + +override_dh_auto_clean: + for py in $(PYTHON_VERSION); do \ + rm -rf build-$$py; \ + done + override_dh_install: rm -f debian/python-xpyb/usr/share/doc/xpyb/COPYING dh_install