From: "Amadeusz Piotr Żołnowski" <aidecoe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rebar-bin/
Date: Wed, 24 Oct 2018 22:27:29 +0000 (UTC) [thread overview]
Message-ID: <1540420019.1efa3958413cda09142e12371e54032a9c442e17.aidecoe@gentoo> (raw)
commit: 1efa3958413cda09142e12371e54032a9c442e17
Author: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 22:23:19 2018 +0000
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 22:26:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1efa3958
dev-lang/rebar-bin: Add new package
Fetch and install prebuilt binary as it's way easier than building this
from source.
Bug: https://bugs.gentoo.org/628876
Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo.org>
dev-util/rebar-bin/Manifest | 1 +
dev-util/rebar-bin/metadata.xml | 28 ++++++++++++++++++++++++++++
dev-util/rebar-bin/rebar-bin-3.6.2.ebuild | 31 +++++++++++++++++++++++++++++++
3 files changed, 60 insertions(+)
diff --git a/dev-util/rebar-bin/Manifest b/dev-util/rebar-bin/Manifest
new file mode 100644
index 00000000000..da758047790
--- /dev/null
+++ b/dev-util/rebar-bin/Manifest
@@ -0,0 +1 @@
+DIST rebar3 694889 BLAKE2B 3a8f5562a0c984caf5d7b3ba1063a90bf110a60cea316eaf88f5199b890e186f85193dc0302b36dc31051d3552912c8d1582f563f989df97ee28364a3f47512a SHA512 8fb5c7737d70fc7a706b1e124ab660550e8637da9258338016ab2e260f1c6d662548ef723705cd18210050d052e79945578623d9e9892e08dbfdb9cb04fd89fb
diff --git a/dev-util/rebar-bin/metadata.xml b/dev-util/rebar-bin/metadata.xml
new file mode 100644
index 00000000000..56b1d345d11
--- /dev/null
+++ b/dev-util/rebar-bin/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+ </maintainer>
+ <longdescription lang="en">
+ Rebar3 is an Erlang tool that makes it easy to create, develop, and
+ release Erlang libraries, applications, and systems in a repeatable
+ manner.
+
+ Rebar3 will:
+
+ - respect and enforce standard Erlang/OTP conventions for project
+ structure so they are easily reusable by the community;
+ - manage source dependencies and Erlang packages while ensuring
+ repeatable builds;
+ - handle build artifacts, paths, and libraries such that standard
+ development tools can be used without a headache;
+ - adapt to projects of all sizes on almost any platform;
+ - treat documentation as a feature, and errors or lack of documentation
+ as a bug.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">erlang/rebar3</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/rebar-bin/rebar-bin-3.6.2.ebuild b/dev-util/rebar-bin/rebar-bin-3.6.2.ebuild
new file mode 100644
index 00000000000..9835d50cdf2
--- /dev/null
+++ b/dev-util/rebar-bin/rebar-bin-3.6.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN=${P#-bin}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="A sophisticated build-tool for Erlang projects that follows OTP principles"
+HOMEPAGE="https://github.com/erlang/rebar3"
+
+SRC_URI="https://github.com/erlang/rebar3/releases/download/${PV}/rebar3"
+
+LICENSE="Apache-2.0"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-lang/erlang"
+DEPEND=""
+
+S="${WORKDIR}"
+
+QA_PREBUILT="/usr/bin/rebar3"
+
+src_unpack() {
+ cp -v "${DISTDIR}/${A}" "${S}/" || die
+}
+
+src_install() {
+ dobin rebar3
+}
next reply other threads:[~2018-10-24 22:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-24 22:27 Amadeusz Piotr Żołnowski [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-20 9:01 [gentoo-commits] repo/gentoo:master commit in: dev-util/rebar-bin/ Joonas Niilola
2021-03-19 8:52 Joonas Niilola
2021-03-19 8:52 Joonas Niilola
2021-03-19 8:52 Joonas Niilola
2021-03-19 8:52 Joonas Niilola
2021-04-29 7:15 Joonas Niilola
2021-04-29 7:15 Joonas Niilola
2021-05-25 11:12 Joonas Niilola
2021-05-25 11:12 Joonas Niilola
2021-09-16 20:23 Ionen Wolkens
2021-10-17 19:09 Sam James
2022-01-02 14:25 Florian Schmaus
2022-01-21 7:08 Joonas Niilola
2022-02-08 10:46 Jakov Smolić
2022-02-12 21:32 Matthew Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1540420019.1efa3958413cda09142e12371e54032a9c442e17.aidecoe@gentoo \
--to=aidecoe@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox