mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/elixir: add 1.20.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1088 Merges: https://codeberg.org/gentoo/gentoo/pulls/1088 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
281cffcfc4
commit
a5a2153e87
@@ -5,3 +5,4 @@ DIST elixir-1.17.3.tar.gz 3256595 BLAKE2B c016857f74d65de5afcef6d1284b76fc529a54
|
||||
DIST elixir-1.18.4.tar.gz 3397219 BLAKE2B 9c1052eaa3e17366c6f42296c1e9ae6cc9a6419dd9916d9badcdcf7f999d2e6cbbed840261f86e7d8bf3839d5a1d4bff9633aa87264d03bc08ca8c50fcb4afac SHA512 14030fbfaf7dcd88cf60d1cee52a6316e2298c8dcf7b41d758456c01e98f45499d8590beab3ac8683d613ddb17f9c92988c76081ab9f316b9c890c482a26c8eb
|
||||
DIST elixir-1.19.4.tar.gz 3592105 BLAKE2B d7e34bb65b842f0b1384b8c748dfcbcf9ad212b3ac93e307f1467dd0116158b8bac4494c9a0e8a897c4a3106fed25289f889e6039531f16637e868886c7e8c19 SHA512 b58698e0e122635e4fcb5e2eb04a935825ea81d9202c210c0f591fcef36a216faadb581ffde3f19606bd6b931120991172d4a0af4797c905c929d84e81b19b81
|
||||
DIST elixir-1.19.5.tar.gz 3593898 BLAKE2B 86ca979ff6f698c581f864652fe8414c69e30d17295b3e20c5c625b75f213f7af77225c79e003c9ef6c74ad21b909942fdcc885977401d46a8a5a3b86765f355 SHA512 6bdc83490fb44daead69f86dee08f25a3c0c23bc46be6f62e3603777f3ffa6be4334904689782b0990640d50385dc90ec1d16cbfaf5691ec405ee2c88ff3c4ac
|
||||
DIST elixir-1.20.0.tar.gz 3673125 BLAKE2B c3092ba51731a42222f5a9e8585e4e5028624f2899ee762d4ccc77e73e927a575af946716dbec19f5681c8672981a7a447fc004f0c0acca2465cb5ccd19ea20d SHA512 a5c236b0ef9d74210c2ac55cb78d9e643d12f89fecfb28db7a9503ce7a6718ed61b0d6b5e2f832003788f271d6d3bb7a1cd402820a8fa2a692b44ad58c0e6feb
|
||||
|
||||
43
dev-lang/elixir/elixir-1.20.0.ebuild
Normal file
43
dev-lang/elixir/elixir-1.20.0.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