1 |
commit: 477912058273ae786e287ff3e1ba14244e5a7b18 |
2 |
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
3 |
AuthorDate: Sat Mar 5 16:44:56 2022 +0000 |
4 |
Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
5 |
CommitDate: Sat Mar 5 16:44:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47791205 |
7 |
|
8 |
dev-cpp/scitokens-cpp: Fix pkgcheck QA issues. |
9 |
|
10 |
This resolves MissingTestRestrict and |
11 |
MultipleKeywordsLines issues. |
12 |
|
13 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
14 |
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com> |
15 |
|
16 |
dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild | 4 ++-- |
17 |
1 file changed, 2 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild b/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild |
20 |
index bef1bbae6..59eac5e9b 100644 |
21 |
--- a/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild |
22 |
+++ b/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild |
23 |
@@ -5,10 +5,9 @@ EAPI=8 |
24 |
|
25 |
inherit cmake |
26 |
|
27 |
-if [[ ${PV} == 9999 ]]; then |
28 |
+if [[ ${PV} == *9999* ]]; then |
29 |
inherit git-r3 |
30 |
EGIT_REPO_URI="https://github.com/scitokens/scitokens-cpp" |
31 |
- KEYWORDS="" |
32 |
else |
33 |
SRC_URI="https://github.com/scitokens/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
KEYWORDS="~amd64" |
35 |
@@ -29,6 +28,7 @@ DEPEND="${RDEPEND} |
36 |
sys-apps/util-linux |
37 |
test? ( dev-cpp/gtest )" |
38 |
BDEPEND="virtual/pkgconfig" |
39 |
+RESTRICT="!test? ( test )" |
40 |
|
41 |
PATCHES=( |
42 |
"${FILESDIR}"/"${PN}"-0.7.0-install-when-testing.patch |