Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302062 - dev-python/python-cdb should optionally depend on dev-db/tinycdb
Summary: dev-python/python-cdb should optionally depend on dev-db/tinycdb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-24 12:50 UTC by Stefan Briesenick (RETIRED)
Modified: 2011-04-03 11:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Briesenick (RETIRED) gentoo-dev 2010-01-24 12:50:27 UTC
Summary says it all.

I've tested it on x86 and amd64, and it builds and works properly.

Something like

  DEPEND="|| ( dev-db/cdb dev-db/tinycdb )"

works. But we have to take care for the different KEYWORDS:

dev-python/python-cdb:
KEYWORDS="amd64 arm ia64 ppc sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"

dev-db/cdb:
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"

dev-db/tinycdb:
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86"

So dev-db/cdb supports more archs. But this can be solved with something like this:

DEPEND="|| (
    dev-db/cdb
    amd64? ( dev-db/tinycdb )
    hppa?  ( dev-db/tinycdb )
    ia64?  ( dev-db/tinycdb )
    ppc?   ( dev-db/tinycdb )
    x86?   ( dev-db/tinycdb )
)"

not so beautiful, but it works. ;-)

Please add tinycdb support. Thanks!


Reproducible: Always

Steps to Reproduce:
Comment 1 Daniel Pielmeier gentoo-dev 2010-01-24 13:18:38 UTC
Why not requesting the missing keywords for dev-db/tinycdb "~arm ~sparc ~x86-fbsd" or will it not work on that archs?

Also why are you not assigning the bug properly yourself. You are a developer at least?
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2010-01-24 20:01:30 UTC
sorry, for not assigning the bug directly. I know, it's the python-herd. I just forgot that...

adding keywords to dev-db/tinycdb is a good idea, but I think this should be up to the maintainer(s) of this package. I could "fix" it by myself also, but it's not nice to fix other ones packages w/o asking them before.
Comment 3 Daniel Pielmeier gentoo-dev 2010-01-24 20:49:19 UTC
(In reply to comment #2)
> sorry, for not assigning the bug directly. I know, it's the python-herd. I just
> forgot that...

No problem, it is just that bugwranglers have enough work already so devs who can edit bugs should assign their bugs themselves.

> adding keywords to dev-db/tinycdb is a good idea, but I think this should be up
> to the maintainer(s) of this package. I could "fix" it by myself also, but it's
> not nice to fix other ones packages w/o asking them before.
> 

Just turn this into a KEYWORDREQ bug and let the maintainers decide if they want to add the arch teams in question.
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2011-04-03 00:13:37 UTC
ping?
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-03 11:48:27 UTC
Fixed in
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-03 11:49:29 UTC
Fixed in dev-python/python-cdb-0.34.