Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487574 - dev-libs/jsoncpp: python-any-r1_pkg_setup call != deps
Summary: dev-libs/jsoncpp: python-any-r1_pkg_setup call != deps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paweł Hajdan, Jr. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-10 19:41 UTC by Michał Górny
Modified: 2013-11-17 23:42 UTC (History)
1 user (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 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.