From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5EC90138350 for ; Fri, 3 Apr 2020 22:21:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7800BE097B; Fri, 3 Apr 2020 22:21:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DF39E097B for ; Fri, 3 Apr 2020 22:21:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C71634F051 for ; Fri, 3 Apr 2020 22:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B43AD8D for ; Fri, 3 Apr 2020 22:21:02 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1585952431.06c4ff0d2bfad07f7855898cae1f3dbf715d7407.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/elixir/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/elixir/elixir-1.10.2.ebuild X-VCS-Directories: dev-lang/elixir/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 06c4ff0d2bfad07f7855898cae1f3dbf715d7407 X-VCS-Branch: master Date: Fri, 3 Apr 2020 22:21:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8c028ab1-a214-4019-9f3c-a31ee655925f X-Archives-Hash: f3666bc870ab2568be8de609a1a43dea commit: 06c4ff0d2bfad07f7855898cae1f3dbf715d7407 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Apr 3 22:20:31 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Apr 3 22:20:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c4ff0d 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 gentoo.org> dev-lang/elixir/elixir-1.10.2.ebuild | 9 +++++++-- 1 file 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 2d3fd641b42..004be92a428 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