1 |
commit: 19663311039148658d3f34c6042273c29cda7dc3 |
2 |
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
3 |
AuthorDate: Sat Mar 5 16:39:59 2022 +0000 |
4 |
Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
5 |
CommitDate: Sat Mar 5 16:39:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19663311 |
7 |
|
8 |
dev-cpp/jwt-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/jwt-cpp/jwt-cpp-0.4.0.ebuild | 10 +++++----- |
17 |
dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild | 10 +++++----- |
18 |
2 files changed, 10 insertions(+), 10 deletions(-) |
19 |
|
20 |
diff --git a/dev-cpp/jwt-cpp/jwt-cpp-0.4.0.ebuild b/dev-cpp/jwt-cpp/jwt-cpp-0.4.0.ebuild |
21 |
index 0d9482b32..7663265ab 100644 |
22 |
--- a/dev-cpp/jwt-cpp/jwt-cpp-0.4.0.ebuild |
23 |
+++ b/dev-cpp/jwt-cpp/jwt-cpp-0.4.0.ebuild |
24 |
@@ -5,10 +5,9 @@ EAPI=8 |
25 |
|
26 |
inherit cmake |
27 |
|
28 |
-if [[ ${PV} == 9999 ]]; then |
29 |
+if [[ ${PV} == *9999* ]]; then |
30 |
inherit git-r3 |
31 |
EGIT_REPO_URI="https://github.com/Thalhammer/jwt-cpp.git" |
32 |
- KEYWORDS="" |
33 |
else |
34 |
SRC_URI="https://github.com/Thalhammer/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
KEYWORDS="~amd64" |
36 |
@@ -23,10 +22,11 @@ IUSE="doc +picojson test" |
37 |
|
38 |
DEPEND="${RDEPEND} |
39 |
dev-libs/openssl |
40 |
- picojson? ( dev-cpp/picojson ) |
41 |
- test? ( dev-cpp/gtest )" |
42 |
+ picojson? ( dev-cpp/picojson )" |
43 |
BDEPEND="doc? ( app-doc/doxygen[dot] )" |
44 |
-RESTRICT="!picojson? ( test )" |
45 |
+RESTRICT=" |
46 |
+ !picojson? ( test ) |
47 |
+ !test? ( test )" |
48 |
|
49 |
src_prepare() { |
50 |
# Unbundle dev-cpp/picojson and fix include paths. |
51 |
|
52 |
diff --git a/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild b/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild |
53 |
index ebec5e087..f2abbb709 100644 |
54 |
--- a/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild |
55 |
+++ b/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild |
56 |
@@ -5,10 +5,9 @@ EAPI=8 |
57 |
|
58 |
inherit cmake |
59 |
|
60 |
-if [[ ${PV} == 9999 ]]; then |
61 |
+if [[ ${PV} == *9999* ]]; then |
62 |
inherit git-r3 |
63 |
EGIT_REPO_URI="https://github.com/Thalhammer/jwt-cpp.git" |
64 |
- KEYWORDS="" |
65 |
else |
66 |
SRC_URI="https://github.com/Thalhammer/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
67 |
KEYWORDS="~amd64" |
68 |
@@ -24,10 +23,11 @@ IUSE="doc +picojson test" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-cpp/nlohmann_json |
71 |
dev-libs/openssl |
72 |
- picojson? ( dev-cpp/picojson ) |
73 |
- test? ( dev-cpp/gtest )" |
74 |
+ picojson? ( dev-cpp/picojson )" |
75 |
BDEPEND="doc? ( app-doc/doxygen[dot] )" |
76 |
-RESTRICT="!picojson? ( test )" |
77 |
+RESTRICT=" |
78 |
+ !picojson? ( test ) |
79 |
+ !test? ( test )" |
80 |
DOCS=( README.md docs/{faqs,ssl,traits}.md ) |
81 |
|
82 |
src_prepare() { |