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

Bug 487570

Summary: net-libs/nodejs: misses ${PYTHON_DEPS} use
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Johan Bergström <bugs>
Status: RESOLVED FIXED    
Severity: normal CC: leho, patrick, prestopoole
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:23:51 UTC
The package uses python-any-r1 but doesn't have any dependency on Python.

If the package uses Python during build time, it needs:

  DEPEND="${PYTHON_DEPS}"
Comment 1 Daniel Neugebauer 2013-11-15 20:55:31 UTC
Tried it, adding ${PYTHON_DEPS} works for me (was on Python 2.6 and nodejs didn't compile, 2.7 got merged as dependency after change):

  DEPEND="${PYTHON_DEPS} ${RDEPEND}"
Comment 2 Johan Bergström 2013-11-29 20:46:36 UTC
*** Bug 492884 has been marked as a duplicate of this bug. ***
Comment 3 beshc 2014-01-16 13:55:09 UTC
I confirm adding ${PYTHON_DEPS} works for me as well.
Comment 4 Leho Kraav (:macmaN @lkraav) 2014-01-20 20:37:05 UTC
This helped build nodejs-0.10.24 on Prefix. Can we get the patch into the tree?
Comment 5 Johan Bergström 2014-01-20 21:45:17 UTC
@patrick: play it off, ceiling cat
Comment 6 Patrick Lauer gentoo-dev 2014-07-23 03:28:57 UTC
+  23 Jul 2014; Patrick Lauer <patrick@gentoo.org> nodejs-0.10.29.ebuild,
+  nodejs-0.11.13.ebuild, nodejs-0.8.27.ebuild:
+  Add PYTHON_DEPS #487570