From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1274141-garchives=archives.gentoo.org@lists.gentoo.org>
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 02B5E1382C5
	for <garchives@archives.gentoo.org>; Thu, 22 Apr 2021 22:32:20 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 29E86E0929;
	Thu, 22 Apr 2021 22:32:19 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 143A4E0929
	for <gentoo-commits@lists.gentoo.org>; Thu, 22 Apr 2021 22:32:19 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 3E967341290
	for <gentoo-commits@lists.gentoo.org>; Thu, 22 Apr 2021 22:32:18 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EBB0F646
	for <gentoo-commits@lists.gentoo.org>; Thu, 22 Apr 2021 22:32:16 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1619130730.a34110a123fefaae13804ea02f4c5cc036877d43.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrony/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/chrony/chrony-4.1_pre1.ebuild net-misc/chrony/chrony-9999.ebuild
X-VCS-Directories: net-misc/chrony/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: a34110a123fefaae13804ea02f4c5cc036877d43
X-VCS-Branch: master
Date: Thu, 22 Apr 2021 22:32:16 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1ed943a0-4cb7-41d9-a8f4-1fa0463c12e5
X-Archives-Hash: 299f9f112b0422a7c1bb0c6acc32b2bd

commit:     a34110a123fefaae13804ea02f4c5cc036877d43
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 22 22:31:36 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 22:32:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34110a1

net-misc/chrony: formatting change

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/chrony/chrony-4.1_pre1.ebuild | 3 ++-
 net-misc/chrony/chrony-9999.ebuild     | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-misc/chrony/chrony-4.1_pre1.ebuild b/net-misc/chrony/chrony-4.1_pre1.ebuild
index 91a9a012460..eb58830becb 100644
--- a/net-misc/chrony/chrony-4.1_pre1.ebuild
+++ b/net-misc/chrony/chrony-4.1_pre1.ebuild
@@ -195,6 +195,8 @@ pkg_preinst() {
 	HAD_CAPS=false
 	HAD_SECCOMP=false
 
+	# See https://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-phases-after-2.1.5
+	# in "Ebuild Phases" for an explanation of why we need to save the variable beforehand
 	if has_version 'net-misc/chrony[caps]' ; then
 		HAD_CAPS=true
 	fi
@@ -202,7 +204,6 @@ pkg_preinst() {
 	if has_version 'net-misc/chrony[seccomp]' ; then
 		HAD_SECCOMP=true
 	fi
-
 }
 
 pkg_postinst() {

diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
index 91a9a012460..eb58830becb 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -195,6 +195,8 @@ pkg_preinst() {
 	HAD_CAPS=false
 	HAD_SECCOMP=false
 
+	# See https://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-phases-after-2.1.5
+	# in "Ebuild Phases" for an explanation of why we need to save the variable beforehand
 	if has_version 'net-misc/chrony[caps]' ; then
 		HAD_CAPS=true
 	fi
@@ -202,7 +204,6 @@ pkg_preinst() {
 	if has_version 'net-misc/chrony[seccomp]' ; then
 		HAD_SECCOMP=true
 	fi
-
 }
 
 pkg_postinst() {