mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-lang/elixir: add 1.20.4
Bug: https://bugs.gentoo.org/981585 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1761 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
a0fd23ddf3
commit
61fa86a828
@@ -4,3 +4,4 @@ DIST elixir-1.18.4.tar.gz 3397219 BLAKE2B 9c1052eaa3e17366c6f42296c1e9ae6cc9a641
|
||||
DIST elixir-1.19.5.tar.gz 3593898 BLAKE2B 86ca979ff6f698c581f864652fe8414c69e30d17295b3e20c5c625b75f213f7af77225c79e003c9ef6c74ad21b909942fdcc885977401d46a8a5a3b86765f355 SHA512 6bdc83490fb44daead69f86dee08f25a3c0c23bc46be6f62e3603777f3ffa6be4334904689782b0990640d50385dc90ec1d16cbfaf5691ec405ee2c88ff3c4ac
|
||||
DIST elixir-1.20.1.tar.gz 3675171 BLAKE2B b510522c34d1892dd34b452bf7e771c4a73b31280b42634422b7471aa44ff34432fc054a125b4258e1d365fb3080daa3d5461ab537aa993a3cd7ca6bdb555834 SHA512 7e4f4342f154f5c6bce80247a7ca66ed1b538df977183295c8350339ffd9173cc5be3fc8902d07bad27d4433a9b47b5345180eb9fe72e68ae87824da55a82012
|
||||
DIST elixir-1.20.2.tar.gz 3678960 BLAKE2B 7373e2763526cbc6e4986a27c2ac8ce8b98cb0683a99d54227dc03dab847647f24ba4e4bbd546e87ab0155ae5b5fea53ec641ad55da1b834301582e7c05a32c4 SHA512 13c5d6df99e83ac675df1b68d7b6b7ec05bf63303674058e26e170ddc506c84f233abee2175d2d0e4d7bc27238cc7b576b02dd766bb3ac595ca368f566e145ae
|
||||
DIST elixir-1.20.4.tar.gz 3685297 BLAKE2B 674f7967844d36b0831cb2e6ae3bfa6f296bf285db52c65fa6f818313d524a163c2ce9ee743064a759af5c38013caf224ec54e71f8925aa3fbf76f2ed70610f9 SHA512 df7d86214553e43a7bddfb8611a6ee68eb37511f17872ce2c14f796eca9846eaf875fb050f0faeef4fa42bd352e780b75ec0781a5d4aab3a4b6378dd067fa17b
|
||||
|
||||
43
dev-lang/elixir/elixir-1.20.4.ebuild
Normal file
43
dev-lang/elixir/elixir-1.20.4.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user