From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 35B2413835A for ; Wed, 13 Jan 2021 23:04:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BF06E0968; Wed, 13 Jan 2021 23:04:09 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 13C4CE0968 for ; Wed, 13 Jan 2021 23:04:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 BE4CC335DA5 for ; Wed, 13 Jan 2021 23:04:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 120E5496 for ; Wed, 13 Jan 2021 23:04:06 +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: <1610579000.b74c983eca0ae6cdb5e78ae99820b28fd042bfe8.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.15.0.ebuild X-VCS-Directories: sys-apps/tuned/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: b74c983eca0ae6cdb5e78ae99820b28fd042bfe8 X-VCS-Branch: master Date: Wed, 13 Jan 2021 23:04:06 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd2eb312-e8cc-4d56-99f7-a7c645d16c05 X-Archives-Hash: 91b423d7d77a7a00193a8c4612783270 commit: b74c983eca0ae6cdb5e78ae99820b28fd042bfe8 Author: Yixun Lan gentoo org> AuthorDate: Wed Jan 13 10:51:25 2021 +0000 Commit: Yixun Lan gentoo org> CommitDate: Wed Jan 13 23:03:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b74c983e sys-apps/tuned: version bump 2.15.0 Closes: https://bugs.gentoo.org/758362 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Yixun Lan gentoo.org> sys-apps/tuned/Manifest | 1 + sys-apps/tuned/tuned-2.15.0.ebuild | 61 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest index 42b4090aa23..b0f48328bb6 100644 --- a/sys-apps/tuned/Manifest +++ b/sys-apps/tuned/Manifest @@ -1 +1,2 @@ DIST tuned-2.13.0.tar.gz 193816 BLAKE2B 1e51a9da855f54db9ac8ed6e764c091d513c1101771422a62c7c501dc3c8741430eb3503803b408709868d16d4791fbedb9dbc088b36fb693f065a1b6054fa15 SHA512 d81b0a80f911fe808ca324319da3e42c3c15196c0c37343d33b45c2b34f33e205e2913d77ffda8598379a91ef72ab73d88d7b83a4684b6a067e3f36d98a85927 +DIST tuned-2.15.0.tar.gz 207775 BLAKE2B 307b0598d9e99831526f2b26d5544df3832db7e17f28935c6f8d9293ec0d03729fb66906dca4739d48690e488f05383d448e7e714f6ae4824489564c295784c9 SHA512 67acdf10ecccd7910c4dcfd737610b4cb7651c7bf937bc0ed9c51869262d9f3a46f262d0b7636bc7a86a8abf579542a46f551e4f6c7561a061d8d58459be4589 diff --git a/sys-apps/tuned/tuned-2.15.0.ebuild b/sys-apps/tuned/tuned-2.15.0.ebuild new file mode 100644 index 00000000000..9c35900cbdd --- /dev/null +++ b/sys-apps/tuned/tuned-2.15.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit python-single-r1 xdg-utils + +DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices" +HOMEPAGE="https://github.com/redhat-performance/tuned" +SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/configobj[${PYTHON_MULTI_USEDEP}] + dev-python/decorator[${PYTHON_MULTI_USEDEP}] + dev-python/pyudev[${PYTHON_MULTI_USEDEP}] + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + dev-python/python-linux-procfs[${PYTHON_MULTI_USEDEP}] + ')" + +RDEPEND=" + ${DEPEND} + sys-apps/dbus + sys-apps/ethtool + sys-power/powertop + dev-util/systemtap" + +RESTRICT="test" + +src_prepare() { + default + + sed -i \ + -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \ + -e "/\$(DESTDIR)\/run\/tuned/d" \ + -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \ + -e "/\$(DESTDIR)\/var\/log\/tuned/d" \ + Makefile || die +} + +src_install() { + default + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + python_fix_shebang "${D}" + python_optimize +} + +pkg_postinst() { + xdg_icon_cache_update +}