tags 586937 patch thanks Here's a patch that works around the issue. The problem is the configure script that only checks for python 2.4 and 2.5
Another problem is that Buffy isn't importable, as it's in a python-buffy directory under pyshared, this fixes that too. SR
diff -Nru libbuffy-bindings-0.10/debian/changelog libbuffy-bindings-0.10+nmu1/debian/changelog --- libbuffy-bindings-0.10/debian/changelog 2010-03-05 18:54:09.000000000 +0200 +++ libbuffy-bindings-0.10+nmu1/debian/changelog 2010-06-26 17:09:33.000000000 +0200 @@ -1,3 +1,9 @@ +libbuffy-bindings (0.10+nmu1) unstable; urgency=low + + * Non-maintainer upload. + + -- Stefano Rivera <[email protected]> Sat, 26 Jun 2010 16:07:44 +0200 + libbuffy-bindings (0.10) unstable; urgency=low * Ported to libbuffy 1.4 diff -Nru libbuffy-bindings-0.10/debian/control libbuffy-bindings-0.10+nmu1/debian/control --- libbuffy-bindings-0.10/debian/control 2010-03-05 18:54:09.000000000 +0200 +++ libbuffy-bindings-0.10+nmu1/debian/control 2010-06-26 17:09:33.000000000 +0200 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Enrico Zini <[email protected]> Uploaders: martin f krafft <[email protected]> -Build-Depends: cdbs, debhelper (>= 7), dh-buildinfo, libbuffy-dev (>= 1.4), libbuffy-dev (<< 2.0), swig, perl (>= 5.6.0-16), python, python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), pkg-config, libtool, ruby1.8-dev, ruby, libwibble-dev (>= 0.1.15), libwibble-dev (<< 0.2), libglib2.0-dev, zlib1g-dev +Build-Depends: cdbs, debhelper (>= 7), dh-buildinfo, libbuffy-dev (>= 1.4), libbuffy-dev (<< 2.0), swig, perl (>= 5.6.0-16), python, python-dev (>= 2.3.5-11), python-central (>= 0.5.6), pkg-config, libtool, ruby1.8-dev, ruby, libwibble-dev (>= 0.1.15), libwibble-dev (<< 0.2), libglib2.0-dev, zlib1g-dev Standards-Version: 3.8.4.0 XS-Python-Version: >= 2.3 Vcs-Git: git://git.debian.org/git/buffy/bindings.git diff -Nru libbuffy-bindings-0.10/debian/libbuffy-perl.debhelper.log libbuffy-bindings-0.10+nmu1/debian/libbuffy-perl.debhelper.log --- libbuffy-bindings-0.10/debian/libbuffy-perl.debhelper.log 2010-03-05 18:55:13.000000000 +0200 +++ libbuffy-bindings-0.10+nmu1/debian/libbuffy-perl.debhelper.log 1970-01-01 02:00:00.000000000 +0200 @@ -1,2 +0,0 @@ -dh_prep -dh_prep diff -Nru libbuffy-bindings-0.10/debian/libbuffy-ruby.debhelper.log libbuffy-bindings-0.10+nmu1/debian/libbuffy-ruby.debhelper.log --- libbuffy-bindings-0.10/debian/libbuffy-ruby.debhelper.log 2010-03-05 18:55:13.000000000 +0200 +++ libbuffy-bindings-0.10+nmu1/debian/libbuffy-ruby.debhelper.log 1970-01-01 02:00:00.000000000 +0200 @@ -1,2 +0,0 @@ -dh_prep -dh_prep diff -Nru libbuffy-bindings-0.10/debian/python-buffy.debhelper.log libbuffy-bindings-0.10+nmu1/debian/python-buffy.debhelper.log --- libbuffy-bindings-0.10/debian/python-buffy.debhelper.log 2010-03-05 18:55:13.000000000 +0200 +++ libbuffy-bindings-0.10+nmu1/debian/python-buffy.debhelper.log 1970-01-01 02:00:00.000000000 +0200 @@ -1,2 +0,0 @@ -dh_prep -dh_prep diff -Nru libbuffy-bindings-0.10/debian/python-buffy.install libbuffy-bindings-0.10+nmu1/debian/python-buffy.install --- libbuffy-bindings-0.10/debian/python-buffy.install 2010-03-05 18:54:09.000000000 +0200 +++ libbuffy-bindings-0.10+nmu1/debian/python-buffy.install 2010-06-26 17:14:59.000000000 +0200 @@ -1 +1,2 @@ -debian/tmp/usr/lib/python* +debian/tmp/usr/lib/python2.*/*-packages/_Buffy.so* +debian/tmp/usr/lib/python2.*/*-packages/Buffy.py diff -Nru libbuffy-bindings-0.10/debian/rules libbuffy-bindings-0.10+nmu1/debian/rules --- libbuffy-bindings-0.10/debian/rules 2010-03-05 18:54:09.000000000 +0200 +++ libbuffy-bindings-0.10+nmu1/debian/rules 2010-06-26 17:12:05.000000000 +0200 @@ -37,7 +37,8 @@ build-stamp: configure # Build cd perl && make all OPTIMIZE="$(CXXFLAGS)" - cd python && make all + cd python && make all PYTHON_CFLAGS="$(shell python-config --cflags)" \ + PYTHON_LIBS="$(shell python-config --libs)" cd ruby && make all # Test test "$(DO_TEST)" = true && (cd tests && ./test.pl) @@ -55,9 +56,10 @@ -cd ruby && make clean rm -f perl/Makefile.old rm -f ruby/Makefile - rm -f build-stamp config-stamp + rm -f build-stamp config-stamp install-stamp # dh_prep + rm -f debian/*.debhelper.log install: install-stamp install-stamp: @@ -68,6 +70,7 @@ # Install cd perl && make install DESTDIR=$(DEB_INSTALL_PREFIX) cd python && make install DESTDIR=$(DEB_INSTALL_PREFIX) + cd debian/tmp/usr/lib/python2.*/*-packages/buffy-python && mv Buffy.py .. cd ruby && make install DESTDIR=$(DEB_INSTALL_PREFIX) mv debian/tmp/usr/local/lib/site_ruby debian/tmp/usr/lib/ruby #

