commit: 64475c0386ec705df7f1b7e1070b88422c8d6377
parent a50e57f5b2360bb5778b1246fbdf565ec2c48f23
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 8 Jul 2023 15:06:08 +0200
dev-util/rebar: treeclean
Diffstat:
3 files changed, 0 insertions(+), 95 deletions(-)
diff --git a/dev-util/rebar/Manifest b/dev-util/rebar/Manifest
@@ -1 +0,0 @@
-DIST rebar-3.20.0.tar.gz 785992 BLAKE2B 5c012102a3ae93e1f6c73e87a70d15e6cea155d77f5858e1ee83228b3b846750df61328f290d56de43c189da91b41586d1c3ba8eca0baa6b19b63a72d31a1e4d SHA512 5e31a1458972ccd84fbaf778e7abe150dcab7aa95beda3cf2a67e35a891cc058d6b9d7c8319ea4169b4b24f9e5e8ca0dba18fa4a7ceb509be1ec9051a2321ce9
diff --git a/dev-util/rebar/files/rebar-3.18.0-bootstrap-vendored.patch b/dev-util/rebar/files/rebar-3.18.0-bootstrap-vendored.patch
@@ -1,36 +0,0 @@
-From 4c4b0d39dba07911a707f8b8f17711900d2ee786 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Viktor=20S=C3=B6derqvist?= <viktor.soderqvist@est.tech>
-Date: Fri, 5 Nov 2021 09:46:29 +0100
-Subject: [PATCH] Make bootstrap use _checkouts
-
-This makes it possible to run the bootstrap offline by placing the deps
-in the using the already documented _checkouts directory in advance.
----
- bootstrap | 14 +++++++++++++-
- 1 file changed, 13 insertions(+), 1 deletion(-)
-
-diff --git a/bootstrap b/bootstrap
-index 9632b6c77..18cc46216 100755
---- a/bootstrap
-+++ b/bootstrap
-@@ -92,7 +92,19 @@ fetch_and_compile({Name, ErlFirstFiles}, Deps) ->
-
- compile(Name, ErlFirstFiles).
-
--fetch({pkg, Name, Vsn}, App) ->
-+fetch(Source, App) ->
-+ Dir = filename:join([filename:absname("_checkouts"), App]),
-+ case filelib:is_dir(Dir) of
-+ false ->
-+ fetch_from_hex(Source, App);
-+ true ->
-+ io:format("Using ~p from ~p~n", [App, Dir]),
-+ Dest = filename:absname("_build/default/lib"),
-+ ok = filelib:ensure_dir(filename:join([Dest, "dummy"])),
-+ cp_r([Dir], Dest)
-+ end.
-+
-+fetch_from_hex({pkg, Name, Vsn}, App) ->
- Dir = filename:join([filename:absname("_build/default/lib/"), App]),
- case filelib:is_dir(Dir) of
- false ->
diff --git a/dev-util/rebar/rebar-3.20.0.ebuild b/dev-util/rebar/rebar-3.20.0.ebuild
@@ -1,58 +0,0 @@
-# Copyright 2019-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 rebar3
-
-DESCRIPTION="Erlang build tool that makes it easy to compile and test Erlang applications and releases"
-HOMEPAGE="https://www.rebar3.org/"
-LICENSE="Apache-2.0 MIT BSD"
-SRC_URI="https://github.com/erlang/rebar3/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}3-${PV}"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-DEPEND="
- dev-lang/erlang[ssl]
- !dev-util/rebar-bin
- test? ( dev-erlang/meck )
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- rebar3_src_prepare
- sed -i 's;{deps, \[{meck, "[^"]*"}\]};{deps, []};' rebar.config || die
-}
-
-src_compile() {
- ./bootstrap || die
-}
-
-src_test() {
- ./rebar3 ct || die
-}
-
-src_install() {
- rebar3_src_install
-
- dobin rebar3
- doman manpages/rebar3.1
- dodoc rebar.config.sample
-
- newenvd - 98rebar3 <<EOF
-REBAR3_CMD=${EPREFIX}/usr/bin/rebar3
-MIX_REBAR3=${EPREFIX}/usr/bin/rebar3
-EOF
-
- dobashcomp apps/rebar/priv/shell-completion/bash/rebar3
-
- insinto /usr/share/fish/completion
- newins apps/rebar/priv/shell-completion/fish/rebar3.fish rebar3
-
- insinto /usr/share/zsh/site-functions
- doins apps/rebar/priv/shell-completion/zsh/_rebar3
-}