diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2024-01-29 15:43:29 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-02-24 15:26:41 +0200 |
commit | 6d0b651086776a8a8aa2432f4ade3d0c8e3ca4b6 (patch) | |
tree | 31412a5bdb1f6caee54bbdb3342cccf8f314e3d6 /dev-lang/elixir/elixir-1.15.7.ebuild | |
parent | dev-lang/elixir: lower restriction to <erlang-26.1 (diff) | |
download | gentoo-6d0b651086776a8a8aa2432f4ade3d0c8e3ca4b6.tar.gz gentoo-6d0b651086776a8a8aa2432f4ade3d0c8e3ca4b6.tar.bz2 gentoo-6d0b651086776a8a8aa2432f4ade3d0c8e3ca4b6.zip |
dev-lang/elixir: add 1.15.7
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/35072
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang/elixir/elixir-1.15.7.ebuild')
-rw-r--r-- | dev-lang/elixir/elixir-1.15.7.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-lang/elixir/elixir-1.15.7.ebuild b/dev-lang/elixir/elixir-1.15.7.ebuild new file mode 100644 index 000000000000..13e7b7258b53 --- /dev/null +++ b/dev-lang/elixir/elixir-1.15.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~ia64 ~ppc ~riscv ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +# https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp +DEPEND=" + >=dev-lang/erlang-24:0=[ssl] + <dev-lang/erlang-27 +" +# '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 +} |