Version bump and FEATURES=test emerge xapian built fine for me on amd64.
Just did a run of FEATURES=test USE="php python" emerge xapian-bindings which seems to work fine on my amd64 setup. Tested with Python 2.4, 2.5 and 2.6 as well as PHP 5.2.13. It needs a minor edit for it to work, though: --- /usr/portage/dev-libs/xapian-bindings/xapian-bindings-1.0.20.ebuild 2010-04-29 19:16:03.000000000 +0200 +++ xapian-bindings-1.2.0.ebuild 2010-06-01 23:14:31.000000000 +0200 @@ -38,8 +38,8 @@ src_prepare() { sed \ - -e 's:\(^pylib_DATA = xapian.py\).*:\1:' \ - -e 's|\(^xapian.py: modern/xapian.py\)|\1 _xapian$(PYTHON_SO)|' \ + -e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \ + -e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \ -i python/Makefile.{am,in} || die "sed failed" }
Bumped version to 1.2.2 - skipping 1.2.1 since it had some issues. New version of xapian-bindings ebuild soon attached. Tested against 2.5,2.6,2.7 and php 5.3.2. This ebuild incorporates the above sed diff. Also, shouldn't dev-libs/xapian be dev-db/xapian?
Created attachment 238211 [details] xapian-bindings-1.2.2.ebuild
pylibdir had to be changed to pkgpylibdir. Fixed.