From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-963610-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 51341139694 for <garchives@archives.gentoo.org>; Wed, 26 Jul 2017 09:19:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD36D1FC070; Wed, 26 Jul 2017 09:19:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DA471FC070 for <gentoo-commits@lists.gentoo.org>; Wed, 26 Jul 2017 09:19:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7599B341773 for <gentoo-commits@lists.gentoo.org>; Wed, 26 Jul 2017 09:19:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDF4D74B8 for <gentoo-commits@lists.gentoo.org>; Wed, 26 Jul 2017 09:19:08 +0000 (UTC) From: "Patrice Clement" <monsieurp@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" <monsieurp@gentoo.org> Message-ID: <1501060744.9be727961766f916a8f4a71236ec465095329fd3.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/tuned/tuned-2.7.1-r3.ebuild X-VCS-Directories: sys-apps/tuned/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 9be727961766f916a8f4a71236ec465095329fd3 X-VCS-Branch: master Date: Wed, 26 Jul 2017 09:19:08 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cad69bc6-af3c-4042-92fa-539b45f74086 X-Archives-Hash: 97ad4bd7642ad15cf1cf99dff3cb3114 commit: 9be727961766f916a8f4a71236ec465095329fd3 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Wed Jul 26 09:18:52 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Wed Jul 26 09:19:04 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be72796 sys-apps/tuned: EAPI 6 bump. Package-Manager: Portage-2.3.6, Repoman-2.3.1 sys-apps/tuned/tuned-2.7.1-r3.ebuild | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/sys-apps/tuned/tuned-2.7.1-r3.ebuild b/sys-apps/tuned/tuned-2.7.1-r3.ebuild new file mode 100644 index 00000000000..d8d3a5fb28a --- /dev/null +++ b/sys-apps/tuned/tuned-2.7.1-r3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +CDEPEND=" + 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=" + ${CDEPEND}" + +RDEPEND=" + ${CDEPEND} + sys-apps/dbus + sys-apps/ethtool + sys-power/powertop + sys-process/procps + dev-util/systemtap" + +PATCHES=( + "${FILESDIR}/${P}-sysctl.patch" + "${FILESDIR}/${P}-makefile-rpm.patch" +) + +RESTRICT="test" + +src_prepare() { + default + + sed -i \ + -e "/\$(DESTDIR)\/run\/tuned/d" \ + Makefile || die +} + +src_install() { + default + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + python_fix_shebang "${ED}" +}