media-libs/opencolorio: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 10:20:18 +0000 (12:20 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:27:07 +0000 (13:27 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

media-libs/opencolorio/opencolorio-1.0.9-r2.ebuild

index 7ca6746dee32e738db03c1e1d99ffdb8de6034b7..1d80450f58a349acc4e431a32287f12930af59a8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,7 +22,7 @@ IUSE="doc opengl pdf python cpu_flags_x86_sse2 test"
 RDEPEND="opengl? (
                media-libs/lcms:2
                >=media-libs/openimageio-1.1.0
-               media-libs/glew
+               media-libs/glew:0=
                media-libs/freeglut
                virtual/opengl
                )
@@ -38,7 +38,7 @@ DEPEND="${RDEPEND}
        "
 
 # Documentation building requires Python bindings building
-REQUIRED_USE="doc? ( python )"
+REQUIRED_USE="doc? ( python ) python? ( ${PYTHON_REQUIRED_USE} )"
 
 # Restricting tests, bugs #439790 and #447908
 RESTRICT="test"