commit: 9c0a31d15acef67b1d4ca5280646680844f5552d
parent 1eec0f228a52fdfd1dff53ec3feab92e37f0a211
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 1 Feb 2023 09:35:55 +0100
dev-util/rebar: Add dev-erlang/meck as test dependency
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-util/rebar/rebar-3.20.0.ebuild b/dev-util/rebar/rebar-3.20.0.ebuild
@@ -11,11 +11,15 @@ LICENSE="Apache-2.0 MIT BSD"
SRC_URI="https://github.com/erlang/rebar3/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}3-${PV}"
SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
DEPEND="
dev-lang/erlang[ssl]
!dev-util/rebar-bin
+ test? ( dev-erlang/meck )
"
RDEPEND="${DEPEND}"