media-gfx/eog-plugins: Port to python-single-r1
authorDavid Seifert <soap@gentoo.org>
Mon, 17 Apr 2017 16:46:17 +0000 (18:46 +0200)
committerDavid Seifert <soap@gentoo.org>
Mon, 17 Apr 2017 16:48:22 +0000 (18:48 +0200)
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

index 2247c807dd2981d9903988f19e78fb32ee1f332b..0cd2daf86631ec3ff7e2fef450e528be50a9617e 100644 (file)
@@ -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() {