public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michal Vu" <saigon-tech@tuta.io>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-power/auto-cpufreq/files/, sys-power/auto-cpufreq/
Date: Wed, 11 Sep 2024 18:47:03 +0000 (UTC)	[thread overview]
Message-ID: <1726080404.a5450f7faa7aae789816e555b95b1f2e8c4e1e69.saigon-tech@gentoo> (raw)

commit:     a5450f7faa7aae789816e555b95b1f2e8c4e1e69
Author:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Wed Sep 11 18:46:44 2024 +0000
Commit:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
CommitDate: Wed Sep 11 18:46:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5450f7f

sys-power/auto-cpufreq: remove redundant patch files due to recent drops of 2.1.0-r1 and 2.2.0

Signed-off-by: Michal Vu <saigon-tech <AT> tuta.io>

 sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild      |  5 +++++
 .../files/auto-cpufreq-remove-poetry_versioning.patch | 13 -------------
 ...uto-cpufreq-remove-setuptools_git_versioning.patch | 19 -------------------
 sys-power/auto-cpufreq/files/auto-cpufreq.service     | 12 ------------
 4 files changed, 5 insertions(+), 44 deletions(-)

diff --git a/sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild b/sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild
index 5694dc67a..19c577dd3 100644
--- a/sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild
+++ b/sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild
@@ -130,6 +130,11 @@ pkg_postrm() {
 		rm "${EROOT}"/var/log/auto-cpufreq.log || die
 	fi
 
+	# Remove auto-cpufreq-install script
+	if [ -f "${EROOT}/usr/bin/auto-cpufreq-install" ]; then
+		rm "${EROOT}"/usr/bin/auto-cpufreq-install || die
+	fi
+
 	# Restore original cpufreqctl binary if backup was made
 	if [ -f "${EROOT}/usr/bin/cpufreqctl.auto-cpufreq.bak" ]; then
 		mv "${EROOT}"/usr/bin/cpufreqctl.auto-cpufreq{.bak,} || die

diff --git a/sys-power/auto-cpufreq/files/auto-cpufreq-remove-poetry_versioning.patch b/sys-power/auto-cpufreq/files/auto-cpufreq-remove-poetry_versioning.patch
deleted file mode 100644
index c48110495..000000000
--- a/sys-power/auto-cpufreq/files/auto-cpufreq-remove-poetry_versioning.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/pyproject.toml b/pyproject.toml
-index c555726..f3ea0ab 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -33,7 +33,7 @@ poetry = "^1.6.1"
- 
- [build-system]
- requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
--build-backend = "poetry_dynamic_versioning.backend"
-+build-backend = "poetry.core.masonry.api"
- 
- [tool.poetry.scripts]
- auto-cpufreq = "auto_cpufreq.bin.auto_cpufreq:main"

diff --git a/sys-power/auto-cpufreq/files/auto-cpufreq-remove-setuptools_git_versioning.patch b/sys-power/auto-cpufreq/files/auto-cpufreq-remove-setuptools_git_versioning.patch
deleted file mode 100644
index c5d946052..000000000
--- a/sys-power/auto-cpufreq/files/auto-cpufreq-remove-setuptools_git_versioning.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Remove the automatic setuptools_git_versioning because distutils can not handle that.  
-
---- a/setup.py
-+++ b/setup.py
-@@ -17,13 +17,7 @@ VERSION = "1.9.5"
- 
- setup(
-     name="auto-cpufreq",
--    setuptools_git_versioning={
--        "starting_version": VERSION,
--        "template": "{tag}+{sha}",
--        "dev_template": "{tag}+{sha}",
--        "dirty_template": "{tag}+{sha}.post{ccount}.dirty"
--    },
--    setup_requires=["setuptools-git-versioning"],
-+    version=VERSION,
-     description="Automatic CPU speed & power optimizer for Linux",
-     long_description=readme,
-     author="Adnan Hodzic",

diff --git a/sys-power/auto-cpufreq/files/auto-cpufreq.service b/sys-power/auto-cpufreq/files/auto-cpufreq.service
deleted file mode 100644
index 494942d83..000000000
--- a/sys-power/auto-cpufreq/files/auto-cpufreq.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=auto-cpufreq - Automatic CPU speed & power optimizer for Linux
-After=network.target network-online.target
-
-[Service]
-Type=simple
-User=root
-ExecStart=auto-cpufreq --daemon
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target


             reply	other threads:[~2024-09-11 18:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-11 18:47 Michal Vu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-31 22:19 [gentoo-commits] repo/proj/guru:dev commit in: sys-power/auto-cpufreq/files/, sys-power/auto-cpufreq/ David Roman

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=1726080404.a5450f7faa7aae789816e555b95b1f2e8c4e1e69.saigon-tech@gentoo \
    --to=saigon-tech@tuta.io \
    --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