diff options
Diffstat (limited to 'dev-python/pyatspi')
-rw-r--r-- | dev-python/pyatspi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyatspi/pyatspi-2.20.2.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pyatspi/Manifest b/dev-python/pyatspi/Manifest index be6c5d4ac8f6..c5e2258de8ed 100644 --- a/dev-python/pyatspi/Manifest +++ b/dev-python/pyatspi/Manifest @@ -1,2 +1,3 @@ DIST pyatspi-2.16.0.tar.xz 301204 SHA256 a67a857ca5eaf16fc059d9be47d0850edd93bffdd777c1b7612ecc95f6e3b4a0 SHA512 aeb3f288a40bbc9a92dc5e8155f632af5545e72452aeef4ae27d878a8b517f04ea2d39dbc88a98ecfe3404adc0d7badf77a2f2df13354d9fceedb594e4a70468 WHIRLPOOL c9afdd8f239b59121cf87f3c40412133172960edfd26bbc5c6a47183a11454301aa3a90815a03036065fa4ae1437487e53c8374fa412dc72ae5f600b15f9165e DIST pyatspi-2.18.0.tar.xz 297992 SHA256 f86f03ad05d0502cd60fe8b98f746f74ce3bc208e9f3798f6a2130b3c5f4ab46 SHA512 606caf4315c4ab6893583f1af7f6e7d55bfd13c04c20465af4cf49d29285b5ab8434d3cb48e57b854a8fe9c80eb8dd926726c804f5f319606dd78c812a15ef98 WHIRLPOOL 4a5b12ad8a15591142d323bb8022d56e467f9b74700bb52da8740a80ad3864437ecd07887f05029df7be200adb4c30910c8b0c7015ded4e1c96caa33009c8e3e +DIST pyatspi-2.20.2.tar.xz 298724 SHA256 50e5021cd19f2b12b36ba06635aa4e8c9d980eb988855b352b24f80bddf317da SHA512 5110ca81520d673b3a96ae094b5727ff62601b4ab07af8cf50cdfe4e26db3d11e9dedd69d629b5630a67b5de3be306d9c432a8a76ffbf73041303fbd751a1d0a WHIRLPOOL 2ebbe67ffdf05f701b930112b8aeb8491b6b6d0a55e632445e5b29f11742b1ee3e2d219ca249169cb3414954951ff5e9873cbc527a798efbe0802bf9b1155a20 diff --git a/dev-python/pyatspi/pyatspi-2.20.2.ebuild b/dev-python/pyatspi/pyatspi-2.20.2.ebuild new file mode 100644 index 000000000000..d7e2f8e8007b --- /dev/null +++ b/dev-python/pyatspi/pyatspi-2.20.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) + +inherit gnome2 python-r1 + +DESCRIPTION="Python binding to at-spi library" +HOMEPAGE="https://wiki.gnome.org/Accessibility" + +# Note: only some of the tests are GPL-licensed, everything else is LGPL +LICENSE="LGPL-2 GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" # test +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + >=dev-libs/atk-2.11.2 + dev-python/dbus-python[${PYTHON_USEDEP}] + >=dev-python/pygobject-2.90.1:3[${PYTHON_USEDEP}] +" +RDEPEND="${COMMON_DEPEND} + >=sys-apps/dbus-1 + >=app-accessibility/at-spi2-core-${PV}[introspection] + !<gnome-extra/at-spi-1.32.0-r1 +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig +" + +PATCHES=( + # https://bugzilla.gnome.org/show_bug.cgi?id=689957 + "${FILESDIR}/${PN}-2.6.0-examples-python3.patch" +) + +src_prepare() { + gnome2_src_prepare + python_copy_sources +} + +src_configure() { + python_foreach_impl run_in_build_dir gnome2_src_configure --disable-tests +} + +src_compile() { + python_foreach_impl run_in_build_dir gnome2_src_compile +} + +src_install() { + python_foreach_impl run_in_build_dir gnome2_src_install + + docinto examples + dodoc examples/*.py +} |