From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1519540-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D12E15806E for <garchives@archives.gentoo.org>; Thu, 18 May 2023 17:06:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4663E07E6; Thu, 18 May 2023 17:06:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5156E07E6 for <gentoo-commits@lists.gentoo.org>; Thu, 18 May 2023 17:06:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 968E1335D3C for <gentoo-commits@lists.gentoo.org>; Thu, 18 May 2023 17:06:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAF5CA3F for <gentoo-commits@lists.gentoo.org>; Thu, 18 May 2023 17:06:45 +0000 (UTC) From: "Matthew Smith" <matthew@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" <matthew@gentoo.org> Message-ID: <1684429595.d7fa1251ffcecdb2182e22dfe4e90ae811d07b4e.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rebar/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rebar/Manifest dev-util/rebar/rebar-3.21.0.ebuild X-VCS-Directories: dev-util/rebar/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: d7fa1251ffcecdb2182e22dfe4e90ae811d07b4e X-VCS-Branch: master Date: Thu, 18 May 2023 17:06:45 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 604e49e2-021d-42dc-a184-0fb3b5173c61 X-Archives-Hash: 239cc3a07bf106354d557c20ae59e640 commit: d7fa1251ffcecdb2182e22dfe4e90ae811d07b4e Author: Matthew Smith <matthew <AT> gentoo <DOT> org> AuthorDate: Thu May 18 17:06:35 2023 +0000 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> CommitDate: Thu May 18 17:06:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7fa1251 dev-util/rebar: add 3.21.0 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> dev-util/rebar/Manifest | 1 + dev-util/rebar/rebar-3.21.0.ebuild | 67 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-util/rebar/Manifest b/dev-util/rebar/Manifest index c783e5cf6348..27a48a924cd3 100644 --- a/dev-util/rebar/Manifest +++ b/dev-util/rebar/Manifest @@ -10,5 +10,6 @@ DIST providers-1.9.0.tar 14848 BLAKE2B a50e97faee63bb62335005e61e63de0a1b9ebf467 DIST rebar-2.6.4.tar.gz 213158 BLAKE2B a71c525948697f9ba44a7faa9183f1aadce031b8b85857da87c5b2376f3b7511c78d02c183b115836605a6d3830e9b9ceac754ab64ec11d9d1bb66f37ea78665 SHA512 4e53d1ab7db296c60fb039443da7e3b31b63410fc614690c6faa7ec330d9e9393dbc1c8507aa4aea2c99397e1b443ff9d25e4d57ec57f616ee748aa97d055ffa DIST rebar-3.19.0.tar.gz 442286 BLAKE2B 834bd25fb301a3362ba281638ae5680c1d7315971e85ba1b90cd3f0452ad1d1f6064c0d197d960c1a88af539ddda955bbef6747d71c1c69103af2938a9b28a04 SHA512 43928e2b96ca9361af2ec0b6ceb82f4429e29990054e1cbe2f1d4e293748243d16a8d2b809200ce443408a82fd3227b2cfe02efc14941d1cdd3d3c9a689fa0ea DIST rebar-3.20.0.tar.gz 785992 BLAKE2B 5c012102a3ae93e1f6c73e87a70d15e6cea155d77f5858e1ee83228b3b846750df61328f290d56de43c189da91b41586d1c3ba8eca0baa6b19b63a72d31a1e4d SHA512 5e31a1458972ccd84fbaf778e7abe150dcab7aa95beda3cf2a67e35a891cc058d6b9d7c8319ea4169b4b24f9e5e8ca0dba18fa4a7ceb509be1ec9051a2321ce9 +DIST rebar-3.21.0.tar.gz 795317 BLAKE2B 7ba49e6e62a3e5fa7d19a20cc1f8792355d9935ff6ecb74667a925fc68940ace8088b499bb83faebe5cd08e289d8b9f40caeb874db5c8e046dea889246ad8186 SHA512 0257f4ee615be78bd6451b5ae0eca5da70a699344a7083bb24eb9d85a6469c1efc421640c0016bc1637bae097ed65be28493b9260055ce4b4142eaee247a8516 DIST relx-4.7.0.tar 76288 BLAKE2B 99af942824344a617dc19b771d5db697fd8d8a19776a670da96c62852df75c9d68236bffee05ce84390f63cef34ee305fffc864bb2a5a4c2acfd02cef2122c27 SHA512 cd7bc3535d012f8e2bf98cf9a68c03425903c137557c18599a27d80722471353623e616787fed791760c0ec6ec51379e060a57777521be33ef84b37b3693f9c3 DIST ssl_verify_fun-1.1.6.tar 14848 BLAKE2B 31f8a92881803b1b93e2f65cf070449cd53af21b50f6aae7a9d036e28c17b2c093b2cb6238279191663ba011aab7fd604af8366ed8ae91b7b1d7c333f9de9ea8 SHA512 65980368629357ec16b37fd8ea1d42f7dbd7fa86318b329bec756e868b70eb4c93cf1bfe3dd34e1b6c011086ba32e11981d61e18fdad78564b77664e4d155a47 diff --git a/dev-util/rebar/rebar-3.21.0.ebuild b/dev-util/rebar/rebar-3.21.0.ebuild new file mode 100644 index 000000000000..71d819de495b --- /dev/null +++ b/dev-util/rebar/rebar-3.21.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=${PN}3 +MECK_PV=0.8.13 # see rebar.config + +inherit bash-completion-r1 + +DESCRIPTION="A sophisticated build-tool for Erlang projects that follows OTP principles" +HOMEPAGE="https://www.rebar3.org https://github.com/erlang/rebar3" +SRC_URI=" + https://github.com/erlang/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + test? ( https://repo.hex.pm/tarballs/meck-${MECK_PV}.tar ) +" +S="${WORKDIR}"/${MY_PN}-${PV} + +LICENSE="Apache-2.0 MIT BSD" +SLOT="3" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/erlang[ssl] + !dev-util/rebar-bin +" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${P}.tar.gz + + if use test; then + mkdir "${S}"/vendor/meck || die + tar -O -xf "${DISTDIR}"/meck-${MECK_PV}.tar contents.tar.gz | + tar -xzf - -C "${S}"/vendor/meck + assert + fi +} + +src_compile() { + ./bootstrap || die +} + +src_test() { + ./rebar3 ct || die +} + +src_install() { + dobashcomp apps/rebar/priv/shell-completion/bash/${MY_PN} + dobin ${MY_PN} + dodoc rebar.config.sample + doman manpages/${MY_PN}.1 + + # MIX_REBAR3: Used by elixir + newenvd - 98rebar3 <<-EOF + MIX_REBAR3=${EPREFIX}/usr/bin/${MY_PN} +EOF + + insinto /usr/share/fish/completion + newins apps/rebar/priv/shell-completion/fish/${MY_PN}.fish ${MY_PN} + + insinto /usr/share/zsh/site-functions + doins apps/rebar/priv/shell-completion/zsh/_${MY_PN} +}