diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2013-08-16 09:54:19 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2013-08-16 09:54:19 +0000 |
commit | 477151edc10c642ea5bbf445793b2fbd327b06d8 (patch) | |
tree | 0332b737c5b56e08cfe29e7bab00829abc4ff2d9 /kde-misc | |
parent | Various ebuild fixes (diff) | |
download | gentoo-2-477151edc10c642ea5bbf445793b2fbd327b06d8.tar.gz gentoo-2-477151edc10c642ea5bbf445793b2fbd327b06d8.tar.bz2 gentoo-2-477151edc10c642ea5bbf445793b2fbd327b06d8.zip |
Migrate to distutils-r1
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/synaptiks/ChangeLog | 7 | ||||
-rw-r--r-- | kde-misc/synaptiks/synaptiks-0.8.1-r3.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/kde-misc/synaptiks/ChangeLog b/kde-misc/synaptiks/ChangeLog index a785e3d3355d..30a7a677133d 100644 --- a/kde-misc/synaptiks/ChangeLog +++ b/kde-misc/synaptiks/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-misc/synaptiks # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/synaptiks/ChangeLog,v 1.39 2013/05/02 20:08:44 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/synaptiks/ChangeLog,v 1.40 2013/08/16 09:54:19 mrueg Exp $ + +*synaptiks-0.8.1-r3 (16 Aug 2013) + + 16 Aug 2013; Manuel Rüger <mrueg@gentoo.org> +synaptiks-0.8.1-r3.ebuild: + Migrate to distutils-r1 02 May 2013; Johannes Huber <johu@gentoo.org> -synaptiks-0.8.1.ebuild: Remove old. diff --git a/kde-misc/synaptiks/synaptiks-0.8.1-r3.ebuild b/kde-misc/synaptiks/synaptiks-0.8.1-r3.ebuild new file mode 100644 index 000000000000..eab0becb4927 --- /dev/null +++ b/kde-misc/synaptiks/synaptiks-0.8.1-r3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/synaptiks/synaptiks-0.8.1-r3.ebuild,v 1.1 2013/08/16 09:54:19 mrueg Exp $ + +EAPI=5 + +KDE_HANDBOOK=optional +PYTHON_COMPAT=( python2_6 python2_7 ) +inherit kde4-base distutils-r1 + +DESCRIPTION="Touchpad configuration and management tool for KDE" +HOMEPAGE="http://synaptiks.readthedocs.org" +SRC_URI="mirror://pypi/s/${PN}/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="4" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc +upower" + +RDEPEND=" + >=dev-python/PyQt4-4.7 + >=dev-python/pyudev-0.8[pyqt4] + dev-python/setuptools + $(add_kdebase_dep pykde4) + || ( + ( $(add_kdebase_dep kdesdk-scripts) ) + ( $(add_kdebase_dep kde-dev-scripts) ) + ) + virtual/python-argparse + >=x11-drivers/xf86-input-synaptics-1.3 + >=x11-libs/libXi-1.4 + x11-libs/libXtst + upower? ( dev-python/dbus-python sys-power/upower )" +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + sys-devel/gettext + doc? ( + dev-python/sphinx + dev-python/sphinxcontrib-issuetracker + )" + +src_prepare() { + epatch "${FILESDIR}/${P}-templatesfix.patch"\ + "${FILESDIR}/${PN}-0.8.1-removedfeatures.patch" +} + +src_compile() { + distutils-r1_src_compile + if use doc; then + einfo "Generation of documentation" + pushd doc > /dev/null + sphinx-build . _build || die + popd > /dev/null + fi +} + +src_install() { + distutils-r1_src_install + if use doc; then + dohtml -r doc/_build/* + fi +} |