mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
sed -E '/dev-libs\/gobject-introspection(:=|\s|$|-[0-9]|\[)/ { s/(>=)?dev-libs\/gobject-introspection(-[0-9.r-]*)?/>=dev-libs\/gobject-introspection-1.82.0-r2/ }' */*/*.ebuild -i
+ manually going over to undo the false positives or if the version
requirement was higher.
Bug: https://bugs.gentoo.org/947058
See-Also: ae37e3f389808700bd0f4343ee04888f0ef179d2
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44336
Closes: https://github.com/gentoo/gentoo/pull/44336
Signed-off-by: Sam James <sam@gentoo.org>
47 lines
1.3 KiB
Bash
47 lines
1.3 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{10..13} )
|
|
|
|
inherit distutils-r1 xdg
|
|
|
|
DESCRIPTION="GUI test tool and automation framework using accessibility framework"
|
|
HOMEPAGE="https://gitlab.com/dogtail/dogtail"
|
|
SRC_URI="https://gitlab.com/${PN}/${PN}/raw/released/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
|
|
|
|
RDEPEND="
|
|
>=dev-libs/gobject-introspection-1.82.0-r2
|
|
dev-python/pyatspi[${PYTHON_USEDEP}]
|
|
dev-python/pycairo[${PYTHON_USEDEP}]
|
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
|
dev-python/pillow[${PYTHON_USEDEP}]
|
|
x11-libs/gdk-pixbuf:2[introspection]
|
|
x11-libs/gtk+:3[introspection]
|
|
x11-libs/libwnck:3[introspection]
|
|
x11-base/xorg-server[xvfb]
|
|
x11-apps/xinit
|
|
"
|
|
|
|
# Tests require org.gnome.desktop.interface toolkit-accessibility
|
|
RESTRICT="test"
|
|
#distutils_enable_tests nose
|
|
|
|
src_prepare() {
|
|
# Install docs in one place
|
|
sed "s:doc/${PN}:doc/${PF}:" -i setup.py || die
|
|
|
|
# Upstream loads resources relative to __file__, which doesn't work with
|
|
# gentoo's dev-lang/python-exec. So we need to add hard-coded paths.
|
|
eapply "${FILESDIR}"/${PN}-0.9.10-gentoo-paths.patch
|
|
sed -e "s:@EPREFIX_USR@:'${EPREFIX}/usr':" -i sniff/sniff || die "sed failed"
|
|
|
|
distutils-r1_src_prepare
|
|
}
|