Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyatspi/
Date: Sat, 17 Apr 2021 03:48:16
Message-Id: 1618631282.92bf2469af69f939144dca6ee386a2e62dc83bc6.mattst88@gentoo
1 commit: 92bf2469af69f939144dca6ee386a2e62dc83bc6
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 17 03:36:52 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 17 03:48:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92bf2469
7
8 dev-python/pyatspi: Version bump to 2.38.1
9
10 * Add test dependency on gtk+3 (bug #764797)
11
12 Closes: https://bugs.gentoo.org/764797
13 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
14
15 dev-python/pyatspi/Manifest | 1 +
16 dev-python/pyatspi/pyatspi-2.38.1.ebuild | 59 ++++++++++++++++++++++++++++++++
17 2 files changed, 60 insertions(+)
18
19 diff --git a/dev-python/pyatspi/Manifest b/dev-python/pyatspi/Manifest
20 index f4a02a997de..3912a10f292 100644
21 --- a/dev-python/pyatspi/Manifest
22 +++ b/dev-python/pyatspi/Manifest
23 @@ -1 +1,2 @@
24 DIST pyatspi-2.36.0.tar.xz 315076 BLAKE2B f3f92dafab68ce003e9d63f8ebf901ef834eafb1fab3ddd2051dcfb308b79d7ce6fc4d9187ed51f3af8bebad5e6ef2296c19215ee209ad37fe717f332af8d8f7 SHA512 709236fd992f570426043e32b201bdfee06bb28faa3d1237778f4069d3548b88b8336e53c0951359f5c7e2914b90f6f682ac58e33c84e32f360bdc32662800af
25 +DIST pyatspi-2.38.1.tar.xz 316724 BLAKE2B 59ca2569575f3d319d33972477ebc966670138df8cb6570ac260dd903f54df66fd12beeeee53e3380938e4571910b99ae2bf3f395776b16a73ac27f8fa023c49 SHA512 bf8f1ee9a6e00014a84e4329bb971bec8b4bc8f72c3905ca585ca20b1cf000b855965159fcc10871eb92e9808a6b41b5d793f3ab563ff0867f185279eedcd487
26
27 diff --git a/dev-python/pyatspi/pyatspi-2.38.1.ebuild b/dev-python/pyatspi/pyatspi-2.38.1.ebuild
28 new file mode 100644
29 index 00000000000..e1cb0d9edad
30 --- /dev/null
31 +++ b/dev-python/pyatspi/pyatspi-2.38.1.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +PYTHON_COMPAT=( python3_{7..9} )
38 +
39 +inherit gnome2 python-r1 virtualx
40 +
41 +DESCRIPTION="Python client bindings for D-Bus AT-SPI"
42 +HOMEPAGE="https://wiki.gnome.org/Accessibility"
43 +
44 +# Note: only some of the tests are GPL-licensed, everything else is LGPL
45 +LICENSE="LGPL-2 GPL-2+"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
48 +
49 +IUSE="test"
50 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 +
52 +DEPEND="
53 + ${PYTHON_DEPS}
54 + >=dev-libs/atk-2.11.2
55 + dev-python/dbus-python[${PYTHON_USEDEP}]
56 + >=dev-python/pygobject-2.90.1:3[${PYTHON_USEDEP}]
57 + test? ( x11-libs/gtk+:3 )
58 +"
59 +RDEPEND="${DEPEND}
60 + >=sys-apps/dbus-1
61 + >=app-accessibility/at-spi2-core-2.34[introspection]
62 +"
63 +BDEPEND="virtual/pkgconfig"
64 +
65 +src_prepare() {
66 + gnome2_src_prepare
67 + python_copy_sources
68 +}
69 +
70 +src_configure() {
71 + python_foreach_impl run_in_build_dir gnome2_src_configure $(use_enable test tests)
72 +}
73 +
74 +src_compile() {
75 + python_foreach_impl run_in_build_dir gnome2_src_compile
76 +}
77 +
78 +src_test() {
79 + python_foreach_impl run_in_build_dir virtx dbus-run-session emake check
80 +}
81 +
82 +src_install() {
83 + installing() {
84 + gnome2_src_install
85 + python_optimize
86 + }
87 + python_foreach_impl run_in_build_dir installing
88 +
89 + docinto examples
90 + dodoc examples/*.py
91 +}