commit:     641c536fe4afa656f34ebb656bf1e8bca8bd87bc
Author:     Richard Freeman <rich0 <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 16 15:14:12 2024 +0000
Commit:     Richard Freeman <rich0 <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 15:16:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641c536f

sys-process/systemd-cron: Require split-usr in deps and no longer die.

Closes: https://bugs.gentoo.org/928893
Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>

 ...{systemd-cron-2.3.4.ebuild => systemd-cron-2.3.4-r1.ebuild} | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.4.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.4-r1.ebuild
similarity index 90%
rename from sys-process/systemd-cron/systemd-cron-2.3.4.ebuild
rename to sys-process/systemd-cron/systemd-cron-2.3.4-r1.ebuild
index 32892c37b102..00738f1c0e07 100644
--- a/sys-process/systemd-cron/systemd-cron-2.3.4.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.3.4-r1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
        acct-group/_cron-failure
        app-crypt/libmd:=
        sys-process/cronbase
-       >=sys-apps/systemd-253
+       >=sys-apps/systemd-255[-split-usr(-)]
        !etc-crontab-systemd? ( !sys-process/dcron )
        runparts? ( sys-apps/debianutils )
 "
@@ -32,14 +32,6 @@ DEPEND="
        sys-process/cronbase
 "
 
-pkg_pretend() {
-       if use runparts && ! [ -x /usr/bin/run-parts ] ; then
-               eerror "Please complete the migration to merged-usr."
-               eerror "https://wiki.gentoo.org/wiki/Merge-usr";
-               die "systemd-cron no longer supports split-usr"
-       fi
-}
-
 src_prepare() {
        sed -i \
                -e 's/^crontab/crontab-systemd/' \

Reply via email to