app-admin/awscli: Bump to 1.37.9
[gentoo/gentoo.git] / dev-erlang / hamcrest / hamcrest-0.1.0_p20160709.ebuild
blob81eb24852cc67d39ba0a845fc0ce11bdf50ec05e
1 # Copyright 1999-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit rebar
8 DESCRIPTION="Erlang port of Hamcrest"
9 HOMEPAGE="https://github.com/hyperthunk/hamcrest-erlang"
10 SRC_URI="https://dev.gentoo.org/~hanno/distfiles/${P}.tar.gz"
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="amd64 ~arm ~sparc x86"
15 IUSE="test"
16 RESTRICT="!test? ( test )"
18 COMMON_DEPEND=">=dev-lang/erlang-17.1"
19 DEPEND="${COMMON_DEPEND}
20         test? ( >=dev-erlang/proper-1.2 )"
21 RDEPEND="${COMMON_DEPEND}"
23 DOCS=( NOTES README.markdown TODO.md )
25 # Override with EAPI default because it's missing hamcrest.app.src and doesn't
26 # have any deps.
27 src_prepare() {
28         default
31 src_test() {
32         rebar_remove_deps test.config
33         erebar -C test.config compile ct