commit:     5b79880717be09eabc319b0330dee3216a069501
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 16:46:17 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 16:48:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b798807

media-gfx/eog-plugins: Port to python-single-r1

Bug: https://bugs.gentoo.org/show_bug.cgi?id=615316
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4434

 media-gfx/eog-plugins/eog-plugins-3.16.6.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-gfx/eog-plugins/eog-plugins-3.16.6.ebuild 
b/media-gfx/eog-plugins/eog-plugins-3.16.6.ebuild
index 2247c807dd2..0cd2daf8663 100644
--- a/media-gfx/eog-plugins/eog-plugins-3.16.6.ebuild
+++ b/media-gfx/eog-plugins/eog-plugins-3.16.6.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 GNOME2_LA_PUNT="yes"
 PYTHON_COMPAT=( python{3_4,3_5} )
 
-inherit gnome2 python-r1
+inherit gnome2 python-single-r1
 
 DESCRIPTION="Eye of GNOME plugins"
 HOMEPAGE="https://wiki.gnome.org/Apps/EyeOfGnome/Plugins";
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="+exif flickr map picasa +python"
 REQUIRED_USE="
        map? ( exif )
-       python? ( ^^ ( $(python_gen_useflags '*') ) )
+       python? ( ${PYTHON_REQUIRED_USE} )
 "
 
 RDEPEND="
@@ -49,7 +49,7 @@ DEPEND="${RDEPEND}
 "
 
 pkg_setup() {
-       use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
+       use python && python-single-r1_pkg_setup
 }
 
 src_configure() {

Reply via email to