From: "demize" <demize@unstable.systems>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-power/system76-power/
Date: Thu, 05 Jun 2025 13:02:06 +0000 (UTC) [thread overview]
Message-ID: <1749128446.9b7058f9b92eaabf9ec188a94ef9036bc946a076.demize@gentoo> (raw)
commit: 9b7058f9b92eaabf9ec188a94ef9036bc946a076
Author: Vivian Heisz (vhz) <demize <AT> unstable <DOT> systems>
AuthorDate: Thu Jun 5 12:51:18 2025 +0000
Commit: demize <demize <AT> unstable <DOT> systems>
CommitDate: Thu Jun 5 13:00:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b7058f9
sys-power/system76-power: Replace systemd RDEPEND with postinst ewarn
This fixes a pkgcheck issue now that systemd is masked on
split-usr profiles, and is more consistent with how this
type of systemd runtime dependency is handled in ::gentoo.
Signed-off-by: Vivian Heisz (vhz) <demize <AT> unstable.systems>
...em76-power-1.2.1-r1.ebuild => system76-power-1.2.1-r2.ebuild} | 9 ++++++---
sys-power/system76-power/system76-power-9999.ebuild | 9 ++++++---
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/sys-power/system76-power/system76-power-1.2.1-r1.ebuild b/sys-power/system76-power/system76-power-1.2.1-r2.ebuild
similarity index 96%
rename from sys-power/system76-power/system76-power-1.2.1-r1.ebuild
rename to sys-power/system76-power/system76-power-1.2.1-r2.ebuild
index bc09fb9f7f..6774bc90c3 100644
--- a/sys-power/system76-power/system76-power-1.2.1-r1.ebuild
+++ b/sys-power/system76-power/system76-power-1.2.1-r2.ebuild
@@ -204,9 +204,6 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-DEPEND="sys-apps/systemd"
-RDEPEND="${DEPEND}"
-
src_prepare() {
default
# Replace dynamic git dependency of 'sysfs-class' with a static one
@@ -218,3 +215,9 @@ src_install() {
default
elog "Enable the service: 'systemctl enable --now com.system76.PowerDaemon.service'"
}
+
+pkg_postinst(){
+ if ! has_version sys-apps/systemd; then
+ ewarn "${PN} is not functional without sys-apps/systemd at this point."
+ fi
+}
diff --git a/sys-power/system76-power/system76-power-9999.ebuild b/sys-power/system76-power/system76-power-9999.ebuild
index fae78009ab..92a8eacbe5 100644
--- a/sys-power/system76-power/system76-power-9999.ebuild
+++ b/sys-power/system76-power/system76-power-9999.ebuild
@@ -13,9 +13,6 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
-DEPEND="sys-apps/systemd"
-RDEPEND="${DEPEND}"
-
src_unpack(){
git-r3_src_unpack
cargo_live_src_unpack
@@ -25,3 +22,9 @@ src_install(){
default
elog "Enable the service: 'systemctl enable --now com.system76.PowerDaemon.service'"
}
+
+pkg_postinst(){
+ if ! has_version sys-apps/systemd; then
+ ewarn "${PN} is not functional without sys-apps/systemd at this point."
+ fi
+}
next reply other threads:[~2025-06-05 13:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-05 13:02 demize [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-05 14:23 [gentoo-commits] repo/proj/guru:dev commit in: sys-power/system76-power/ Lucio Sauer
2025-06-05 14:23 Lucio Sauer
2025-06-05 13:08 demize
2025-06-05 13:02 demize
2025-06-05 13:02 demize
2024-08-29 12:07 Michal Vu
2024-08-29 11:48 Michal Vu
2024-08-27 17:02 Michal Vu
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=1749128446.9b7058f9b92eaabf9ec188a94ef9036bc946a076.demize@gentoo \
--to=demize@unstable.systems \
--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