net-libs/nodejs: Fix REQUIRED_USE.
authorJeroen Roovers <jer@gentoo.org>
Sat, 24 Feb 2018 10:53:24 +0000 (11:53 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sat, 24 Feb 2018 10:54:07 +0000 (11:54 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-libs/nodejs/nodejs-6.12.3.ebuild

index ab8e2550ebd32f90805cc49ef37c604942a1eb12..04521bbfe559dce0c90f067912323b62eb0da48d 100644 (file)
@@ -18,7 +18,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cpu_flags_x86_sse2 debug doc icu inspector +npm +snapshot +ssl test"
 REQUIRED_USE="
+       ${PYTHON_REQUIRED_USE}
        inspector? ( icu ssl )
+
 "
 
 RDEPEND="
@@ -33,10 +35,7 @@ DEPEND="
        ${PYTHON_DEPS}
        test? ( net-misc/curl )
 "
-
 S="${WORKDIR}/node-v${PV}"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
 PATCHES=(
        "${FILESDIR}"/gentoo-global-npm-config.patch
 )