Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrony/
Date: Fri, 30 Apr 2021 23:27:51
Message-Id: 1619825228.35465fe6cc9a057754f8e3630196a2c0dd49dea5.sam@gentoo
1 commit: 35465fe6cc9a057754f8e3630196a2c0dd49dea5
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 29 18:12:01 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 30 23:27:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35465fe6
7
8 net-misc/chrony: move BDEPEND/REQUIRED_USE block
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-misc/chrony/chrony-4.1_pre1.ebuild | 16 ++++++++--------
13 net-misc/chrony/chrony-9999.ebuild | 16 ++++++++--------
14 2 files changed, 16 insertions(+), 16 deletions(-)
15
16 diff --git a/net-misc/chrony/chrony-4.1_pre1.ebuild b/net-misc/chrony/chrony-4.1_pre1.ebuild
17 index eb58830becb..c615418eb65 100644
18 --- a/net-misc/chrony/chrony-4.1_pre1.ebuild
19 +++ b/net-misc/chrony/chrony-4.1_pre1.ebuild
20 @@ -38,14 +38,6 @@ REQUIRED_USE="
21 !sechash? ( !nts? ( !nettle ) )
22 "
23
24 -if [[ ${PV} == "9999" ]] ; then
25 - # Needed for doc generation in 9999
26 - REQUIRED_USE+=" html"
27 - BDEPEND+=" virtual/w3m"
28 -else
29 - BDEPEND+=" verify-sig? ( app-crypt/openpgp-keys-mlichvar )"
30 -fi
31 -
32 DEPEND="
33 caps? (
34 acct-group/ntp
35 @@ -73,6 +65,14 @@ BDEPEND="
36 )
37 "
38
39 +if [[ ${PV} == "9999" ]] ; then
40 + # Needed for doc generation in 9999
41 + REQUIRED_USE+=" html"
42 + BDEPEND+=" virtual/w3m"
43 +else
44 + BDEPEND+=" verify-sig? ( app-crypt/openpgp-keys-mlichvar )"
45 +fi
46 +
47 PATCHES=(
48 "${FILESDIR}"/${PN}-3.5-pool-vendor-gentoo.patch
49 "${FILESDIR}"/${PN}-3.5-r3-systemd-gentoo.patch
50
51 diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
52 index eb58830becb..c615418eb65 100644
53 --- a/net-misc/chrony/chrony-9999.ebuild
54 +++ b/net-misc/chrony/chrony-9999.ebuild
55 @@ -38,14 +38,6 @@ REQUIRED_USE="
56 !sechash? ( !nts? ( !nettle ) )
57 "
58
59 -if [[ ${PV} == "9999" ]] ; then
60 - # Needed for doc generation in 9999
61 - REQUIRED_USE+=" html"
62 - BDEPEND+=" virtual/w3m"
63 -else
64 - BDEPEND+=" verify-sig? ( app-crypt/openpgp-keys-mlichvar )"
65 -fi
66 -
67 DEPEND="
68 caps? (
69 acct-group/ntp
70 @@ -73,6 +65,14 @@ BDEPEND="
71 )
72 "
73
74 +if [[ ${PV} == "9999" ]] ; then
75 + # Needed for doc generation in 9999
76 + REQUIRED_USE+=" html"
77 + BDEPEND+=" virtual/w3m"
78 +else
79 + BDEPEND+=" verify-sig? ( app-crypt/openpgp-keys-mlichvar )"
80 +fi
81 +
82 PATCHES=(
83 "${FILESDIR}"/${PN}-3.5-pool-vendor-gentoo.patch
84 "${FILESDIR}"/${PN}-3.5-r3-systemd-gentoo.patch