media-libs/gexiv2: Support python3_5
authorPacho Ramos <pacho@gentoo.org>
Sun, 28 Feb 2016 11:05:07 +0000 (12:05 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sun, 28 Feb 2016 11:08:54 +0000 (12:08 +0100)
Package-Manager: portage-2.2.27

media-libs/gexiv2/gexiv2-0.10.3.ebuild

index 4689ead089709479c76485f21b02f70adb3ebca2..574db71c79e41b8a040496b8a592c19c6f4f68d5 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
 
 inherit eutils multilib python-r1 toolchain-funcs versionator xdg-utils
 
@@ -24,16 +24,16 @@ REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
 RDEPEND="${PYTHON_DEPS}
        >=dev-libs/glib-2.26.1:2
        >=media-gfx/exiv2-0.21:0=
-       introspection? ( dev-libs/gobject-introspection )"
+       introspection? ( dev-libs/gobject-introspection:= )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
 src_prepare() {
+       xdg_environment_reset
        tc-export CXX
 }
 
 src_configure() {
-       xdg_environment_reset
        econf \
                $(use_enable introspection) \
                $(use_enable static-libs static)