summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-05 21:21:08 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-05 21:46:56 +0100
commite30e3568bf273907a81626604490fb0e1c4e0f08 (patch)
treecc158da5256b3a824e01053e9c713fc1648c2bdd /sys-apps/tuned/tuned-2.10.0.ebuild
parentdev-python/python-linux-procfs: Drop unmaintained -9999 (diff)
downloadgentoo-e30e3568bf273907a81626604490fb0e1c4e0f08.tar.gz
gentoo-e30e3568bf273907a81626604490fb0e1c4e0f08.tar.bz2
gentoo-e30e3568bf273907a81626604490fb0e1c4e0f08.zip
sys-apps/tuned: Remove old (py2)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps/tuned/tuned-2.10.0.ebuild')
-rw-r--r--sys-apps/tuned/tuned-2.10.0.ebuild59
1 files changed, 0 insertions, 59 deletions
diff --git a/sys-apps/tuned/tuned-2.10.0.ebuild b/sys-apps/tuned/tuned-2.10.0.ebuild
deleted file mode 100644
index 0d0931ccad3d..000000000000
--- a/sys-apps/tuned/tuned-2.10.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2019 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="
- ${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}]
- 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}"
-}