aboutsummaryrefslogtreecommitdiff
blob: c4d224207be8461f4e98cce5aa508a479b0bdbb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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"
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 )
"