commit: 3ee8df51ab98b03798c0832420431ad2683b147c
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 5 16:31:24 2025 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Mar 5 16:58:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee8df51
sys-power/power-profiles-daemon: drop 0.21, 0.22
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sys-power/power-profiles-daemon/Manifest | 2 -
.../power-profiles-daemon-0.21.ebuild | 98 ----------------------
.../power-profiles-daemon-0.22.ebuild | 98 ----------------------
3 files changed, 198 deletions(-)
diff --git a/sys-power/power-profiles-daemon/Manifest
b/sys-power/power-profiles-daemon/Manifest
index ad0e39246f27..49a67dc0816e 100644
--- a/sys-power/power-profiles-daemon/Manifest
+++ b/sys-power/power-profiles-daemon/Manifest
@@ -1,4 +1,2 @@
-DIST power-profiles-daemon-0.21.tar.bz2 63984 BLAKE2B
206c954272fb93b17a09e4108c74462d2524ef9160880ce59709504314fd38f413c7eb65ab4f0a085f6458b04f85b4833e0df3786f0aff08e7bdc0a3a65d8d2a
SHA512
8038ff7c164bbcbeebc50c911f3129e79d4f8d63278bc674e10bf2920af0bc9b0b139d5a2e056889b0b7ec86df19cc7be3e8c84e70e777544e117ee7a036b375
-DIST power-profiles-daemon-0.22.tar.bz2 66394 BLAKE2B
7c204aa29ebda4f9034729b5ea09e1cd516a788c0fc58cf57f49791103f85506bc34bf8c2db9a4f1e42fa280ba4d6ce1c095df3a90deb90db795d7c02b4d6606
SHA512
7fcb960f956ad95cfa7f31ac8d8b3070ff72822106017177cdab873c2e8e6017d7357b09fea2a14450990acc844f7db30d5cdcce33d59661c775da54ad095af9
DIST power-profiles-daemon-0.23.tar.bz2 66801 BLAKE2B
fbfaad44ddacbb4ffce7a8c9ab5eab0e6d9e0f114629f8d6d0fd06dcd55211f863c1ab8dedceb3a96831862cbda7e18158f35f99da6dbb54318b9568de22883d
SHA512
fda9ee667455991d2e8a011a9ea9060df7605dafdd4116f433328fb9dc0a3fd8f8bada644c3c8b63d8a0bdff212fdd827bb4bcd9f2aec7338917b2375c278276
DIST power-profiles-daemon-0.30.tar.bz2 70413 BLAKE2B
da35aba711018ec319aac68b05b9ffb51fe00a80df3340ad8bd08562b021e3ac92267305d791b9920627a6bb0bdc64fa7bd1d8ae6adc3a076f2a7c2ff396344b
SHA512
91ff790aa7f9fb0004d112f9c2f28de55f9985d5fbed15ebf1d15722ff0c007ebc89407ba38e88016745162b0ca7058540ed276b372efbefdd6b2e23408c89dc
diff --git a/sys-power/power-profiles-daemon/power-profiles-daemon-0.21.ebuild
b/sys-power/power-profiles-daemon/power-profiles-daemon-0.21.ebuild
deleted file mode 100644
index 120f8f64690c..000000000000
--- a/sys-power/power-profiles-daemon/power-profiles-daemon-0.21.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit meson python-single-r1 shell-completion systemd
-
-DESCRIPTION="Makes power profiles handling available over D-Bus"
-HOMEPAGE="https://gitlab.freedesktop.org/upower/power-profiles-daemon/"
-SRC_URI="https://gitlab.freedesktop.org/upower/${PN}/-/archive/${PV}/${P}.tar.bz2"
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
-
-IUSE="bash-completion gtk-doc man selinux test zsh-completion"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
- $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
- dev-libs/glib:2
- >=dev-libs/libgudev-234
- >=sys-auth/polkit-0.99
- sys-power/upower
- selinux? ( sec-policy/selinux-powerprofiles )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- bash-completion? (
- >=app-shells/bash-completion-2.0
- $(python_gen_cond_dep
'>=dev-python/shtab-1.7.0[${PYTHON_USEDEP}]')
- )
- gtk-doc? (
- dev-util/gi-docgen
- dev-util/gtk-doc
- )
- man? (
- $(python_gen_cond_dep
'dev-python/argparse-manpage[${PYTHON_USEDEP}]')
- )
- test? (
- dev-util/umockdev
- $(python_gen_cond_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/python-dbusmock[${PYTHON_USEDEP}]
- ')
- )
- zsh-completion? (
- $(python_gen_cond_dep
'>=dev-python/shtab-1.7.0[${PYTHON_USEDEP}]')
- )
-"
-
-python_check_deps() {
- if use test; then
- python_has_version
"dev-python/python-dbusmock[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
- else
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
- fi
-
- if use bash-completion || use zsh-completion; then
- python_has_version ">=dev-python/shtab-1.7.0[${PYTHON_USEDEP}]"
- fi
-
- use man && python_has_version
"dev-python/argparse-manpage[${PYTHON_USEDEP}]"
-}
-
-src_configure() {
- local emesonargs=(
- -Dpylint=disabled
- -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
- $(meson_feature bash-completion bashcomp)
- $(meson_use gtk-doc gtk_doc)
- $(meson_feature man manpage)
- $(meson_use test tests)
- )
- use zsh-completion && emesonargs+=( -Dzshcomp="$(get_zshcompdir)" )
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- python_fix_shebang "${D}"/usr/bin/powerprofilesctl
- newinitd "${FILESDIR}/power-profiles-daemon.initd" power-profiles-daemon
-}
-
-pkg_postinst() {
- if [[ -z "${REPLACING_VERSIONS}" ]]; then
- elog "You need to enable the service:"
- if systemd_is_booted; then
- elog "# systemctl enable ${PN}"
- else
- elog "# rc-update add ${PN} default"
- fi
- fi
-}
diff --git a/sys-power/power-profiles-daemon/power-profiles-daemon-0.22.ebuild
b/sys-power/power-profiles-daemon/power-profiles-daemon-0.22.ebuild
deleted file mode 100644
index fda723bbfe4a..000000000000
--- a/sys-power/power-profiles-daemon/power-profiles-daemon-0.22.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit meson python-single-r1 shell-completion systemd
-
-DESCRIPTION="Makes power profiles handling available over D-Bus"
-HOMEPAGE="https://gitlab.freedesktop.org/upower/power-profiles-daemon/"
-SRC_URI="https://gitlab.freedesktop.org/upower/${PN}/-/archive/${PV}/${P}.tar.bz2"
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-
-IUSE="bash-completion gtk-doc man selinux test zsh-completion"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
- $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
- dev-libs/glib:2
- >=dev-libs/libgudev-234
- >=sys-auth/polkit-0.99
- sys-power/upower
- selinux? ( sec-policy/selinux-powerprofiles )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- bash-completion? (
- >=app-shells/bash-completion-2.0
- $(python_gen_cond_dep
'>=dev-python/shtab-1.7.0[${PYTHON_USEDEP}]')
- )
- gtk-doc? (
- dev-util/gi-docgen
- dev-util/gtk-doc
- )
- man? (
- $(python_gen_cond_dep
'dev-python/argparse-manpage[${PYTHON_USEDEP}]')
- )
- test? (
- dev-util/umockdev
- $(python_gen_cond_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/python-dbusmock[${PYTHON_USEDEP}]
- ')
- )
- zsh-completion? (
- $(python_gen_cond_dep
'>=dev-python/shtab-1.7.0[${PYTHON_USEDEP}]')
- )
-"
-
-python_check_deps() {
- if use test; then
- python_has_version
"dev-python/python-dbusmock[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
- else
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
- fi
-
- if use bash-completion || use zsh-completion; then
- python_has_version ">=dev-python/shtab-1.7.0[${PYTHON_USEDEP}]"
- fi
-
- use man && python_has_version
"dev-python/argparse-manpage[${PYTHON_USEDEP}]"
-}
-
-src_configure() {
- local emesonargs=(
- -Dpylint=disabled
- -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
- $(meson_feature bash-completion bashcomp)
- $(meson_use gtk-doc gtk_doc)
- $(meson_feature man manpage)
- $(meson_use test tests)
- )
- use zsh-completion && emesonargs+=( -Dzshcomp="$(get_zshcompdir)" )
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- python_fix_shebang "${D}"/usr/bin/powerprofilesctl
- newinitd "${FILESDIR}/power-profiles-daemon.initd" power-profiles-daemon
-}
-
-pkg_postinst() {
- if [[ -z "${REPLACING_VERSIONS}" ]]; then
- elog "You need to enable the service:"
- if systemd_is_booted; then
- elog "# systemctl enable ${PN}"
- else
- elog "# rc-update add ${PN} default"
- fi
- fi
-}