summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2017-07-02 13:50:47 -0400
committerRichard Freeman <rich0@gentoo.org>2017-07-02 13:50:47 -0400
commit14e10e09679329fa48ef3e8c9fee6e2a685a2033 (patch)
treec065a2ed412e6f65e9b240cb8cfd22f76f8e59fb /sys-process
parentdev-lisp/sbcl: add arm64 binary to SRC_URI (diff)
downloadgentoo-14e10e09679329fa48ef3e8c9fee6e2a685a2033.tar.gz
gentoo-14e10e09679329fa48ef3e8c9fee6e2a685a2033.tar.bz2
gentoo-14e10e09679329fa48ef3e8c9fee6e2a685a2033.zip
sys-process/systemd-cron: fix FEATURES=test support
Bug: 623552 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/systemd-cron/systemd-cron-1.5.3.ebuild8
-rw-r--r--sys-process/systemd-cron/systemd-cron-1.5.4.ebuild8
2 files changed, 10 insertions, 6 deletions
diff --git a/sys-process/systemd-cron/systemd-cron-1.5.3.ebuild b/sys-process/systemd-cron/systemd-cron-1.5.3.ebuild
index 0d52d1c3d5c2..ab453bf98c59 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.3.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="cron-boot etc-crontab-systemd minutely setgid yearly"
+IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
RDEPEND=">=sys-apps/systemd-217
sys-apps/debianutils
@@ -20,7 +20,8 @@ RDEPEND=">=sys-apps/systemd-217
${PYTHON_DEPS}
sys-process/cronbase"
-DEPEND="sys-process/cronbase"
+DEPEND="sys-process/cronbase
+ test? ( sys-apps/man-db dev-python/pyflakes )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -35,6 +36,7 @@ src_prepare() {
sed -i \
-e 's!/crontab$!/crontab-systemd!' \
-e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+ -e 's/pyflakes3/pyflakes/' \
-- "${S}/Makefile.in" || die
if use etc-crontab-systemd
diff --git a/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild b/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild
index 3ac1e9729ac9..59f59b8ab2ae 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="cron-boot etc-crontab-systemd minutely setgid yearly"
+IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
RDEPEND=">=sys-apps/systemd-217
sys-apps/debianutils
@@ -20,7 +20,8 @@ RDEPEND=">=sys-apps/systemd-217
${PYTHON_DEPS}
sys-process/cronbase"
-DEPEND="sys-process/cronbase"
+DEPEND="sys-process/cronbase
+ test? ( sys-apps/man-db dev-python/pyflakes )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -35,6 +36,7 @@ src_prepare() {
sed -i \
-e 's!/crontab$!/crontab-systemd!' \
-e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+ -e 's/pyflakes3/pyflakes/' \
-- "${S}/Makefile.in" || die
if use etc-crontab-systemd