* [gentoo-commits] gentoo-x86 commit in dev-lang/rubinius: metadata.xml ChangeLog rubinius-1.2.4.20110705.ebuild
@ 2011-10-21 6:53 Hans de Graaff (graaff)
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2011-10-21 6:53 UTC (permalink / raw
To: gentoo-commits
graaff 11/10/21 06:53:40
Added: metadata.xml ChangeLog
rubinius-1.2.4.20110705.ebuild
Log:
Add Rubinius back as a ruby target (rbx). Fixes bug 334177, many thanks for Judson for creating and testing the initial package.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Revision Changes Path
1.3 dev-lang/rubinius/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/metadata.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/metadata.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/metadata.xml?r1=1.2&r2=1.3
1.5 dev-lang/rubinius/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/ChangeLog?r1=1.4&r2=1.5
1.1 dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild?rev=1.1&content-type=text/plain
Index: rubinius-1.2.4.20110705.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild,v 1.1 2011/10/21 06:53:40 graaff Exp $
EAPI=4
inherit eutils flag-o-matic multilib versionator
DESCRIPTION="A re-implementation of the Ruby VM designed for speed"
HOMEPAGE="http://rubini.us"
MY_PV=$(replace_version_separator 3 -)
SRC_URI="http://asset.rubini.us/${PN}-${MY_PV}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""
S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
RDEPEND="sys-libs/readline
dev-ruby/rubygems
>=sys-devel/llvm-2.8
dev-libs/openssl
sys-libs/zlib"
DEPEND="${RDEPEND}
sys-devel/bison
dev-lang/ruby:1.8
dev-ruby/rake"
pkg_setup() {
unset RUBYOPT
}
src_configure() {
#Rubinius uses a non-autoconf ./configure script which balks at econf
./configure --skip-prebuilt \
--prefix /usr/$(get_libdir) \
--mandir /usr/share/man \
|| die "Configure failed"
}
src_compile() {
rake build || die "Rake failed"
}
src_test() {
if [ $UID != 0 ] ; then
rake vm:test || die
# These currently cause a weird and uninformative "Hangup".
# RBX_RUNTIME="${S}/runtime" RBX_LIB="${S}/lib" bin/mspec ci --background --agent || die
else
ewarn "Tests will fail if run as root. Set FEATURES=userpriv if " \
"you want to run tests."
fi
}
src_install() {
local minor_version=$(get_version_component_range 1-2)
local librbx="usr/$(get_libdir)/rubinius"
einfo "install:build"
rake compiler:load install:build || die "rake install:build failed"
einfo "install:files"
FAKEROOT="${D}" rake install:files || die "rake install:files failed"
dosym /${librbx}/${minor_version}/bin/rbx /usr/bin/rbx || die "Couldn't make rbx symlink"
insinto /${librbx}/${minor_version}/site
doins "${FILESDIR}/auto_gem.rb" || die "Couldn't install rbx auto_gem.rb"
bin/rbx compile "${D}/${librbx}/${minor_version}/site/auto_gem.rb" || die "Couldn't bytecompile auto_gem.rb"
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/rubinius: metadata.xml ChangeLog rubinius-1.2.4.20110705.ebuild
@ 2012-10-20 9:21 Hans de Graaff (graaff)
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2012-10-20 9:21 UTC (permalink / raw
To: gentoo-commits
graaff 12/10/20 09:21:38
Modified: metadata.xml ChangeLog
rubinius-1.2.4.20110705.ebuild
Log:
Add a llvm USE flag to make llvm optional since it needs an old version of llvm.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Revision Changes Path
1.5 dev-lang/rubinius/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/metadata.xml?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/metadata.xml?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/metadata.xml?r1=1.4&r2=1.5
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/rubinius/metadata.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- metadata.xml 21 Oct 2011 06:54:48 -0000 1.4
+++ metadata.xml 20 Oct 2012 09:21:38 -0000 1.5
@@ -2,4 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>ruby</herd>
+ <use>
+ <flag name="llvm">
+ Build with llvm. Currently the package only builds against old versions of llvm.
+ </flag>
+ </use>
</pkgmetadata>
1.9 dev-lang/rubinius/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/ChangeLog?r1=1.8&r2=1.9
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog 23 Oct 2011 13:38:11 -0000 1.8
+++ ChangeLog 20 Oct 2012 09:21:38 -0000 1.9
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/rubinius
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.8 2011/10/23 13:38:11 graaff Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.9 2012/10/20 09:21:38 graaff Exp $
+
+ 20 Oct 2012; Hans de Graaff <graaff@gentoo.org>
+ rubinius-1.2.4.20110705.ebuild, metadata.xml:
+ Add a llvm USE flag to make llvm optional since it needs an old version of
+ llvm.
23 Oct 2011; Hans de Graaff <graaff@gentoo.org>
rubinius-1.2.4.20110705.ebuild:
1.4 dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild?r1=1.3&r2=1.4
Index: rubinius-1.2.4.20110705.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rubinius-1.2.4.20110705.ebuild 23 Oct 2011 13:38:11 -0000 1.3
+++ rubinius-1.2.4.20110705.ebuild 20 Oct 2012 09:21:38 -0000 1.4
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild,v 1.3 2011/10/23 13:38:11 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild,v 1.4 2012/10/20 09:21:38 graaff Exp $
EAPI=4
inherit eutils flag-o-matic multilib versionator
@@ -13,12 +13,12 @@
LICENSE="BSD"
KEYWORDS="~amd64"
SLOT="0"
-IUSE=""
+IUSE="+llvm"
S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
RDEPEND="sys-libs/readline
- >=sys-devel/llvm-2.8
+ llvm? ( >=sys-devel/llvm-2.8 <=sys-devel/llvm-2.9 )
dev-libs/openssl
sys-libs/zlib"
DEPEND="${RDEPEND}
@@ -35,6 +35,7 @@
./configure --skip-prebuilt \
--prefix /usr/$(get_libdir) \
--mandir /usr/share/man \
+ $(use_enable llvm) \
|| die "Configure failed"
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-20 9:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 6:53 [gentoo-commits] gentoo-x86 commit in dev-lang/rubinius: metadata.xml ChangeLog rubinius-1.2.4.20110705.ebuild Hans de Graaff (graaff)
-- strict thread matches above, loose matches on Subject: below --
2012-10-20 9:21 Hans de Graaff (graaff)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox