commit: 5a99a538307c5a9241d6b55e8600f0171235ffc2
parent af416dd8377eca03302803f445ddbce43fff1a9b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 14 Jul 2023 08:21:58 +0200
net-misc/ap-client: Add missing test dependency
Diffstat:
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/net-misc/ap-client/ap-client-9999.ebuild b/net-misc/ap-client/ap-client-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Copyright 2021-2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,8 +12,15 @@ LICENSE="AGPL-3"
SLOT="0"
KEYWORDS=""
-DEPEND="
- dev-perl/JSON-MaybeXS
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-perl/JSON
dev-perl/LWP-Protocol-https
"
-RDEPEND="${DEPEND}"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-perl/Test-Output )
+"