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: Mon, 11 Mar 2019 18:39:00
Message-Id: 1552329362.0945241c04c71df904276a671da9783dbd4aa698.leio@gentoo
1 commit: 0945241c04c71df904276a671da9783dbd4aa698
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 11 18:36:02 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 11 18:36:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0945241c
7
8 dev-python/pyatspi: bump to 2.30.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.30.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 3c438ea0bad..50d269886f5 100644
19 --- a/dev-python/pyatspi/Manifest
20 +++ b/dev-python/pyatspi/Manifest
21 @@ -1,2 +1,3 @@
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 +DIST pyatspi-2.30.0.tar.xz 310672 BLAKE2B 76d51e6ce2f39305bcda8f706b5207738d3a2c0fd7480efb77c4dab8baf8ed6eb71263375ff0c16be0087e47f7f6b5eab99c6fc8992b83bdea6e64c92c381043 SHA512 a7af81bb55dff45d1bceced645f6aeb1adc1fa2a2b61fc39d9e97b6659e474636e5ac1af9923588311e651fee57b5e31a62ea5b2977b341eda43a5a736bf27ed
25
26 diff --git a/dev-python/pyatspi/pyatspi-2.30.0.ebuild b/dev-python/pyatspi/pyatspi-2.30.0.ebuild
27 new file mode 100644
28 index 00000000000..25898e111ef
29 --- /dev/null
30 +++ b/dev-python/pyatspi/pyatspi-2.30.0.ebuild
31 @@ -0,0 +1,57 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
37 +
38 +inherit gnome2 python-r1
39 +
40 +DESCRIPTION="Python binding to at-spi library"
41 +HOMEPAGE="https://wiki.gnome.org/Accessibility"
42 +
43 +# Note: only some of the tests are GPL-licensed, everything else is LGPL
44 +LICENSE="LGPL-2 GPL-2+"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
47 +
48 +IUSE="" # test
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +COMMON_DEPEND="${PYTHON_DEPS}
52 + >=dev-libs/atk-2.11.2
53 + dev-python/dbus-python[${PYTHON_USEDEP}]
54 + >=dev-python/pygobject-2.90.1:3[${PYTHON_USEDEP}]
55 +"
56 +RDEPEND="${COMMON_DEPEND}
57 + >=sys-apps/dbus-1
58 + >=app-accessibility/at-spi2-core-2.20.2[introspection]
59 + !<gnome-extra/at-spi-1.32.0-r1
60 +"
61 +DEPEND="${COMMON_DEPEND}
62 + virtual/pkgconfig
63 +"
64 +
65 +PATCHES=(
66 + # https://bugzilla.gnome.org/show_bug.cgi?id=689957
67 + "${FILESDIR}/${PN}-2.6.0-examples-python3.patch"
68 +)
69 +
70 +src_prepare() {
71 + gnome2_src_prepare
72 + python_copy_sources
73 +}
74 +
75 +src_configure() {
76 + python_foreach_impl run_in_build_dir gnome2_src_configure --disable-tests
77 +}
78 +
79 +src_compile() {
80 + python_foreach_impl run_in_build_dir gnome2_src_compile
81 +}
82 +
83 +src_install() {
84 + python_foreach_impl run_in_build_dir gnome2_src_install
85 +
86 + docinto examples
87 + dodoc examples/*.py
88 +}