logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 20ad454c1a77f8cb746720df4bf0ab816bed8082
parent 59b2ddefd14d9e364420b4131e9517990ddba056
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  6 Feb 2023 19:54:13 +0100

dev-erlang/meck: new package, add 0.9.2

Diffstat:

Adev-erlang/meck/Manifest1+
Adev-erlang/meck/meck-0.9.2.ebuild32++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/dev-erlang/meck/Manifest b/dev-erlang/meck/Manifest @@ -0,0 +1 @@ +DIST meck-0.9.2.tar.gz 53916 BLAKE2B 8ea50d89fcc17da6f19a489ae02c28247ade1f4be06721c055ca9f5771d73e595f71b849dcd145c81070ebd0b1753e7d037892f553a2232a395e2150a2c69b17 SHA512 0798cfca789d576ee9c4af9b6879bcb5c518d510945810f2dca1afeb74dd77123bcbf56f054ba477ba54799e534bd879732c2873ad5bdf8ddc24707c56a70393 diff --git a/dev-erlang/meck/meck-0.9.2.ebuild b/dev-erlang/meck/meck-0.9.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit rebar3 + +DESCRIPTION="Mocking library for Erlang" +HOMEPAGE="https://github.com/eproxus/meck" +SRC_URI="https://github.com/eproxus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" + +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-lang/erlang-17.1 + test? ( dev-erlang/unite ) +" +RDEPEND="${DEPEND}" + +DOCS=( CHANGELOG.md NOTICE README.md ) + +src_prepare() { + rebar3_src_prepare + + sed -i 's;{deps, \[unite\]},;{deps, []},;' rebar.config || die +}