Skip to content

Commit

Permalink
gnome-extra/gnome-characters: add missing env support for unittests
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
EvaSDK committed Sep 1, 2016
1 parent 0be0572 commit 7ded4de
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions gnome-extra/gnome-characters/gnome-characters-3.20.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

EAPI=6
VALA_USE_DEPEND="vapigen"
PYTHON_COMPAT=( python2_7 )

inherit gnome2 vala virtualx
inherit gnome2 python-any-r1 vala virtualx

DESCRIPTION="Unicode character map viewer and library"
HOMEPAGE="https://wiki.gnome.org/Design/Apps/CharacterMap"
Expand All @@ -28,9 +29,19 @@ DEPEND="${RDEPEND}
>=dev-util/intltool-0.50.1
sys-devel/gettext
virtual/pkgconfig
test? ( dev-util/dogtail )
test? (
${PYTHON_DEPS}
$(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') )
"

python_check_deps() {
has_version "dev-util/dogtail[${PYTHON_USEDEP}]"
}

pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use test && python-any-r1_pkg_setup
}

src_prepare() {
gnome2_src_prepare
vala_src_prepare
Expand Down

0 comments on commit 7ded4de

Please sign in to comment.