summaryrefslogtreecommitdiff
path: root/dev-lang/elixir/elixir-1.18.1.ebuild
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2025-01-17 15:43:31 +0000
committerPatrick Lauer <patrick@gentoo.org>2025-01-17 15:43:47 +0000
commit466c65cf4cf167077ae76b54f0657cc357d551fa (patch)
treebb96aae8d6beaeb39e60a607707828df49f3f93a /dev-lang/elixir/elixir-1.18.1.ebuild
parent094e4d8e246c8b4fe31f5137a021a1753f249dec (diff)
downloadgentoo-466c65cf4cf167077ae76b54f0657cc357d551fa.tar.gz
gentoo-466c65cf4cf167077ae76b54f0657cc357d551fa.tar.bz2
gentoo-466c65cf4cf167077ae76b54f0657cc357d551fa.zip
dev-lang/elixir: add 1.18.1
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-lang/elixir/elixir-1.18.1.ebuild')
-rw-r--r--dev-lang/elixir/elixir-1.18.1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-lang/elixir/elixir-1.18.1.ebuild b/dev-lang/elixir/elixir-1.18.1.ebuild
new file mode 100644
index 000000000000..b0636298755e
--- /dev/null
+++ b/dev-lang/elixir/elixir-1.18.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 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 ~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-25:0=[ssl]
+ <dev-lang/erlang-28
+"
+# '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
+}