diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-03 23:20:31 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-03 23:20:31 +0100 |
commit | 06c4ff0d2bfad07f7855898cae1f3dbf715d7407 (patch) | |
tree | 9bc6346a278bafb38ccd142c26d01db425f3bb01 /dev-lang/elixir | |
parent | dev-python/hyperlink: keyworded 19.0.0 for hppa, bug #661320 (diff) | |
download | gentoo-06c4ff0d2bfad07f7855898cae1f3dbf715d7407.tar.gz gentoo-06c4ff0d2bfad07f7855898cae1f3dbf715d7407.tar.bz2 gentoo-06c4ff0d2bfad07f7855898cae1f3dbf715d7407.zip |
dev-lang/elixir: add git test dependency, bug #716038
Without `git` installed tests fail as:
```
** (ErlangError) Erlang error: :enoent
(elixir 1.10.2) lib/system.ex:795: System.cmd("git", ["--version"],
[cd: "/var/tmp/portage/dev-lang/elixir-1.10.2/work/elixir-1.10.2/lib/mix",
into: "", stderr_to_stdout: true])
(mix 1.10.2) lib/mix/scm/git.ex:253: Mix.SCM.Git.git!/2
(mix 1.10.2) lib/mix/scm/git.ex:293: Mix.SCM.Git.git_version/0
test/test_helper.exs:12: (file)
make: *** [Makefile:113: test_mix] Error 1
```
Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/716038
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-lang/elixir')
-rw-r--r-- | dev-lang/elixir/elixir-1.10.2.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-lang/elixir/elixir-1.10.2.ebuild b/dev-lang/elixir/elixir-1.10.2.ebuild index 2d3fd641b427..004be92a428f 100644 --- a/dev-lang/elixir/elixir-1.10.2.ebuild +++ b/dev-lang/elixir/elixir-1.10.2.ebuild @@ -10,13 +10,18 @@ SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="Apache-2.0 ErlPL-1.1" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86" -IUSE="" +IUSE="test" -DEPEND=">=dev-lang/erlang-21:0=[ssl]" +DEPEND=" + >=dev-lang/erlang-21:0=[ssl] +" # 'mix' tool collides with sci-biology/phylip, bug #537514 RDEPEND="${DEPEND} !!sci-biology/phylip " +DEPEND+=" + test? ( dev-vcs/git ) +" PATCHES=( "${FILESDIR}"/${PN}-1.9.1-disable-network-tests.patch |