commit: 477912058273ae786e287ff3e1ba14244e5a7b18 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> AuthorDate: Sat Mar 5 16:44:56 2022 +0000 Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> CommitDate: Sat Mar 5 16:44:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47791205
dev-cpp/scitokens-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/scitokens-cpp/scitokens-cpp-0.7.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild b/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild index bef1bbae6..59eac5e9b 100644 --- a/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild +++ b/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.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/scitokens/scitokens-cpp" - KEYWORDS="" else SRC_URI="https://github.com/scitokens/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" @@ -29,6 +28,7 @@ DEPEND="${RDEPEND} sys-apps/util-linux test? ( dev-cpp/gtest )" BDEPEND="virtual/pkgconfig" +RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}"/"${PN}"-0.7.0-install-when-testing.patch