You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/d-feet/d-feet-0.3.14-r1.ebuild

50 lines
1.1 KiB

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{7,8} )
inherit gnome2 python-single-r1 virtualx
DESCRIPTION="D-Feet is a powerful D-Bus debugger"
HOMEPAGE="https://wiki.gnome.org/Apps/DFeet"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test +X"
RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND="
${PYTHON_DEPS}
>=x11-libs/gtk+-3.9.4:3[introspection]
>=dev-libs/gobject-introspection-0.9.6:=
"
RDEPEND="
${COMMON_DEPEND}
>=dev-libs/glib-2.34:2
$(python_gen_cond_dep '
>=dev-python/pygobject-3.3.91:3[${PYTHON_MULTI_USEDEP}]
')
>=sys-apps/dbus-1
X? ( x11-libs/libwnck:3[introspection] )
"
DEPEND="
${COMMON_DEPEND}
dev-util/itstool
>=dev-util/intltool-0.40.0
test? ( dev-python/pycodestyle )
" # eautoreconf needs yelp-tools
src_configure() {
# Tests are only python pep8 whitespace checking and intltool checks - checking python whitespate style is not useful for us
gnome2_src_configure \
$(use_enable test tests)
}
src_test() {
virtx default
}