commit: 4a458d77eee37a6a049f28885892283385371e12
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 3 16:03:50 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 3 16:09:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a458d77
sys-process/bcron: Add Python 3.8, 3.9
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-process/bcron/bcron-0.11.ebuild | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/sys-process/bcron/bcron-0.11.ebuild
b/sys-process/bcron/bcron-0.11.ebuild
index 1be36b182bf..60e947e204f 100644
--- a/sys-process/bcron/bcron-0.11.ebuild
+++ b/sys-process/bcron/bcron-0.11.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit cron python-any-r1 toolchain-funcs
@@ -65,26 +65,36 @@ src_install() {
pkg_config() {
cd "${EROOT}"/var/lib/supervise/bcron || die
- [[ -e run ]] && ( cp run bcron-sched.run.`date +%Y%m%d%H%M%S` || die )
+ if [[ -e run ]] ; then
+ cp run bcron-sched.run.`date +%Y%m%d%H%M%S` || die
+ fi
cp bcron-sched.run run || die
chmod u+x run || die
cd "${EROOT}"/var/lib/supervise/bcron/log || die
- [[ -e run ]] && ( cp run bcron-sched-log.run.`date +%Y%m%d%H%M%S` ||
die )
+ if [[ -e run ]] ; then
+ cp run bcron-sched-log.run.`date +%Y%m%d%H%M%S` || die
+ fi
cp bcron-sched-log.run run || die
chmod u+x run || die
cd "${EROOT}"/var/lib/supervise/bcron-spool || die
- [[ -e run ]] && ( cp run bcron-spool.run.`date +%Y%m%d%H%M%S` || die )
+ if [[ -e run ]] ; then
+ cp run bcron-spool.run.`date +%Y%m%d%H%M%S` || die
+ fi
cp bcron-spool.run run || die
chmod u+x run || die
cd "${EROOT}"/var/lib/supervise/bcron-update || die
- [[ -e run ]] && ( cp run bcron-update.run.`date +%Y%m%d%H%M%S` || die )
+ if [[ -e run ]] ; then
+ cp run bcron-update.run.`date +%Y%m%d%H%M%S` || die
+ fi
cp bcron-update.run run || die
chmod u+x run || die
- [[ ! -e "${EROOT}"/var/spool/cron/trigger ]] && ( mkfifo
"${EROOT}"/var/spool/cron/trigger || die )
+ if [[ ! -e "${EROOT}"/var/spool/cron/trigger ]] ; then
+ mkfifo "${EROOT}"/var/spool/cron/trigger || die
+ fi
chown cron:cron "${EROOT}"/var/spool/cron/trigger || die
chmod go-rwx "${EROOT}"/var/spool/cron/trigger || die
}