dev-libs/libdbusmenu: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
David Seifert
2017-04-23 09:56:00 +02:00
parent 9d64e5a467
commit 654d9f22dc

View 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