Diff systemd-cron-1.15.20 with a systemd-cron-1.16.7-r1

/usr/portage/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 2023-10-09 14:52:35.584368504 +0300
11 11

  
12 12
LICENSE="MIT"
13 13
SLOT="0"
14
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
14
KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
15 15
IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
16 16
RESTRICT="!test? ( test )"
17 17

  
......
29 29

  
30 30
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
31 31

  
32
pkg_pretend() {
33
	if use runparts && ! [ -x /usr/bin/run-parts ] ; then
34
			eerror "Please complete the migration to merged-usr."
35
			eerror "https://wiki.gentoo.org/wiki/Merge-usr"
36
			die "systemd-cron no longer supports split-usr"
37
	fi
38
}
39

  
32 40
src_prepare() {
33 41
	python_fix_shebang --force "${S}/src/bin"
34 42

  
......
37 45
		-e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
38 46
		-- "${S}/src/man/crontab."{1,5}".in" || die
39 47

  
40
	sed -i \
41
		-e 's!/crontab$!/crontab-systemd!' \
42
		-e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
43
		-e 's/pyflakes3/pyflakes/' \
44
		-- "${S}/Makefile.in" || die
45

  
46 48
	if use etc-crontab-systemd
47 49
	then	sed -i \
48 50
			-e "s!/etc/crontab!/etc/crontab-systemd!" \
......
65 67
	./configure \
66 68
		--prefix="${EPREFIX}/usr" \
67 69
		--confdir="${EPREFIX}/etc" \
68
		--runparts="${EPREFIX}/bin/run-parts" \
69 70
		--mandir="${EPREFIX}/usr/share/man" \
70 71
		--unitdir="$(systemd_get_systemunitdir)" \
71 72
		--generatordir="$(systemd_get_systemgeneratordir)" \
......
75 76
		$(my_use_enable yearly) \
76 77
		$(my_use_enable yearly quarterly) \
77 78
		$(my_use_enable yearly semi_annually) \
78
		$(my_use_enable setgid) \
79
		--enable-persistent=yes
79
		$(my_use_enable setgid) || die
80

  
81
		export CRONTAB=crontab-systemd
80 82
}
81 83

  
82 84
src_install() {
Thank you!