Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179930 - net-im/gajim requires python-2.5 with sqlite support
Summary: net-im/gajim requires python-2.5 with sqlite support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Peter Weller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-26 22:50 UTC by Christoph Mende (RETIRED)
Modified: 2007-05-27 13:01 UTC (History)
1 user (show)

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


Attachments
Make the ebuild check python versions after 2.5 have USE="sqlite" (gajim-0.11.1.ebuild-sqlite-check.patch,451 bytes, patch)
2007-05-27 12:38 UTC, Jack Kelly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Mende (RETIRED) gentoo-dev 2007-05-26 22:50:41 UTC
gajim only depends on pysqlite with python <2.5, it doesn't check for the sqlite use flag on python-2.5 :>
Comment 1 Jack Kelly 2007-05-27 09:17:54 UTC
That would be because sqlite is now part of the python 2.5 standard library under the module name `sqlite3' (http://docs.python.org/whatsnew/modules.html). Gajim is already python 2.5 aware (it does a try: import sqlite3; except ImportError: ...). I checked the configure script for python 2.5.1 and couldn't find a sqlite switch in configure --help or configure.in (which explains the absence of a sqlite USE), so I'd recommend RESOLVED INVALID.
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2007-05-27 12:25:14 UTC
I know that. :>
All I'm asking for is:
if has_version ">=dev-lang/python-2.5" && ! built_with_use dev-lang/python sqlite; then
eerror "Please rebuild python with USE=\"sqlite\""
die "USE\="sqlite\" needed for python"
fi
and I'd recommend putting that in pkg_setup() and RESOLVED FIXED
Comment 3 Jack Kelly 2007-05-27 12:38:33 UTC
Created attachment 120437 [details, diff]
Make the ebuild check python versions after 2.5 have USE="sqlite"

Ah yes, silly me. Have a look at the attached patch.
Comment 4 Peter Weller (RETIRED) gentoo-dev 2007-05-27 13:01:00 UTC
Done and done...
@Jack, you posted the patch too late ;)