Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 487574

Summary: dev-libs/jsoncpp: python-any-r1_pkg_setup call != deps
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Paweł Hajdan, Jr. (RETIRED) <phajdan.jr>
Status: RESOLVED FIXED    
Severity: normal CC: john.newman.0
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-10-10 19:41:05 UTC
Dep sez:

  doc? ( ${PYTHON_DEPS} )

So you probably want;

pkg_setup() {
  use doc && python-any-r1_pkg_setup
}

Otherwise, the package will bail out with USE=-python if there's no matching Python around.
Comment 1 John W. Newman 2013-11-05 17:57:49 UTC
Confirmed it is currently broken and it installs correctly applying the fix below.  Thanks for that Michal.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-11-17 23:42:56 UTC
Thanks!

  17 Nov 2013; Pawel Hajdan jr -jsoncpp-0.5.0.ebuild,
  jsoncpp-0.5.0-r1.ebuild:
  Only setup python for USE=doc, bug #487574 by mgorny. Also tested by John W.
  Newman. Remove old.