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@googlemail.com>
This commit is contained in:
Oliver Freyermuth
2022-03-05 17:44:56 +01:00
parent 1966331103
commit 4779120582

View File

@@ -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