diff options
Diffstat (limited to 'dev-python/pyatspi')
-rw-r--r-- | dev-python/pyatspi/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyatspi/pyatspi-2.46.0.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/pyatspi/Manifest b/dev-python/pyatspi/Manifest index 2cb89deeb499..b85188ad1577 100644 --- a/dev-python/pyatspi/Manifest +++ b/dev-python/pyatspi/Manifest @@ -1,3 +1,5 @@ DIST pyatspi-2.38.2.tar.xz 318596 BLAKE2B aba5d4fbbc9e0ce4793843270394712e675e6546c781f0523f7f17a79f018fcf4cf209257e9ef0dc03cbe92be7a17c774fd82f2d9997d9aa8c6b6be65a72ef8a SHA512 03e10af5f0eb2ab89518229f049f497635ec1ae85a948a02813a5eb00eef395a3934f578b56054f8e73ae3c5c28760ad1f2b93e8876b8724c64b622d966aa5d9 +DIST pyatspi-2.46.0.tar.xz 324112 BLAKE2B 653e80be2d17f3246bb6bb60c2135f158185374c995ca37d4f132c90d0bf02b79cfcbc4f64d555c557e9f7fd1cf0720de2c5d177b303e35a84d8e4490ae2e660 SHA512 4e9d177c930db3ccb5aa41280e33a58b6700d9c45f08b6a2f32fce0ecf5f1faa3f91c57281a5661bb9ccaafd0935e90b44f328a62988ae838b4a008916d2aa0f EBUILD pyatspi-2.38.2.ebuild 1308 BLAKE2B 1cc1211a2ab3988d8de5ab2e8a69f7589dd23c1f7047589ccdfabd04456083a950fe63ddcc508f86a542295100aea720262f451e839b579521b0f4ee4a424b04 SHA512 dd6208aba13ecd5044af792ed5a4a0713595fa84309d922a8c21e3e65c76ad0f9a05d81d05c91cdea1db6588ac6ae753f9c259826e2593c382e92e463331d65e +EBUILD pyatspi-2.46.0.ebuild 1324 BLAKE2B d537d1f8bf82951bc862c03c9386619e257c020687eff2c07f328f27d6b46c7d75c1c1067772202d741b8f7cae0abf75d63ec332305a548af5e1e86ea5420c0e SHA512 3a1e7f5a6055cc7743d1fb70df0be64e46caab7737d9e668eb3a3ebbf60e676ed804323b274fb732c4c49f25589a1e7ee931ee6b47593ba85bb6d918baf8b1bb MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8 diff --git a/dev-python/pyatspi/pyatspi-2.46.0.ebuild b/dev-python/pyatspi/pyatspi-2.46.0.ebuild new file mode 100644 index 000000000000..af4901a332e4 --- /dev/null +++ b/dev-python/pyatspi/pyatspi-2.46.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..11} ) + +inherit gnome2 python-r1 + +DESCRIPTION="Python client bindings for D-Bus AT-SPI" +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 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +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="${DEPEND} + >=sys-apps/dbus-1 + >=app-accessibility/at-spi2-core-2.34[introspection] +" +BDEPEND="virtual/pkgconfig + test? ( x11-libs/gtk+:3 ) +" + +src_prepare() { + gnome2_src_prepare + python_copy_sources +} + +src_configure() { + python_foreach_impl run_in_build_dir gnome2_src_configure $(use_enable test tests) +} + +src_compile() { + python_foreach_impl run_in_build_dir gnome2_src_compile +} + +src_test() { + python_foreach_impl run_in_build_dir dbus-run-session emake check +} + +src_install() { + installing() { + gnome2_src_install + python_optimize + } + python_foreach_impl run_in_build_dir installing + + docinto examples + dodoc examples/*.py +} |