mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-apps/tuned: bump to version 2.10.0
1) only force to make it work with python2, fail to find 'procfs' in python3 2) drop x86 keyword due to dev-python/python-linux-procfs Closes: https://bugs.gentoo.org/671052 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST tuned-2.10.0.tar.gz 160254 BLAKE2B 0a09b4b870ec153adc62de7811af561ddb3967d459b1d5e8b6f02c5ac036ed170ad3368d18fc1b3fd40649335035cce971a54e1eda8745c77e836a3b2d892a83 SHA512 e0674533f17ac27cd3647808cda1f51d9905f563521af8cb3ffd1854098d6e2ca1adac82e542e6bdf86cce7e659303464eac50b8823167360783a75843d02a60
|
||||
DIST tuned-2.7.0.tar.bz2 107541 BLAKE2B b26924a091fd78bbc7e61c8a45b49808d132eb5ebd3fdc00f96be7eaddcffd88183fa59595a29e2c402b2c434bfdb706601d397c2ebca9a5822c6a3416373465 SHA512 ce09dd854e89762fa376f7f63a59feb384940b5dbc5ad74370b33bbda3f060f09e79d2988de3535b072ad749ab7be43ccaaa46a343a9df50eec6c40d7ab85d55
|
||||
DIST tuned-2.7.1.tar.bz2 107471 BLAKE2B c9259ee5ce502100edc7c537f6857de3a6af4af0be1773e0c9422c10de16b4a513d514532da26764b0a743f943577d527919f329ff48a012e269fd2a0ac59f10 SHA512 4a4785e3d20ed7f1c2969066676f5fa3d8286b500de1c63169d745e701e1410092d29429d25c13c3515d37ef73dd297945d69db176d693d4152bfbe9ba626833
|
||||
|
||||
58
sys-apps/tuned/tuned-2.10.0.ebuild
Normal file
58
sys-apps/tuned/tuned-2.10.0.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# 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://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}"
|
||||
|
||||
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}]
|
||||
dev-python/python-linux-procfs[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
sys-apps/dbus
|
||||
sys-apps/ethtool
|
||||
sys-power/powertop
|
||||
sys-process/procps
|
||||
dev-util/systemtap"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "/^PYTHON/s/= python3/= python2/g" \
|
||||
-e "/^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 "${ED}"
|
||||
}
|
||||
Reference in New Issue
Block a user