Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322405 - dev-libs/{xapian,xapian-bindings}-1.2.2 version bump
Summary: dev-libs/{xapian,xapian-bindings}-1.2.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 20:44 UTC by Johan Bergström
Modified: 2010-07-10 18:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
xapian-bindings-1.2.2.ebuild (xapian-bindings-1.2.2.ebuild,2.90 KB, text/plain)
2010-07-10 09:23 UTC, Johan Bergström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bergström 2010-06-01 20:44:21 UTC
Version bump and FEATURES=test emerge xapian built fine for me on amd64.
Comment 1 Johan Bergström 2010-06-01 21:17:37 UTC
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"
 }
Comment 2 Johan Bergström 2010-07-10 09:23:09 UTC
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?
Comment 3 Johan Bergström 2010-07-10 09:23:28 UTC
Created attachment 238211 [details]
xapian-bindings-1.2.2.ebuild
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-10 18:28:21 UTC
pylibdir had to be changed to pkgpylibdir.

Fixed.