logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: bda1d3ea81885be1d27f13304b1bd60afa477e7f
parent 6a7d7475b6f33a2a13cf48bcee34c66001603a73
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  2 Sep 2022 20:38:33 +0200

dev-lang/elixir: Treeclean, 1.14.0 is out

Diffstat:

Ddev-lang/elixir/Manifest2--
Ddev-lang/elixir/elixir-1.13.4.ebuild37-------------------------------------
Ddev-lang/elixir/elixir-1.14_rc0.ebuild39---------------------------------------
Ddev-lang/elixir/files/elixir-1.10.3-epmd-daemon.patch13-------------
Ddev-lang/elixir/files/elixir-1.10.3-no-Q.patch12------------
Ddev-lang/elixir/files/elixir-1.9.1-disable-network-tests.patch20--------------------
Ddev-lang/elixir/metadata.xml26--------------------------
7 files changed, 0 insertions(+), 149 deletions(-)

diff --git a/dev-lang/elixir/Manifest b/dev-lang/elixir/Manifest @@ -1,2 +0,0 @@ -DIST elixir-1.13.4.tar.gz 2912984 BLAKE2B 3849e7be7d1ba54ac3f96690f158b60a3b7da720e85a6c2ef38b078da795c1debaff319133eae6d5e77a7159f452b2ee6a7ad9ebbf7339391e4ee9ae8838d848 SHA512 cd3a28cd227bf60f09500563b7ad4700b2688e0361f975268d5fa81b530aee80ed4f8640335bf08a8c544a2f5d79dbf96c97f281bd3bf4582466a73a9d2edbec -DIST elixir-1.14_rc0.tar.gz 3065899 BLAKE2B 26ec12e3d8d19f7b4ef03efd7d90ddc9a0434415609831f6f14e7a487516556bac16adc48421e6236b680f9c664a555d0419f0e40ca3b010bbe054cf095df931 SHA512 2122fe57cd8b6615c9957dfada1bdca204c87547c7a6df64bffd00e9616fc1c2a7d3732efdd15f8076aa28269c132749082eb29abb651152f784131738ac5cbf diff --git a/dev-lang/elixir/elixir-1.13.4.ebuild b/dev-lang/elixir/elixir-1.13.4.ebuild @@ -1,37 +0,0 @@ -# Copyright 1999-2021 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 ~sparc ~x86" -IUSE="test" - -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-lang/erlang-22:0=[ssl] -" -# '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 -} diff --git a/dev-lang/elixir/elixir-1.14_rc0.ebuild b/dev-lang/elixir/elixir-1.14_rc0.ebuild @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Elixir programming language" -HOMEPAGE="https://elixir-lang.org" -MY_PV=1.14.0-rc.0 -SRC_URI="https://github.com/elixir-lang/elixir/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="Apache-2.0 ErlPL-1.1" -SLOT="0" -KEYWORDS="-amd64 -arm -arm64 -ia64 -ppc -sparc -x86" -IUSE="test" - -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-lang/erlang-22:0=[ssl] -" -# '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 -} diff --git a/dev-lang/elixir/files/elixir-1.10.3-epmd-daemon.patch b/dev-lang/elixir/files/elixir-1.10.3-epmd-daemon.patch @@ -1,13 +0,0 @@ -Avoid exec/SIGCHLD race in daemon fork. -Let's see if it fixes race seen in https://bugs.gentoo.org/727344 ---- a/Makefile -+++ b/Makefile -@@ -280,7 +280,7 @@ test_elixir: test_stdlib test_ex_unit test_logger test_mix test_eex test_iex - - test_stdlib: compile - @ echo "==> elixir (ex_unit)" -- $(Q) exec epmd & exit -+ $(Q) epmd -daemon - $(Q) if [ "$(OS)" = "Windows_NT" ]; then \ - cd lib/elixir && cmd //C call ../../bin/elixir.bat -r "test/elixir/test_helper.exs" -pr "test/elixir/**/$(TEST_FILES)"; \ - else \ diff --git a/dev-lang/elixir/files/elixir-1.10.3-no-Q.patch b/dev-lang/elixir/files/elixir-1.10.3-no-Q.patch @@ -1,12 +0,0 @@ -Enable verbose builds by default. ---- a/Makefile -+++ b/Makefile -@@ -8,7 +8,7 @@ ERLC := erlc -I lib/elixir/include $(ERLC_OPTS) - ERL := erl -I lib/elixir/include -noshell -pa lib/elixir/ebin - GENERATE_APP := $(CURDIR)/lib/elixir/generate_app.escript - VERSION := $(strip $(shell cat VERSION)) --Q := @ -+Q := - LIBDIR := lib - BINDIR := bin - INSTALL = install diff --git a/dev-lang/elixir/files/elixir-1.9.1-disable-network-tests.patch b/dev-lang/elixir/files/elixir-1.9.1-disable-network-tests.patch @@ -1,20 +0,0 @@ -diff --git a/lib/mix/test/mix/tasks/release_test.exs b/lib/mix/test/mix/tasks/release_test.exs -index f200c3e..9b2c75c 100644 ---- a/lib/mix/test/mix/tasks/release_test.exs -+++ b/lib/mix/test/mix/tasks/release_test.exs -@@ -268,6 +268,7 @@ defmodule Mix.Tasks.ReleaseTest do - end) - end - -+ @tag :skip - @tag :epmd - test "executes rpc instructions" do - in_fixture("release_test", fn -> -@@ -333,6 +334,7 @@ defmodule Mix.Tasks.ReleaseTest do - end) - end - -+ @tag :skip - @tag :unix - test "runs in daemon mode" do - in_fixture("release_test", fn -> diff --git a/dev-lang/elixir/metadata.xml b/dev-lang/elixir/metadata.xml @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>styx.mp@gmail.com</email> - <name>Mikhail</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <bugs-to> - https://github.com/elixir-lang/elixir/issues - </bugs-to> - <changelog> - https://github.com/elixir-lang/elixir/blob/master/CHANGELOG.md - </changelog> - <doc lang="en"> - http://elixir-lang.org/docs.html - </doc> - <remote-id type="github"> - elixir-lang/elixir - </remote-id> - </upstream> -</pkgmetadata>