dev-libs/libdbusmenu: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 07:56:00 +0000 (09:56 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:22:00 +0000 (13:22 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-libs/libdbusmenu/libdbusmenu-12.10.2-r2.ebuild

index d467a4a00c179001b15be25e2bb219de1dc0abd1..685ef1781a8dc1c62cddc2977ab8769a0c2b0eae 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=5
@@ -25,6 +25,7 @@ RDEPEND="
        >=dev-libs/json-glib-0.13.4[${MULTILIB_USEDEP}]
        >=dev-libs/glib-2.32[${MULTILIB_USEDEP}]
        dev-libs/libxml2[${MULTILIB_USEDEP}]
+       ${PYTHON_DEPS}
        gtk? ( x11-libs/gtk+:2[introspection?,${MULTILIB_USEDEP}] )
        gtk3? ( >=x11-libs/gtk+-3.2:3[introspection?,${MULTILIB_USEDEP}] )
        introspection? ( >=dev-libs/gobject-introspection-1 )
@@ -36,6 +37,11 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig[${MULTILIB_USEDEP}]
        introspection? ( $(vala_depend) )"
 
+pkg_setup() {
+       xdg_environment_reset
+       python-single-r1_pkg_setup
+}
+
 src_prepare() {
        if use introspection; then
                vala_src_prepare
@@ -48,11 +54,6 @@ src_prepare() {
        epatch_user
 }
 
-pkg_setup() {
-       xdg_environment_reset
-       python-single-r1_pkg_setup
-}
-
 multilib_src_configure() {
        append-flags -Wno-error #414323