Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525330 - dev-python/pymongo should conditionally depend on dev-db/mongodb (USE=test)
Summary: dev-python/pymongo should conditionally depend on dev-db/mongodb (USE=test)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johan Bergström
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 525246
  Show dependency tree
 
Reported: 2014-10-13 19:40 UTC by Jeroen Roovers (RETIRED)
Modified: 2014-10-13 20:11 UTC (History)
4 users (show)

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 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-13 19:40:46 UTC
There is no reason dev-python/pymongo should unconditionally depend on dev-db/mongodb. For all you know the actual database runs on an entirely different system. It does seem to want to start mongod in src_test() so it's OK to keep the dependency as

DEPEND="test? ( dev-db/mongodb )"

(but not in RDEPEND obviously).
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-13 20:11:11 UTC
  13 Oct 2014; Jeroen Roovers <jer@gentoo.org> pymongo-2.7.2.ebuild:
  Marked ~hppa (bug #525246). Conditionally depend on dev-db/mongodb (bug
  #525330).