dev-python/pyatspi: enable py3.8, tests

Package-Manager: Portage-2.3.103, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
Mart Raudsepp
2020-08-16 10:14:15 +03:00
parent a2c08daff1
commit 65db49f158

View File

@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{3_6,3_7} )
PYTHON_COMPAT=( python3_{6,7,8} )
inherit gnome2 python-r1
inherit gnome2 python-r1 virtualx
DESCRIPTION="Python client bindings for D-Bus AT-SPI"
HOMEPAGE="https://wiki.gnome.org/Accessibility"
@@ -14,7 +14,7 @@ LICENSE="LGPL-2 GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="" # test
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND="${PYTHON_DEPS}
@@ -29,6 +29,7 @@ RDEPEND="${COMMON_DEPEND}
"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
test? ( sys-apps/dbus )
"
src_prepare() {
@@ -37,13 +38,17 @@ src_prepare() {
}
src_configure() {
python_foreach_impl run_in_build_dir gnome2_src_configure --disable-tests
python_foreach_impl run_in_build_dir gnome2_src_configure $(use_enable test tests)
}
src_compile() {
python_foreach_impl run_in_build_dir gnome2_src_compile
}
src_test() {
python_foreach_impl run_in_build_dir virtx dbus-run-session emake check
}
src_install() {
installing() {
gnome2_src_install