From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 822141381F3 for ; Sun, 16 Aug 2020 07:52:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE982E0863; Sun, 16 Aug 2020 07:52:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3997E0863 for ; Sun, 16 Aug 2020 07:52:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A07B334DC65 for ; Sun, 16 Aug 2020 07:52:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B34122B for ; Sun, 16 Aug 2020 07:52:40 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1597564155.65db49f158d6f4c4e77f5d33d01baa30f876e9c5.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyatspi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyatspi/pyatspi-2.36.0.ebuild X-VCS-Directories: dev-python/pyatspi/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 65db49f158d6f4c4e77f5d33d01baa30f876e9c5 X-VCS-Branch: master Date: Sun, 16 Aug 2020 07:52:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2d13e891-6061-4bc8-9fe2-ff2f19f7aab4 X-Archives-Hash: 52ded42227327c4d9edff536fcdb1b3b commit: 65db49f158d6f4c4e77f5d33d01baa30f876e9c5 Author: Mart Raudsepp gentoo org> AuthorDate: Sun Aug 16 07:14:15 2020 +0000 Commit: Mart Raudsepp gentoo 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 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