Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyatspi/
Date: Thu, 17 Jan 2019 13:59:21
Message-Id: 1547733494.707caa7dd9ba83fc90109499e2cf0eb2fe079a49.leio@gentoo
1 commit: 707caa7dd9ba83fc90109499e2cf0eb2fe079a49
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 17 13:49:35 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 17 13:58:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=707caa7d
7
8 dev-python/pyatspi: bump to 2.26.0
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-python/pyatspi/Manifest | 1 +
14 dev-python/pyatspi/pyatspi-2.26.0.ebuild | 57 ++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/dev-python/pyatspi/Manifest b/dev-python/pyatspi/Manifest
18 index 4875a57f887..3c438ea0bad 100644
19 --- a/dev-python/pyatspi/Manifest
20 +++ b/dev-python/pyatspi/Manifest
21 @@ -1 +1,2 @@
22 DIST pyatspi-2.24.0.tar.xz 298228 BLAKE2B a1c989df5431a9fdf0b35c5fa75a12b9c083c6a979052e3a621685feada611f4322195b30bc1f4f56cd35f305087756cded31a445cca07e74262ecd807926239 SHA512 ea0c3e5a5a417c4d494cfe33ccfcca1996f417e51f5ccd3508372a0df636fb186b9940d7832681af9b353aa50a9aabd64c5477fdabbc5016794a502396b3d67a
23 +DIST pyatspi-2.26.0.tar.xz 309780 BLAKE2B f3657052ef7c5fde35506e04e5f1a3920fed5edd1af182b3e9bff6fc0461595e9b14644c8858d6f12b1042d57231fc09ae5061129d74a1030e0c8de88364ec7b SHA512 a1aa7e608fa95bdf4c891666fe5038dd2fd7cc7e675cef4c9759ffed4f6342e3cebbc6d5fad8899c0c91eda29664a5f8ff06a1cb0ab46958c8f629cd014d3579
24
25 diff --git a/dev-python/pyatspi/pyatspi-2.26.0.ebuild b/dev-python/pyatspi/pyatspi-2.26.0.ebuild
26 new file mode 100644
27 index 00000000000..25898e111ef
28 --- /dev/null
29 +++ b/dev-python/pyatspi/pyatspi-2.26.0.ebuild
30 @@ -0,0 +1,57 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
36 +
37 +inherit gnome2 python-r1
38 +
39 +DESCRIPTION="Python binding to at-spi library"
40 +HOMEPAGE="https://wiki.gnome.org/Accessibility"
41 +
42 +# Note: only some of the tests are GPL-licensed, everything else is LGPL
43 +LICENSE="LGPL-2 GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +
47 +IUSE="" # test
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +COMMON_DEPEND="${PYTHON_DEPS}
51 + >=dev-libs/atk-2.11.2
52 + dev-python/dbus-python[${PYTHON_USEDEP}]
53 + >=dev-python/pygobject-2.90.1:3[${PYTHON_USEDEP}]
54 +"
55 +RDEPEND="${COMMON_DEPEND}
56 + >=sys-apps/dbus-1
57 + >=app-accessibility/at-spi2-core-2.20.2[introspection]
58 + !<gnome-extra/at-spi-1.32.0-r1
59 +"
60 +DEPEND="${COMMON_DEPEND}
61 + virtual/pkgconfig
62 +"
63 +
64 +PATCHES=(
65 + # https://bugzilla.gnome.org/show_bug.cgi?id=689957
66 + "${FILESDIR}/${PN}-2.6.0-examples-python3.patch"
67 +)
68 +
69 +src_prepare() {
70 + gnome2_src_prepare
71 + python_copy_sources
72 +}
73 +
74 +src_configure() {
75 + python_foreach_impl run_in_build_dir gnome2_src_configure --disable-tests
76 +}
77 +
78 +src_compile() {
79 + python_foreach_impl run_in_build_dir gnome2_src_compile
80 +}
81 +
82 +src_install() {
83 + python_foreach_impl run_in_build_dir gnome2_src_install
84 +
85 + docinto examples
86 + dodoc examples/*.py
87 +}