Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166612 - www-apps/trac-0.10.3 needs adjustment for python 2.5
Summary: www-apps/trac-0.10.3 needs adjustment for python 2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Julien Allanos (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 149106
Blocks: python-2.5
  Show dependency tree
 
Reported: 2007-02-13 05:11 UTC by Craig Andrews
Modified: 2007-08-19 10:06 UTC (History)
4 users (show)

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


Attachments
patch to trac-0.10.3.1 ebuild (trac-0.10.3.1-python-2.5-ebuild.patch,718 bytes, patch)
2007-05-31 11:27 UTC, Jack Kelly
Details | Diff
patch to trac-0.10.4 ebuild (trac-0.10.4-python-2.5-ebuild.patch,710 bytes, patch)
2007-05-31 11:28 UTC, Jack Kelly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2007-02-13 05:11:31 UTC
The trac ebuild should be changed to reflect the fact that Python 2.5 includes pysqlite in it already. This can be done by simply changing the dependency from:
>=dev-python/pysqlite-2.3
to
|| (>=dev-python/pysqlite-2.3 >=dev-lang/python-2.5)

Thanks!

Reproducible: Always
Comment 1 Jack Kelly 2007-05-30 12:16:37 UTC
There's more to it than that, since >=dev-lang/python-2.5 now has a sqlite use flag. See https://bugs.gentoo.org/show_bug.cgi?id=179930 for a similar situation with net-im/gajim.

It will also need a built_with_use check in pkg_setup.
Comment 2 Jack Kelly 2007-05-31 11:27:52 UTC
Created attachment 120756 [details, diff]
patch to trac-0.10.3.1 ebuild

Suggested fix to check for sqlite in python 2.5 for trac 0.10.3.1
Comment 3 Jack Kelly 2007-05-31 11:28:13 UTC
Created attachment 120758 [details, diff]
patch to trac-0.10.4 ebuild

Suggested fix to check for sqlite in python 2.5 for trac 0.10.4
Comment 4 Jack Kelly 2007-06-25 09:11:40 UTC
These patches appear to have been ignored for 3 and a half weeks. Is there anything I can do to help this along further?
Comment 5 Craig Andrews gentoo-dev 2007-07-16 19:41:49 UTC
Any news?
Comment 6 Walter 2007-07-27 22:47:05 UTC
Whatever the situation, the current 'stable' packages in portage have a bug related to this issue.

As a user with no python experience, I had to go to #trac and ask around before my install worked.  

I was amazed that 'emerge trac' didn't solve dependencies.  Why?

I had to manually emerge dev-python/pysqlite before it would work.

Anyway, this situation needs to change.  

(python 2.4.4-r4, sqlite 3.3.17 ... manually installed pysqlite 2.3.3)
Comment 7 Jack Kelly 2007-08-09 14:45:16 UTC
@Walter: Did you emerge trac with the 'sqlite' use flag? If so, portage should've pulled in sqlite and pysqlite automatically. Can you reproduce the behaviour you described above? It appears that trac can use a mysql or a sqlite backend, so it shouldn't always pull in (py)sqlite.

@Julien: Is there anything I can do to help this bug on its way?
Comment 8 Julien Allanos (RETIRED) gentoo-dev 2007-08-19 10:06:10 UTC
Fixed for 0.10.* in CVS, sorry for the delay. Will remove 0.9.6 in a short time. Thanks