Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-ruby/ruby-install/
Date: Mon, 27 Dec 2021 14:44:16
Message-Id: 1640484639.dc5b4410bff004c578587b5eaa11138de52a6c6f.flow@gentoo
1 commit: dc5b4410bff004c578587b5eaa11138de52a6c6f
2 Author: Alexey Zapparov <alexey <AT> zapparov <DOT> com>
3 AuthorDate: Sun Dec 26 02:10:39 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 26 02:10:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dc5b4410
7
8 dev-ruby/ruby-install: add v0.8.3
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com>
12
13 dev-ruby/ruby-install/Manifest | 1 +
14 dev-ruby/ruby-install/metadata.xml | 13 +++++++++++++
15 dev-ruby/ruby-install/ruby-install-0.8.3.ebuild | 26 +++++++++++++++++++++++++
16 3 files changed, 40 insertions(+)
17
18 diff --git a/dev-ruby/ruby-install/Manifest b/dev-ruby/ruby-install/Manifest
19 new file mode 100644
20 index 000000000..0a6371c85
21 --- /dev/null
22 +++ b/dev-ruby/ruby-install/Manifest
23 @@ -0,0 +1 @@
24 +DIST ruby-install-0.8.3.tar.gz 32381 BLAKE2B fd2c15333e571881d9a6be67c2b968f81bd8b2d2025972dd502df35b4ce1b2a5dbfbac29327d2dfa83b779f923342c23c30423455c202a0978581ab71291ce22 SHA512 1fdd44b709a7d2eaae4b1ebf7a08381c565d7656d52cf69b98b0e00d383b39c7776848f7acd5f5f79f1a9ad935907e230c256b7cdf46714fddd9a8cfac418c9a
25
26 diff --git a/dev-ruby/ruby-install/metadata.xml b/dev-ruby/ruby-install/metadata.xml
27 new file mode 100644
28 index 000000000..172ff1966
29 --- /dev/null
30 +++ b/dev-ruby/ruby-install/metadata.xml
31 @@ -0,0 +1,13 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>alexey@××××××××.com</email>
37 + <name>Alexey Zapparov</name>
38 + </maintainer>
39 + <upstream>
40 + <bugs-to>https://github.com/postmodern/ruby-install/issues</bugs-to>
41 + <changelog>https://github.com/postmodern/ruby-install/blob/master/ChangeLog.md</changelog>
42 + <remote-id type="github">postmodern/ruby-install</remote-id>
43 + </upstream>
44 +</pkgmetadata>
45
46 diff --git a/dev-ruby/ruby-install/ruby-install-0.8.3.ebuild b/dev-ruby/ruby-install/ruby-install-0.8.3.ebuild
47 new file mode 100644
48 index 000000000..90514191e
49 --- /dev/null
50 +++ b/dev-ruby/ruby-install/ruby-install-0.8.3.ebuild
51 @@ -0,0 +1,26 @@
52 +# Copyright 2021 Gentoo Authors
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI=8
56 +
57 +DESCRIPTION="Installs Ruby, JRuby, Rubinius, TruffleRuby (native / GraalVM), or mruby."
58 +HOMEPAGE="https://github.com/postmodern/ruby-install"
59 +SRC_URI="https://github.com/postmodern/ruby-install/archive/v${PV}.tar.gz -> ${P}.tar.gz"
60 +
61 +LICENSE="MIT"
62 +SLOT="0"
63 +KEYWORDS="~amd64 ~x86"
64 +
65 +DEPEND=">=app-shells/bash-3.0:*"
66 +RDEPEND="${DEPEND}
67 + sys-apps/grep
68 + || ( >net-misc/wget-1.12 net-misc/curl )
69 + dev-libs/openssl
70 + app-arch/tar
71 + app-arch/bzip2
72 + sys-devel/patch
73 + || ( >=sys-devel/gcc-4.2 sys-devel/clang )"
74 +
75 +src_install() {
76 + emake DESTDIR="${D}" PREFIX="/usr" install
77 +}