diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2016-03-05 22:48:13 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2016-03-05 22:49:55 +0100 |
commit | f7c9bab94abf59e07cfe4811b856434932127942 (patch) | |
tree | 5d1a5a94d9ec8874908a427a58aad89d26362be8 /dev-util/dogtail/dogtail-0.9.9.ebuild | |
parent | app-misc/rlwrap: Drop old (diff) | |
download | gentoo-f7c9bab94abf59e07cfe4811b856434932127942.tar.gz gentoo-f7c9bab94abf59e07cfe4811b856434932127942.tar.bz2 gentoo-f7c9bab94abf59e07cfe4811b856434932127942.zip |
dev-util/dogtail: version bump to 0.9.9, bug #573388
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-util/dogtail/dogtail-0.9.9.ebuild')
-rw-r--r-- | dev-util/dogtail/dogtail-0.9.9.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/dev-util/dogtail/dogtail-0.9.9.ebuild b/dev-util/dogtail/dogtail-0.9.9.ebuild new file mode 100644 index 000000000000..7990654e637d --- /dev/null +++ b/dev-util/dogtail/dogtail-0.9.9.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit eutils distutils-r1 gnome2-utils xdg + +DESCRIPTION="GUI test tool and automation framework using accessibility framework" +HOMEPAGE="https://fedorahosted.org/dogtail/" +SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/gobject-introspection + 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 +" +DEPEND="${DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" + +src_prepare() { + # Install docs in one place + sed "s:doc/${PN}:doc/${PF}:" -i setup.py || die + + # Fix current user detection, upstream bug #46 + # Also, respect TMPDIR + epatch "${FILESDIR}"/${PN}-0.9.9-get-user.patch + + # 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. + epatch "${FILESDIR}"/${PN}-0.9.9-gentoo-paths.patch + sed -e "s:@EPREFIX_USR@:'${EPREFIX}/usr':" -i sniff/sniff || die "sed failed" + + xdg_src_prepare + distutils-r1_src_prepare +} + +pkg_preinst() { + xdg_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +} |