From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F24C858973 for ; Mon, 1 Feb 2016 03:08:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BC8A21C004; Mon, 1 Feb 2016 03:08:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E918F21C004 for ; Mon, 1 Feb 2016 03:08:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D349D340CE7 for ; Mon, 1 Feb 2016 03:08:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A3F38F7 for ; Mon, 1 Feb 2016 03:08:54 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1454295912.c6befe3696531c32a92c5c2aa4ebaf7042a3782a.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/tuned/Manifest sys-apps/tuned/tuned-2.6.0.ebuild X-VCS-Directories: sys-apps/tuned/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: c6befe3696531c32a92c5c2aa4ebaf7042a3782a X-VCS-Branch: master Date: Mon, 1 Feb 2016 03:08:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 068c2040-c929-4769-8e75-a7551829b515 X-Archives-Hash: 8f3c89c2db31dd72597c118c84f12531 commit: c6befe3696531c32a92c5c2aa4ebaf7042a3782a Author: Yixun Lan gentoo org> AuthorDate: Mon Feb 1 03:05:12 2016 +0000 Commit: Yixun Lan gentoo org> CommitDate: Mon Feb 1 03:05:12 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6befe36 sys-apps/tuned: version bump 2.6.0 Package-Manager: portage-2.2.26 sys-apps/tuned/Manifest | 1 + sys-apps/tuned/tuned-2.6.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest index c72573f..5ed85a1 100644 --- a/sys-apps/tuned/Manifest +++ b/sys-apps/tuned/Manifest @@ -1,3 +1,4 @@ DIST tuned-2.4.1.tar.bz2 81052 SHA256 fd2514ec269387c7c555b5d12534ce258ecdb021cd66f64c5678eea7dcbda54f SHA512 12106f441cda10d1ddb5d4fc4e64be7100ec2b1d48117a9c83bbc11e093a59c1a5e8effa22ea563481b66748db38ebb8a493dbb1e4707b16f6f3cae2de966bf1 WHIRLPOOL 21011bbdfb170c5f85313a5cfd7c26bf7e57a3693a0a56c0a096b788b2fee6d390e7391b1083ec5fd610d34caf1985ffa310b6befc7950080cf99931db99430d DIST tuned-2.5.0.tar.bz2 95651 SHA256 2d7fe44626d236b158b0259938d757846d2455f5a91ab6412a134e6ac2db7feb SHA512 59d3014cc2c04f2cffbde02f46fdbce223bff827fba1c07e5dd5e821fc9d7ea2867c24c5d5fc42ef294fb31d24cad3c8715fec7d3113b25ce316b457fd40bc22 WHIRLPOOL 4e48dfc4fd89de061a099ccfef70103d4920f3eb06ccb09e767e525bafcae700386b47b776009488f0e8c0bdfdf0ddac2bf72cf8a1b9f3935879fb1691d08c0a DIST tuned-2.5.1.tar.bz2 96319 SHA256 7eccf1d0807e8e0774e7969f9dbe5173cd85b2449f1f259a3b31ecb022cfbe88 SHA512 5d818f15a439f85fa26cefcc3dcc7968d23f3f29f26bbf99480ccbde90d87d6f5f81709820232b127d435c30d59a00c9d50f630c7c2b83f249f485c3f50305a5 WHIRLPOOL 55ec1e65925a1e06fee2dffb2ff004503a2e2d53933c530bbac081e30180684760fac16da79039a77751c36983c641b920473d9ef2ee8235dd4415f6d986f468 +DIST tuned-2.6.0.tar.bz2 98362 SHA256 945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876 SHA512 da818cb6c04e10d97b7eb52fb37500128ca5b37c79428d1b84578d4147507a210052c395f523f91907a112e282a47f9a5d4745fe2960471f42d5d09f87a3c57d WHIRLPOOL 23457c5e161675f90326060d485626f2d176e6c42b34f21fceecf7299c21607b8537ff741742015c0045c8150ce379a7274b11da547581e18bea97671c1b4045 diff --git a/sys-apps/tuned/tuned-2.6.0.ebuild b/sys-apps/tuned/tuned-2.6.0.ebuild new file mode 100644 index 0000000..4060a0a --- /dev/null +++ b/sys-apps/tuned/tuned-2.6.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 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}] +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + sys-power/powertop + dev-util/systemtap +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + sed -i \ + -e "/^UNITDIR = /s:\$(shell rpm --eval '%{_unitdir}'):$(systemd_get_unitdir):" \ + -e "/\$(DESTDIR)\/run\/tuned/d" \ + Makefile ||die +} + +src_install() { + default + newinitd "${FILESDIR}"/tuned.initd tuned + + python_fix_shebang "${ED}" +}