net-misc/cve-client: new package, add 1.0.4, 9999

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2023-04-04 18:32:21 +02:00
parent e8c888c0c5
commit 257320b8cc
4 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit perl-module
if [[ "${PV}" = "9999" ]]
then
inherit git-r3
EGIT_REPO_URI="https://hacktivis.me/git/cve-client.git"
EGIT_MIN_CLONE_TYPE="single+tags"
else
SRC_URI="https://hacktivis.me/releases/${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="CLI-based client / toolbox for CVE.org"
HOMEPAGE="https://hacktivis.me/git/cve-client/"
LICENSE="AGPL-3"
SLOT="0"
RDEPEND="
dev-perl/JSON-MaybeXS
dev-perl/LWP-Protocol-https
"
DEPEND="
${RDEPEND}
test? ( dev-perl/Test-Output )
"