1 |
commit: ac3fd4653ae89b80ac473735a1bd1b839817f782 |
2 |
Author: Alexey Zapparov <alexey <AT> zapparov <DOT> com> |
3 |
AuthorDate: Mon Nov 7 18:52:20 2022 +0000 |
4 |
Commit: Alexey Zapparov <alexey <AT> zapparov <DOT> com> |
5 |
CommitDate: Mon Nov 7 18:52:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac3fd465 |
7 |
|
8 |
dev-ruby/ruby-install: add 0.8.5 |
9 |
|
10 |
Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com> |
11 |
|
12 |
dev-ruby/ruby-install/Manifest | 1 + |
13 |
dev-ruby/ruby-install/ruby-install-0.8.5.ebuild | 44 +++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-install/Manifest b/dev-ruby/ruby-install/Manifest |
17 |
index 49a69c0e8..c0e5fbb21 100644 |
18 |
--- a/dev-ruby/ruby-install/Manifest |
19 |
+++ b/dev-ruby/ruby-install/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ruby-install-0.8.3.tar.gz 32381 BLAKE2B fd2c15333e571881d9a6be67c2b968f81bd8b2d2025972dd502df35b4ce1b2a5dbfbac29327d2dfa83b779f923342c23c30423455c202a0978581ab71291ce22 SHA512 1fdd44b709a7d2eaae4b1ebf7a08381c565d7656d52cf69b98b0e00d383b39c7776848f7acd5f5f79f1a9ad935907e230c256b7cdf46714fddd9a8cfac418c9a |
22 |
DIST ruby-install-0.8.4.tar.gz 32652 BLAKE2B e863645c66cc631d17a3e5c061220fd59d0b0458613d31e8db4d35fbb0beae53ccf627620b9adb08bb0db82d51bd9a54a7eb96079fc3e6604c32d9b7dc219f3d SHA512 9d7157ab73689a7024efae104f6fd244c019c56d5e27573151818dd72f07855f9785b2ddba9c83a413ddcd92a565893373ca545c486c59b4fa408f349d4c7f48 |
23 |
+DIST ruby-install-0.8.5.tar.gz 32904 BLAKE2B 6128d489c53c02b53b96f243a7c5fd3de2a360eac8ed7873c89cfafb229e611f77f3275e66bb1aef0ccad772029f7727c0e4a62c6dc74ec1780c7badd219cc52 SHA512 4f5546652e741eb4b1b72780a73e0b41b8bd212dd979e31124b8a1a96e9bbebdcb7951da20768b992776206a446b489214f2b1261255855760e2e3477118f8d7 |
24 |
|
25 |
diff --git a/dev-ruby/ruby-install/ruby-install-0.8.5.ebuild b/dev-ruby/ruby-install/ruby-install-0.8.5.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..706d5e5d2 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/ruby-install/ruby-install-0.8.5.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 2021-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DESCRIPTION="Installs Ruby, JRuby, Rubinius, TruffleRuby (native / GraalVM), or mruby." |
37 |
+HOMEPAGE="https://github.com/postmodern/ruby-install" |
38 |
+SRC_URI="https://github.com/postmodern/ruby-install/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="MIT" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="test" |
44 |
+ |
45 |
+PROPERTIES="test_network" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+DEPEND=">=app-shells/bash-3.0:*" |
49 |
+RDEPEND="${DEPEND} |
50 |
+ sys-apps/grep |
51 |
+ || ( >net-misc/wget-1.12 net-misc/curl ) |
52 |
+ dev-libs/openssl |
53 |
+ app-arch/tar |
54 |
+ app-arch/bzip2 |
55 |
+ app-arch/xz-utils |
56 |
+ sys-devel/patch |
57 |
+ || ( >=sys-devel/gcc-4.2 sys-devel/clang )" |
58 |
+BDEPEND="test? ( dev-util/shunit2 )" |
59 |
+ |
60 |
+# XXX: `make check` seems to be broken (violates shellcheck tests) |
61 |
+src_test() { |
62 |
+ emake test |
63 |
+} |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ |
68 |
+ sed -i Makefile -e "s/^VERSION=.\+$/VERSION=${PVR}/" \ |
69 |
+ || die "Cannot fix doc location to follow Gentoo/FHS guidelines" |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ emake DESTDIR="${D}" PREFIX="/usr" install |
74 |
+} |