summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-08-18 12:52:09 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-08-18 12:52:09 +0000
commit3a2ba48fd5fe0af27c85070a424b03289ffa7261 (patch)
tree83ec2c0799ae056e75aa32bb2a8ae1b6e4a18a45 /kde-misc/synaptiks
parentStable for ia64, wrt bug #472202 (diff)
downloadgentoo-2-3a2ba48fd5fe0af27c85070a424b03289ffa7261.tar.gz
gentoo-2-3a2ba48fd5fe0af27c85070a424b03289ffa7261.tar.bz2
gentoo-2-3a2ba48fd5fe0af27c85070a424b03289ffa7261.zip
Improved distutils-r1 conversion. Thanks to Michał Górny
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'kde-misc/synaptiks')
-rw-r--r--kde-misc/synaptiks/ChangeLog8
-rw-r--r--kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild (renamed from kde-misc/synaptiks/synaptiks-0.8.1-r3.ebuild)23
2 files changed, 16 insertions, 15 deletions
diff --git a/kde-misc/synaptiks/ChangeLog b/kde-misc/synaptiks/ChangeLog
index 57448ec5e117..3734a48feb0d 100644
--- a/kde-misc/synaptiks/ChangeLog
+++ b/kde-misc/synaptiks/ChangeLog
@@ -1,6 +1,12 @@
# 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.42 2013/08/16 10:10:25 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/synaptiks/ChangeLog,v 1.43 2013/08/18 12:52:09 mrueg Exp $
+
+*synaptiks-0.8.1-r4 (18 Aug 2013)
+
+ 18 Aug 2013; Manuel Rüger <mrueg@gentoo.org> +synaptiks-0.8.1-r4.ebuild,
+ -synaptiks-0.8.1-r3.ebuild:
+ Improved distutils-r1 conversion. Thanks to Michał Górny
16 Aug 2013; Manuel Rüger <mrueg@gentoo.org> synaptiks-0.8.1-r3.ebuild:
Fix the conversion. Committed to early.
diff --git a/kde-misc/synaptiks/synaptiks-0.8.1-r3.ebuild b/kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild
index 14493a3a85fb..6bdadbeba7fa 100644
--- a/kde-misc/synaptiks/synaptiks-0.8.1-r3.ebuild
+++ b/kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild
@@ -1,11 +1,11 @@
# 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.2 2013/08/16 10:08:41 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild,v 1.1 2013/08/18 12:52:09 mrueg Exp $
EAPI=5
KDE_HANDBOOK=optional
-PYTHON_COMPAT=( python2_6 python2_7 )
+PYTHON_COMPAT=( python{2_6,2_7} )
inherit kde4-base distutils-r1
DESCRIPTION="Touchpad configuration and management tool for KDE"
@@ -37,16 +37,13 @@ DEPEND="${RDEPEND}
sys-devel/gettext
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinxcontrib-issuetracker[${PYTHON_USEDEP}]
+ >=dev-python/sphinxcontrib-issuetracker-0.11-r1[${PYTHON_USEDEP}]
)"
-src_prepare() {
- epatch "${FILESDIR}/${P}-templatesfix.patch"\
- "${FILESDIR}/${PN}-0.8.1-removedfeatures.patch"
-}
+PATCHES=( "${FILESDIR}/${P}-templatesfix.patch"
+ "${FILESDIR}/${PN}-0.8.1-removedfeatures.patch" )
-src_compile() {
- distutils-r1_src_compile
+python_compile_all() {
if use doc; then
einfo "Generation of documentation"
pushd doc > /dev/null
@@ -55,9 +52,7 @@ src_compile() {
fi
}
-src_install() {
- distutils-r1_src_install
- if use doc; then
- dohtml -r doc/_build/*
- fi
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/_build/. )
+ distutils-r1_python_install_all
}