1 |
commit: 5ed5699ba58520528be800333ab3257823e1a9f4 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 8 15:55:44 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 8 16:04:44 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ed5699b |
7 |
|
8 |
app-accessibility/accerciser: Support python 3.5 and bump eapi |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
.../accerciser/accerciser-3.14.0-r1.ebuild | 66 ++++++++++++++++++++++ |
13 |
1 file changed, 66 insertions(+) |
14 |
|
15 |
diff --git a/app-accessibility/accerciser/accerciser-3.14.0-r1.ebuild b/app-accessibility/accerciser/accerciser-3.14.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..de06071 |
18 |
--- /dev/null |
19 |
+++ b/app-accessibility/accerciser/accerciser-3.14.0-r1.ebuild |
20 |
@@ -0,0 +1,66 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+PYTHON_COMPAT=( python{3_3,3_4,3_5} ) |
27 |
+PYTHON_REQ_USE="xml" |
28 |
+ |
29 |
+inherit gnome2 python-r1 |
30 |
+ |
31 |
+DESCRIPTION="Interactive Python accessibility explorer" |
32 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Accerciser" |
33 |
+ |
34 |
+LICENSE="BSD CC-BY-SA-3.0" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
+IUSE="" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ >=app-accessibility/at-spi2-core-2.5.2:2 |
41 |
+ >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}] |
42 |
+ >=x11-libs/gtk+-3.1.13:3[introspection] |
43 |
+ |
44 |
+ dev-libs/atk[introspection] |
45 |
+ >=dev-libs/glib-2.28:2 |
46 |
+ dev-libs/gobject-introspection:= |
47 |
+ >=dev-python/ipython-0.11[${PYTHON_USEDEP}] |
48 |
+ >=dev-python/pyatspi-2.1.5[${PYTHON_USEDEP}] |
49 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
50 |
+ x11-libs/gdk-pixbuf[introspection] |
51 |
+ x11-libs/libwnck:3[introspection] |
52 |
+ x11-libs/pango[introspection] |
53 |
+ ${PYTHON_DEPS} |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ app-text/yelp-tools |
57 |
+ >=dev-util/intltool-0.35 |
58 |
+ dev-util/itstool |
59 |
+ sys-devel/gettext |
60 |
+ virtual/pkgconfig |
61 |
+" |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ gnome2_src_prepare |
65 |
+ |
66 |
+ # Leave shebang alone |
67 |
+ sed 's:@PYTHON@:/usr/bin/python:' -i src/accerciser.in || die |
68 |
+ |
69 |
+ python_copy_sources |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ python_foreach_impl run_in_build_dir gnome2_src_configure |
74 |
+} |
75 |
+ |
76 |
+src_compile() { |
77 |
+ python_foreach_impl run_in_build_dir gnome2_src_compile |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ installing() { |
82 |
+ gnome2_src_install |
83 |
+ python_doscript src/accerciser |
84 |
+ } |
85 |
+ python_foreach_impl run_in_build_dir installing |
86 |
+} |