Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rubinius/
Date: Sat, 09 Jul 2016 15:53:21
Message-Id: 1468079368.5c7d5b61174d4574e26fbde946b3fc38fe9e911b.graaff@gentoo
1 commit: 5c7d5b61174d4574e26fbde946b3fc38fe9e911b
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 9 15:47:45 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 9 15:49:28 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c7d5b61
7
8 dev-lang/rubinius: cleanup for bug 588102
9
10 Package-Manager: portage-2.2.28
11
12 dev-lang/rubinius/Manifest | 2 -
13 dev-lang/rubinius/rubinius-2.5.3.ebuild | 86 --------------------------------
14 dev-lang/rubinius/rubinius-2.5.5.ebuild | 87 ---------------------------------
15 3 files changed, 175 deletions(-)
16
17 diff --git a/dev-lang/rubinius/Manifest b/dev-lang/rubinius/Manifest
18 index d780d9e..2803f07 100644
19 --- a/dev-lang/rubinius/Manifest
20 +++ b/dev-lang/rubinius/Manifest
21 @@ -1,3 +1 @@
22 -DIST rubinius-2.5.3.tar.bz2 11636033 SHA256 9af4d6e9d1e78a586579c86b9eb9a082cb863885d4a7cf33989d73280461e5fc SHA512 b923446d325dc3ce5ad28af9ee527607fae3259b85e85aeff97c1bebbb4520daf70616957b1c0ded900ed19e59025826dee66977c19cd2a2d4e9a0296811eb20 WHIRLPOOL 9ec26e62fde5d55153ce8f7fc8b57297fc365f94fc43d18c1a99c94823999494653e5d44ad1a27e31ae0803fc0c2d23d04fea7c7669210754236a9aa38e68b19
23 -DIST rubinius-2.5.5.tar.bz2 11659850 SHA256 217659849ca2c67322d24ce7167e760dc835f32a701ca6e558703914ca82d02f SHA512 a862146ddbbdcd4439eb64e78bfe6d09ae4cca540d19869618426d3f451544658713fe8eb7d46493785eb0cc721077e624293cc44d68eea3ef584967b43a18d7 WHIRLPOOL 82e45406f330339a3dc06ee26cb0baf39bd4ab10147ebbfbe2eaf12c72e44fe683d3eff3156af0f09feee4bc3d50334d041f497727a6ae86fd24347f75a658ae
24 DIST rubinius-3.43.tar.bz2 13013106 SHA256 2c573257518774e464036515cc7283bc934a41566599afe94612c605844481ad SHA512 80ca70f1aeea2f48e9f4bbd9dc646e0fdabf266cde879fd6acb46bcc38140a2738fddf7d63fa72c386f0411046f457af02deb1162b249c7942bdc0e4a8138023 WHIRLPOOL 63f53a69a16772cfaa560cb5c8ed21dafe5b2eae221948be56f34b4a4755f878f3f9ff5ae7d181479770c1e9ca9c9be48a521d5e9465d1dc15c0641aca803d34
25
26 diff --git a/dev-lang/rubinius/rubinius-2.5.3.ebuild b/dev-lang/rubinius/rubinius-2.5.3.ebuild
27 deleted file mode 100644
28 index 26c3836..0000000
29 --- a/dev-lang/rubinius/rubinius-2.5.3.ebuild
30 +++ /dev/null
31 @@ -1,86 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=5
37 -inherit eutils flag-o-matic multilib versionator
38 -
39 -DESCRIPTION="A re-implementation of the Ruby VM designed for speed"
40 -HOMEPAGE="http://rubini.us"
41 -SRC_URI="http://releases.rubini.us/${P}.tar.bz2"
42 -
43 -LICENSE="BSD"
44 -KEYWORDS="~amd64"
45 -SLOT="0"
46 -IUSE="+llvm"
47 -
48 -RDEPEND="
49 - llvm? ( >=sys-devel/llvm-3.2 )
50 - dev-libs/openssl:0
51 - sys-libs/ncurses
52 - sys-libs/readline:0
53 - dev-libs/libyaml
54 - virtual/libffi
55 - sys-libs/zlib
56 -"
57 -
58 -DEPEND="${RDEPEND}
59 - =dev-ruby/rake-10*
60 - dev-ruby/bundler
61 -"
62 -
63 -pkg_setup() {
64 - unset RUBYOPT
65 -}
66 -
67 -src_prepare() {
68 - # src_test will wait until all processes are reaped, so tune down
69 - # the long sleep process a bit.
70 - sed -i -e 's/sleep 1000/sleep 300/' spec/ruby/core/io/popen_spec.rb || die
71 -
72 - # Drop error CFLAGS per Gentoo policy.
73 - sed -i -e '/Werror/ s:^:#:' rakelib/blueprint.rb || die
74 -
75 - bundle --local || die
76 -}
77 -
78 -src_configure() {
79 - conf=""
80 - if ! use llvm ; then
81 - conf+="--disable-llvm "
82 - fi
83 -
84 - #Rubinius uses a non-autoconf ./configure script which balks at econf
85 - INSTALL="${EPREFIX}/usr/bin/install -c" ./configure \
86 - --prefix /usr/$(get_libdir) \
87 - --mandir /usr/share/man \
88 - --without-rpath \
89 - --with-vendor-zlib \
90 - ${conf} \
91 - || die "Configure failed"
92 -}
93 -
94 -src_compile() {
95 - RBXOPT="-Xsystem.log=/dev/null" rake build || die "Compilation failed"
96 -}
97 -
98 -src_test() {
99 - rake spec || die "Tests failed"
100 - einfo "Waiting for forked processes to die"
101 -}
102 -
103 -src_install() {
104 - # The install phase tries to determine if there are relevant
105 - addpredict /usr/local/lib64/ruby
106 -
107 - local minor_version=$(get_version_component_range 1-2)
108 - local librbx="usr/$(get_libdir)/rubinius"
109 -
110 - RBXOPT="-Xsystem.log=/dev/null" DESTDIR="${D}" rake install || die "Installation failed"
111 -
112 - dosym /${librbx}/bin/rbx /usr/bin/rbx || die "Couldn't make rbx symlink"
113 -
114 - insinto /${librbx}/${minor_version}/site
115 - doins "${FILESDIR}/auto_gem.rb" || die "Couldn't install rbx auto_gem.rb"
116 - RBXOPT="-Xsystem.log=/dev/null" RBX_RUNTIME="${S}/runtime" RBX_LIB="${S}/lib" bin/rbx compile "${D}/${librbx}/${minor_version}/site/auto_gem.rb" || die "Couldn't bytecompile auto_gem.rb"
117 -}
118
119 diff --git a/dev-lang/rubinius/rubinius-2.5.5.ebuild b/dev-lang/rubinius/rubinius-2.5.5.ebuild
120 deleted file mode 100644
121 index 7ec166a..0000000
122 --- a/dev-lang/rubinius/rubinius-2.5.5.ebuild
123 +++ /dev/null
124 @@ -1,87 +0,0 @@
125 -# Copyright 1999-2015 Gentoo Foundation
126 -# Distributed under the terms of the GNU General Public License v2
127 -# $Id$
128 -
129 -EAPI=5
130 -inherit eutils flag-o-matic multilib versionator
131 -
132 -DESCRIPTION="A re-implementation of the Ruby VM designed for speed"
133 -HOMEPAGE="http://rubini.us"
134 -SRC_URI="http://releases.rubini.us/${P}.tar.bz2"
135 -
136 -LICENSE="BSD"
137 -KEYWORDS="~amd64"
138 -SLOT="0"
139 -IUSE="+llvm"
140 -
141 -RDEPEND="
142 - llvm? ( <sys-devel/llvm-3.6
143 - >=sys-devel/llvm-3.2 )
144 - dev-libs/openssl:0
145 - sys-libs/ncurses
146 - sys-libs/readline:0
147 - dev-libs/libyaml
148 - virtual/libffi
149 - sys-libs/zlib
150 -"
151 -
152 -DEPEND="${RDEPEND}
153 - =dev-ruby/rake-10*
154 - dev-ruby/bundler
155 -"
156 -
157 -pkg_setup() {
158 - unset RUBYOPT
159 -}
160 -
161 -src_prepare() {
162 - # src_test will wait until all processes are reaped, so tune down
163 - # the long sleep process a bit.
164 - sed -i -e 's/sleep 1000/sleep 300/' spec/ruby/core/io/popen_spec.rb || die
165 -
166 - # Drop error CFLAGS per Gentoo policy.
167 - sed -i -e '/Werror/ s:^:#:' rakelib/blueprint.rb || die
168 -
169 - bundle --local || die
170 -}
171 -
172 -src_configure() {
173 - conf=""
174 - if ! use llvm ; then
175 - conf+="--disable-llvm "
176 - fi
177 -
178 - #Rubinius uses a non-autoconf ./configure script which balks at econf
179 - INSTALL="${EPREFIX}/usr/bin/install -c" ./configure \
180 - --prefix /usr/$(get_libdir) \
181 - --mandir /usr/share/man \
182 - --without-rpath \
183 - --with-vendor-zlib \
184 - ${conf} \
185 - || die "Configure failed"
186 -}
187 -
188 -src_compile() {
189 - RBXOPT="-Xsystem.log=/dev/null" rake build || die "Compilation failed"
190 -}
191 -
192 -src_test() {
193 - rake spec || die "Tests failed"
194 - einfo "Waiting for forked processes to die"
195 -}
196 -
197 -src_install() {
198 - # The install phase tries to determine if there are relevant
199 - addpredict /usr/local/lib64/ruby
200 -
201 - local minor_version=$(get_version_component_range 1-2)
202 - local librbx="usr/$(get_libdir)/rubinius"
203 -
204 - RBXOPT="-Xsystem.log=/dev/null" DESTDIR="${D}" rake install || die "Installation failed"
205 -
206 - dosym /${librbx}/bin/rbx /usr/bin/rbx || die "Couldn't make rbx symlink"
207 -
208 - insinto /${librbx}/${minor_version}/site
209 - doins "${FILESDIR}/auto_gem.rb" || die "Couldn't install rbx auto_gem.rb"
210 - RBXOPT="-Xsystem.log=/dev/null" RBX_RUNTIME="${S}/runtime" RBX_LIB="${S}/lib" bin/rbx compile "${D}/${librbx}/${minor_version}/site/auto_gem.rb" || die "Couldn't bytecompile auto_gem.rb"
211 -}