dev-lang/elixir - 1.20.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-lang/elixir-1.20.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-lang/elixir-1.20.0

Or alternatively:

emerge --autounmask-write -a =dev-lang/elixir-1.20.0

Package Information

Description:
Elixir programming language
Homepage:
https://elixir-lang.org
License:
Apache-2.0 ErlPL-1.1

Ebuild Details

Version EAPI Keywords Slot
1.20.0 9 ~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

DESCRIPTION="Elixir programming language"
HOMEPAGE="https://elixir-lang.org"
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0 ErlPL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86"
IUSE="test"

RESTRICT="!test? ( test )"

# https://hexdocs.pm/elixir/compatibility-and-deprecations.html#between-elixir-and-erlang-otp
DEPEND="
	>=dev-lang/erlang-27:0=[ssl]
	<dev-lang/erlang-30
"
# '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
	"${FILESDIR}"/${PN}-1.10.3-no-Q.patch
	"${FILESDIR}"/${PN}-1.10.3-epmd-daemon.patch
)

src_install() {
	emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="${EPREFIX}/usr" install
	dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
}

# Note on tests: Needs to be ran with proper isolation when epmd is already running on the host,
# say with ebuild launched by root, or emerge
# See: https://github.com/elixir-lang/elixir/issues/14889#issuecomment-3539477959

USE Flags

Manage flags for this package: euse -i <flag> -p dev-lang/elixir | euse -E <flag> -p dev-lang/elixir | euse -D <flag> -p dev-lang/elixir

Global/Standard Flags

Dependencies

DEPEND

	>=dev-lang/erlang-27:0=[ssl]
	<dev-lang/erlang-30
 
	test? ( dev-vcs/git )

RDEPEND

	>=dev-lang/erlang-27:0=[ssl]
	<dev-lang/erlang-30
 
	test? ( dev-vcs/git )

	!!sci-biology/phylip

Manifest for 1.20.0

Type File Size Source URLs
DIST elixir-1.20.0.tar.gz 3673125 bytes https://github.com/elixir-lang/elixir/archive/v1.20.0.tar.gz