From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE5B213835A for ; Thu, 3 Dec 2020 16:09:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09F34E0845; Thu, 3 Dec 2020 16:09:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1A66E0845 for ; Thu, 3 Dec 2020 16:09:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2266340AF0 for ; Thu, 3 Dec 2020 16:09:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 665AB2C5 for ; Thu, 3 Dec 2020 16:09:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1607011746.4a458d77eee37a6a049f28885892283385371e12.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/bcron/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/bcron/bcron-0.11.ebuild X-VCS-Directories: sys-process/bcron/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4a458d77eee37a6a049f28885892283385371e12 X-VCS-Branch: master Date: Thu, 3 Dec 2020 16:09:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c045d18e-e7e3-4b26-8643-013468f549c2 X-Archives-Hash: 8ecfc51dba1b15b1b786b50f69f8782a commit: 4a458d77eee37a6a049f28885892283385371e12 Author: Sam James gentoo org> AuthorDate: Thu Dec 3 16:03:50 2020 +0000 Commit: Sam James gentoo 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 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 }