public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Oliver Freyermuth" <o.freyermuth@googlemail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/jwt-cpp/
Date: Sat,  5 Mar 2022 16:40:01 +0000 (UTC)	[thread overview]
Message-ID: <1646498399.19663311039148658d3f34c6042273c29cda7dc3.freyermuth@gentoo> (raw)

commit:     19663311039148658d3f34c6042273c29cda7dc3
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sat Mar  5 16:39:59 2022 +0000
Commit:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
CommitDate: Sat Mar  5 16:39:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19663311

dev-cpp/jwt-cpp: Fix pkgcheck QA issues.

This resolves MissingTestRestrict and
MultipleKeywordsLines issues.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>

 dev-cpp/jwt-cpp/jwt-cpp-0.4.0.ebuild | 10 +++++-----
 dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dev-cpp/jwt-cpp/jwt-cpp-0.4.0.ebuild b/dev-cpp/jwt-cpp/jwt-cpp-0.4.0.ebuild
index 0d9482b32..7663265ab 100644
--- a/dev-cpp/jwt-cpp/jwt-cpp-0.4.0.ebuild
+++ b/dev-cpp/jwt-cpp/jwt-cpp-0.4.0.ebuild
@@ -5,10 +5,9 @@ EAPI=8
 
 inherit cmake
 
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/Thalhammer/jwt-cpp.git"
-	KEYWORDS=""
 else
 	SRC_URI="https://github.com/Thalhammer/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64"
@@ -23,10 +22,11 @@ IUSE="doc +picojson test"
 
 DEPEND="${RDEPEND}
 	dev-libs/openssl
-	picojson? ( dev-cpp/picojson )
-	test? ( dev-cpp/gtest )"
+	picojson? ( dev-cpp/picojson )"
 BDEPEND="doc? ( app-doc/doxygen[dot] )"
-RESTRICT="!picojson? ( test )"
+RESTRICT="
+	!picojson? ( test )
+	!test? ( test )"
 
 src_prepare() {
 	# Unbundle dev-cpp/picojson and fix include paths.

diff --git a/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild b/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild
index ebec5e087..f2abbb709 100644
--- a/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild
+++ b/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild
@@ -5,10 +5,9 @@ EAPI=8
 
 inherit cmake
 
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/Thalhammer/jwt-cpp.git"
-	KEYWORDS=""
 else
 	SRC_URI="https://github.com/Thalhammer/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64"
@@ -24,10 +23,11 @@ IUSE="doc +picojson test"
 DEPEND="${RDEPEND}
 	dev-cpp/nlohmann_json
 	dev-libs/openssl
-	picojson? ( dev-cpp/picojson )
-	test? ( dev-cpp/gtest )"
+	picojson? ( dev-cpp/picojson )"
 BDEPEND="doc? ( app-doc/doxygen[dot] )"
-RESTRICT="!picojson? ( test )"
+RESTRICT="
+	!picojson? ( test )
+	!test? ( test )"
 DOCS=( README.md docs/{faqs,ssl,traits}.md )
 
 src_prepare() {


             reply	other threads:[~2022-03-05 16:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-05 16:40 Oliver Freyermuth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-09  8:32 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/jwt-cpp/ Oliver Freyermuth
2022-03-08  8:17 Oliver Freyermuth
2022-02-27 14:28 Oliver Freyermuth
2022-02-26 18:37 Oliver Freyermuth
2022-02-26 18:06 Oliver Freyermuth
2022-02-26 17:52 Oliver Freyermuth
2022-02-26 17:41 Oliver Freyermuth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1646498399.19663311039148658d3f34c6042273c29cda7dc3.freyermuth@gentoo \
    --to=o.freyermuth@googlemail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox