From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-power/auto-cpufreq/
Date: Sat, 31 Aug 2024 13:06:00 +0000 (UTC) [thread overview]
Message-ID: <1725101180.bcdecbb7abf49c4737d8212da5eedb74a54e483f.davidroman@gentoo> (raw)
commit: bcdecbb7abf49c4737d8212da5eedb74a54e483f
Author: Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Sat Aug 31 10:46:20 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Aug 31 10:46:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bcdecbb7
sys-power/auto-cpufreq: Drop old version 2.1.0 (2.1.0-r1 still kept)
Signed-off-by: Michal Vu <saigon-tech <AT> tuta.io>
sys-power/auto-cpufreq/auto-cpufreq-2.1.0.ebuild | 84 ------------------------
1 file changed, 84 deletions(-)
diff --git a/sys-power/auto-cpufreq/auto-cpufreq-2.1.0.ebuild b/sys-power/auto-cpufreq/auto-cpufreq-2.1.0.ebuild
deleted file mode 100644
index 58fc66942..000000000
--- a/sys-power/auto-cpufreq/auto-cpufreq-2.1.0.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-DISTUTILS_USE_PEP517=poetry
-
-inherit distutils-r1 systemd
-
-DESCRIPTION="Automatic CPU speed & power optimizer for Linux"
-HOMEPAGE="https://github.com/AdnanHodzic/auto-cpufreq"
-SRC_URI="https://github.com/AdnanHodzic/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="systemd"
-
-RDEPEND="
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/psutil[${PYTHON_USEDEP}]
- dev-python/pygobject[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}"
-
-DOCS=( README.md )
-PATCHES=( "${FILESDIR}/${PN}-remove-poetry_versioning.patch" )
-
-src_prepare() {
- sed -i 's|usr/local|usr|g' "scripts/${PN}.service" "scripts/${PN}-openrc" auto_cpufreq/core.py || die
- distutils-r1_src_prepare
-}
-
-python_install() {
- distutils-r1_python_install
-
- exeinto "/usr/share/${PN}/scripts"
- doexe scripts/cpufreqctl.sh
-
- if use systemd; then
- systemd_douserunit "scripts/${PN}.service"
- else
- doinitd "scripts/${PN}-openrc"
- mv "${D}/etc/init.d/${PN}-openrc" "${D}/etc/init.d/${PN}" || die
- fi
-}
-
-pkg_postinst() {
- touch /var/log/auto-cpufreq.log
-
- elog ""
- elog "Enable auto-cpufreq daemon service at boot:"
- if use systemd; then
- elog "systemctl enable --now auto-cpufreq"
- else
- elog "rc-update add auto-cpufreq default"
- fi
- elog ""
- elog "To view live log, run:"
- elog "auto-cpufreq --stats"
-}
-
-pkg_postrm() {
- # Remove auto-cpufreq log file
- if [ -f "/var/log/auto-cpufreq.log" ]; then
- rm /var/log/auto-cpufreq.log || die
- fi
-
- # Remove auto-cpufreq's cpufreqctl binary
- # it overwrites cpufreqctl.sh
- if [ -f "/usr/bin/cpufreqctl" ]; then
- rm /usr/bin/cpufreqctl || die
- fi
-
- # Restore original cpufreqctl binary if backup was made
- if [ -f "/usr/bin/cpufreqctl.auto-cpufreq.bak" ]; then
- mv /usr/bin/cpufreqctl.auto-cpufreq.bak /usr/bin/cpufreqctl || die
- fi
-}
next reply other threads:[~2024-08-31 13:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-31 13:06 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-12 9:37 [gentoo-commits] repo/proj/guru:master commit in: sys-power/auto-cpufreq/ David Roman
2024-09-12 9:37 David Roman
2024-09-12 9:37 David Roman
2024-08-13 15:34 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-13 15:39 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-08-13 15:34 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-13 15:39 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-08-12 23:17 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-13 15:39 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-05-15 16:55 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-15 17:00 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2022-10-17 11:26 Haelwenn Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1725101180.bcdecbb7abf49c4737d8212da5eedb74a54e483f.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox