diff options
author | Yixun Lan <dlan@gentoo.org> | 2016-08-15 15:17:53 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2016-08-15 15:51:03 +0800 |
commit | 5ce2fda1f9f6df5613bb1c785e33e42feedb825e (patch) | |
tree | 0bb314e3711261a29554b4abdced5b7422cb43f0 /sys-apps/tuned/tuned-2.7.1.ebuild | |
parent | app-crypt/keybase: Removed old versions (diff) | |
download | gentoo-5ce2fda1f9f6df5613bb1c785e33e42feedb825e.tar.gz gentoo-5ce2fda1f9f6df5613bb1c785e33e42feedb825e.tar.bz2 gentoo-5ce2fda1f9f6df5613bb1c785e33e42feedb825e.zip |
sys-apps/tuned: version bump 2.7.1
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-apps/tuned/tuned-2.7.1.ebuild')
-rw-r--r-- | sys-apps/tuned/tuned-2.7.1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-apps/tuned/tuned-2.7.1.ebuild b/sys-apps/tuned/tuned-2.7.1.ebuild new file mode 100644 index 000000000000..b4a69cf45d75 --- /dev/null +++ b/sys-apps/tuned/tuned-2.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 systemd + +DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices" +HOMEPAGE="https://fedorahosted.org/tuned/" +SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + sys-apps/dbus + sys-power/powertop + dev-util/systemtap +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + sed -i \ + -e "/\$(DESTDIR)\/run\/tuned/d" \ + Makefile ||die +} + +src_install() { + default + newinitd "${FILESDIR}"/tuned.initd tuned + + python_fix_shebang "${ED}" +} |