diff options
Diffstat (limited to 'dev-util/xesam-tools/xesam-tools-0.7.0-r1.ebuild')
-rw-r--r-- | dev-util/xesam-tools/xesam-tools-0.7.0-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/xesam-tools/xesam-tools-0.7.0-r1.ebuild b/dev-util/xesam-tools/xesam-tools-0.7.0-r1.ebuild new file mode 100644 index 000000000000..81e959e49d03 --- /dev/null +++ b/dev-util/xesam-tools/xesam-tools-0.7.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +DESCRIPTION="Development tools and examples for the Xesam desktop search API" +HOMEPAGE="http://xesam.org/people/kamstrup/xesam-tools" +SRC_URI="http://xesam.org/people/kamstrup/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="examples" + +DEPEND="" +RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:2[${PYTHON_USEDEP}] + dev-python/pygtk[${PYTHON_USEDEP}]" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_install() { + distutils-r1_src_install + + insinto "/usr/share/doc/${PF}" + doins -r samples + + if use examples; then + insinto "/usr/share/doc/${PF}/demo" + doins "demo/demo.py" + insopts -m 0755 + doins demo/[^d]* + fi +} |