commit: 65db49f158d6f4c4e77f5d33d01baa30f876e9c5 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> AuthorDate: Sun Aug 16 07:14:15 2020 +0000 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> CommitDate: Sun Aug 16 07:49:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65db49f1
dev-python/pyatspi: enable py3.8, tests Package-Manager: Portage-2.3.103, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> dev-python/pyatspi/pyatspi-2.36.0.ebuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-python/pyatspi/pyatspi-2.36.0.ebuild b/dev-python/pyatspi/pyatspi-2.36.0.ebuild index 3c1b5335abf..3e2dd64de8a 100644 --- a/dev-python/pyatspi/pyatspi-2.36.0.ebuild +++ b/dev-python/pyatspi/pyatspi-2.36.0.ebuild @@ -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