diff options
Diffstat (limited to 'dev-python/pyatspi')
-rw-r--r-- | dev-python/pyatspi/Manifest | 8 | ||||
-rw-r--r-- | dev-python/pyatspi/files/pyatspi-2.6.0-examples-python3.patch | 26 | ||||
-rw-r--r-- | dev-python/pyatspi/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/pyatspi/pyatspi-2.20.3.ebuild | 57 | ||||
-rw-r--r-- | dev-python/pyatspi/pyatspi-2.24.0.ebuild | 57 |
5 files changed, 156 insertions, 0 deletions
diff --git a/dev-python/pyatspi/Manifest b/dev-python/pyatspi/Manifest new file mode 100644 index 000000000000..bb490760b0de --- /dev/null +++ b/dev-python/pyatspi/Manifest @@ -0,0 +1,8 @@ +AUX pyatspi-2.6.0-examples-python3.patch 791 SHA256 df0236bc825633d3188d6dfc86e61d485eeeefa8c5de4621cc49f7b26b629e13 SHA512 7171f77080fed4ef235d1d3380821939d5a41e919b8509db8dcbe211d63b7b390e66389152c7275128cc8372c2a7fd1bdfaf179fc93b8fa62ed76a6edffd11ed WHIRLPOOL 4e5b66939709da3d4de6171b062ec4c564275d8193c52fb1a9beb8471d2fc43ad23fcd8e914f2c2cc3b7cfd59dd1fd9764b04341081828806a44aae22cd876a5 +DIST pyatspi-2.20.3.tar.xz 297368 SHA256 628f19cc5790b02ae6ec8580902683520087fba503c06c71257c572108cb5850 SHA512 87f9dccb0be1b85ed850abaf28270c2fd5e52a43dcd94e452f650d6aea8a52bb59d9b9e9d4312bd0fe88d549812c1ddbbceb05955687134613ecd6e1b7af4ace WHIRLPOOL 5468c5cc1fc12fad84c10184014167f69b322757eaaa27e4abc25d376be27a6664a53295d66f0909923920316a4dc8c0d018165d5f5b0e382c84dc9e4252714d +DIST pyatspi-2.24.0.tar.xz 298228 SHA256 e7ef47a5d387fdc64a01722ef2bcced54c4d6b225fbe34867189e1f88ff0a692 SHA512 ea0c3e5a5a417c4d494cfe33ccfcca1996f417e51f5ccd3508372a0df636fb186b9940d7832681af9b353aa50a9aabd64c5477fdabbc5016794a502396b3d67a WHIRLPOOL e39152ebe90a2e5461bbc663910821306a18a524a687cf72985bcb3601ca428ce85aa05cc6e1b9e30992eee64c1c9e434c5a039f8f6b18d7f3d133c51168a33d +EBUILD pyatspi-2.20.3.ebuild 1298 SHA256 b6d7b8bea1a5505069e87764648d6571f47a8f77f2577673f4713c34bf4ae778 SHA512 09575eea251c648dbc382c7afa8c6af027decb59857d7b2e14f9ee73cc00b1ec42be3b370b6a230a87423a4a732d078cc7f638a588f56f5318eff858ba296921 WHIRLPOOL 941b200d32b65cc529d1999d7d65d97c5556ee3a8c18e4d1ea067d3d892c7dc74bf993555ab4feea0e5fda98b1d7bde22546f5969a67e90a3a1c8d3f638bc7b8 +EBUILD pyatspi-2.24.0.ebuild 1300 SHA256 f9ec34d175f1d1d30db69430edfa34d7764b5e1dce711ede8ab17476acd284ec SHA512 256c66906ffdbe3c9015707f643bef43df1809fd689423c6e3aa6536834640cd6da6b526665947cb7a63eea49e7d2678a33c63bded3fc4ba3167440c5857bd18 WHIRLPOOL 1031bd633536e6778229ae910b17198e4780fd5570ee2c200e72902ffedae59efc84b01967f9cf2148090864ba9dfdf0072abbc76ac4cb8cbd8b20e4cf2529b7 +MISC ChangeLog 6941 SHA256 585544d4072d0ab50b0e91c79d82297d59bb795dd78ae35d11c97f83e4aadbeb SHA512 fcd3dc9b93572baa5e323fba48ecc98d852d83f6c6195401a7d3c360af70134e191210a1a4a6e07aea0f5c1fc19c34234358e8c839ef42011b1b54871a28c024 WHIRLPOOL 0015bd0d03ffc8151ce166af8a33c92ca5b53786c95aafadb9c998641de185d9cf8da62ca3e5623a8f1140dae3296ad5d72498ada5c506669ae9c141c6aad845 +MISC ChangeLog-2015 7970 SHA256 850fd8408e179244af66380bc837ec7df7b5319c5dbc39e8163be55170a19bd2 SHA512 0fb7d5b53848be015acef8e461e4b0e2d8a1697b7f4c3fc9ef4825be11f05dbc9925f032821f07caf0ab0807e0cbccc8152350016e7bfdd36749a9553a048d87 WHIRLPOOL f8d559bb023281b4e2c9c9a0e360bd4026c550c25cd101460d91398cb3fa95c6d8383d141cfb2b378d3885cef443b577b20619e2cf19f4d0bf0477ab86b4ab0e +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-python/pyatspi/files/pyatspi-2.6.0-examples-python3.patch b/dev-python/pyatspi/files/pyatspi-2.6.0-examples-python3.patch new file mode 100644 index 000000000000..423cd644073c --- /dev/null +++ b/dev-python/pyatspi/files/pyatspi-2.6.0-examples-python3.patch @@ -0,0 +1,26 @@ +From 4f10a696002179082e41568b5109400ac8478a96 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Mon, 10 Dec 2012 04:52:03 -0500 +Subject: [PATCH] examples: support python2 and python3 syntax + +https://bugzilla.gnome.org/show_bug.cgi?id=689957 +--- + examples/magFocusTracker.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/examples/magFocusTracker.py b/examples/magFocusTracker.py +index 47efe00..7ca3b67 100755 +--- a/examples/magFocusTracker.py ++++ b/examples/magFocusTracker.py +@@ -282,7 +282,7 @@ def main(): + startTracking() + pyatspi.Registry.start() + else: +- print 'Magnification service not available. Exiting.' ++ print('Magnification service not available. Exiting.') + + return 0 + +-- +1.8.0 + diff --git a/dev-python/pyatspi/metadata.xml b/dev-python/pyatspi/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-python/pyatspi/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/dev-python/pyatspi/pyatspi-2.20.3.ebuild b/dev-python/pyatspi/pyatspi-2.20.3.ebuild new file mode 100644 index 000000000000..b186e079ea36 --- /dev/null +++ b/dev-python/pyatspi/pyatspi-2.20.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +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-2.20.2[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 +} diff --git a/dev-python/pyatspi/pyatspi-2.24.0.ebuild b/dev-python/pyatspi/pyatspi-2.24.0.ebuild new file mode 100644 index 000000000000..48ca4d41ff72 --- /dev/null +++ b/dev-python/pyatspi/pyatspi-2.24.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +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-2.20.2[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 +} |