diff options
author | Judson Lester(Judson) <nyarly@gmail.com> | 2011-02-22 22:00:00 +0000 |
---|---|---|
committer | Judson Lester(Judson) <nyarly@gmail.com> | 2011-02-22 22:00:00 +0000 |
commit | 0bd3e6466e508861e60e41c9494938ca605f2b44 (patch) | |
tree | 976be30e33ef9394e9387c88b56ba62b68ed7107 | |
parent | dev-python/python-debian: New ebuild for bug 356129 (diff) | |
download | sunrise-0bd3e6466e508861e60e41c9494938ca605f2b44.tar.gz sunrise-0bd3e6466e508861e60e41c9494938ca605f2b44.tar.bz2 sunrise-0bd3e6466e508861e60e41c9494938ca605f2b44.zip |
dev-lang/rubinius: New Ebuild for bug 334177 - thanks to Tommy[D], bapa, binki
svn path=/sunrise/; revision=11789
-rw-r--r-- | dev-lang/rubinius/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/rubinius/Manifest | 9 | ||||
-rw-r--r-- | dev-lang/rubinius/files/auto_gem.rb | 7 | ||||
-rw-r--r-- | dev-lang/rubinius/files/gcc-stdc-defines.patch | 11 | ||||
-rw-r--r-- | dev-lang/rubinius/files/no_specs.patch | 10 | ||||
-rw-r--r-- | dev-lang/rubinius/files/rubyopts_unset.patch | 22 | ||||
-rw-r--r-- | dev-lang/rubinius/index.html | 298 | ||||
-rw-r--r-- | dev-lang/rubinius/metadata.xml | 17 | ||||
-rw-r--r-- | dev-lang/rubinius/rubinius-1.2.0.ebuild | 54 |
9 files changed, 438 insertions, 0 deletions
diff --git a/dev-lang/rubinius/ChangeLog b/dev-lang/rubinius/ChangeLog new file mode 100644 index 000000000..3927c4ebf --- /dev/null +++ b/dev-lang/rubinius/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lang/rubinius +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 22 Feb 2011; Judson Lester(Judson) <nyarly@gmail.com> + +rubinius-1.2.0.ebuild, +files/auto_gem.rb, +files/gcc-stdc-defines.patch, + +files/no_specs.patch, +files/rubyopts_unset.patch, +index.html, + +metadata.xml: + New Ebuild for bug 334177 - thanks to Tommy[D], bapa, binki + diff --git a/dev-lang/rubinius/Manifest b/dev-lang/rubinius/Manifest new file mode 100644 index 000000000..2d03be665 --- /dev/null +++ b/dev-lang/rubinius/Manifest @@ -0,0 +1,9 @@ +AUX auto_gem.rb 159 RMD160 fbf261e5cf0a8450c51c33a7ad4dafbab21bd518 SHA1 8dde3d73f65998f4c5552924ad49e1441e1b211d SHA256 fe1efe24cd0ba36c55449e9623cd0be394980f37d12468624dad7ffdef72f4dc +AUX gcc-stdc-defines.patch 513 RMD160 51c73f6e0e35582bdf531738514fbc3ac4d3b5e4 SHA1 488924790417366d7029e3ee50601323dfede8c9 SHA256 b2cb2a55fb6e91b1f9d9b4c97a995089f11f6d03d61775d2b871ce14cc3a7dfe +AUX no_specs.patch 301 RMD160 2044fb9b7d53afa5dacc04eafd67694fb70ec67b SHA1 84bf6765ab091af9ef002f6c1a63ef0904136114 SHA256 c1f40f9ba1e2615e05c4052d2fe944296f4b0f2829fa37b96c903ccf46676a3b +AUX rubyopts_unset.patch 654 RMD160 727572d8dc15a3d4747b3818d0a9d4276cc799e8 SHA1 db40c903907002b72828978ab94d94caa9d8f341 SHA256 b2257ce112806b97fe3423b0200d93aa3f6d185687d70eabe010bd7ccd2caba5 +DIST rubinius-1.2.0.tar.gz 8585180 RMD160 745af67c4274659dc025af7087dc658905630a7f SHA1 17537b2ad3c3db5a98e9da69a96f8ede41853019 SHA256 87435dfccd7d7d359545fe1ecd15e1202eded90a5a43d9a961001e2b23bb6b47 +EBUILD rubinius-1.2.0.ebuild 1451 RMD160 f10f724c2b15b9dc6a730f1dd62559d3369bd28b SHA1 6985c089f0d50fc776a461b2c064d22c5f3ab453 SHA256 606eb5ffa8aefa014c22258e30d119c1fc2defa3dee3dab9aa557998405e6e37 +MISC ChangeLog 398 RMD160 e5e117cb6faed0ab78094a7aef1ddee879615a6b SHA1 585679ba9db6b82b171f7182c59274e0d8ece93a SHA256 b408b6db9db5c9d399cabfa84843f83ab964f96d6e7f9f28b84eb5e2c42ce3d3 +MISC index.html 10161 RMD160 7da84d40b955165f102dd55885f7f114ffc6c810 SHA1 b177ffdc588f9c1c026edc390a730f4748412d01 SHA256 2383caf0cdb4262f8e976510d7af84740dbc76e961014982c341ec127807ca1c +MISC metadata.xml 549 RMD160 4eaf4c02083b9bbb3c30800b52c1695552747186 SHA1 595aae8997bcfb93ea9f5508b386ddabccb21133 SHA256 db6a27af23663a551e285714cdfcca65455eedb4e14995401961deacc1f8fb6e diff --git a/dev-lang/rubinius/files/auto_gem.rb b/dev-lang/rubinius/files/auto_gem.rb new file mode 100644 index 000000000..5c4f540a9 --- /dev/null +++ b/dev-lang/rubinius/files/auto_gem.rb @@ -0,0 +1,7 @@ +# This file is installed by Gentoo's rubygems package. +# It's intended to help automate the loading of rubygems + +begin +require 'rubygems' +rescue LoadError +end diff --git a/dev-lang/rubinius/files/gcc-stdc-defines.patch b/dev-lang/rubinius/files/gcc-stdc-defines.patch new file mode 100644 index 000000000..29d2168f5 --- /dev/null +++ b/dev-lang/rubinius/files/gcc-stdc-defines.patch @@ -0,0 +1,11 @@ +--- orig-work/evanphx-rubinius-aee1b9b/config.rb 2010-09-28 22:30:51.000000000 -0700 ++++ new-work/evanphx-rubinius-aee1b9b/config.rb 2010-09-28 23:13:18.000000000 -0700 +@@ -5,7 +5,7 @@ + :llvm => :no, + :llvm_configure => "", + :compiler => "gcc", +- :defines => ["HAS_EXECINFO"], ++ :defines => ["HAS_EXECINFO", "__STDC_LIMIT_MACROS", "__STDC_CONSTANT_MACROS"], + :host => "i686-pc-linux-gnu", + :cpu => "i686", + :vendor => "pc", diff --git a/dev-lang/rubinius/files/no_specs.patch b/dev-lang/rubinius/files/no_specs.patch new file mode 100644 index 000000000..1bd912f1b --- /dev/null +++ b/dev-lang/rubinius/files/no_specs.patch @@ -0,0 +1,10 @@ +diff -u -r old-work/Rakefile work/Rakefile +--- old-work/Rakefile 2010-06-10 11:39:56.000000000 -0700 ++++ work/Rakefile 2010-06-10 12:25:16.000000000 -0700 +@@ -38,7 +38,7 @@ + ENV["CFLAGS"] = "-Ivm/capi" + end + +- sh "RUBYOPT='' bin/mspec ci --background" ++ puts "Tests should go here" + end diff --git a/dev-lang/rubinius/files/rubyopts_unset.patch b/dev-lang/rubinius/files/rubyopts_unset.patch new file mode 100644 index 000000000..537fd07db --- /dev/null +++ b/dev-lang/rubinius/files/rubyopts_unset.patch @@ -0,0 +1,22 @@ +diff -u -r work/Rakefile old-work/Rakefile +--- work/Rakefile 2010-05-14 10:21:35.000000000 -0700 ++++ old-work/Rakefile 2010-06-10 11:39:56.000000000 -0700 +@@ -38,7 +38,7 @@ + ENV["CFLAGS"] = "-Ivm/capi" + end + +- sh "bin/mspec ci --background" ++ sh "RUBYOPT='' bin/mspec ci --background" + end + + # See vm.rake for more information +diff -u -r work/bin/rbx-build old-work/bin/rbx-build +--- work/bin/rbx-build 2010-05-14 10:21:35.000000000 -0700 ++++ old-work/bin/rbx-build 2010-06-10 11:37:12.000000000 -0700 +@@ -7,4 +7,6 @@ + export RBX_LIB="$BASE_DIR/lib" + export RBX_CAPI_DIR="$BASE_DIR/vm/capi" + ++unset RUBYOPT ++ + exec $BIN_DIR/../vm/vm "$*" diff --git a/dev-lang/rubinius/index.html b/dev-lang/rubinius/index.html new file mode 100644 index 000000000..c980d9f0f --- /dev/null +++ b/dev-lang/rubinius/index.html @@ -0,0 +1,298 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'> +<head> +<meta content='text/html;charset=UTF-8' http-equiv='content-type' /> +<title>Caltech Alumni Association</title> +<link href="/stylesheets/universal.css?1297718363" media="all" rel="stylesheet" type="text/css" /> +<link href="/stylesheets/screen.css?1297718363" media="screen, projection" rel="stylesheet" type="text/css" /> +<link href="/stylesheets/print.css?1297718243" media="print" rel="stylesheet" type="text/css" /> +<link href="/stylesheets/redbox.css?1297718363" media="screen" rel="stylesheet" type="text/css" /> +<link href="/stylesheets/homepage.css?1297718362" media="screen, projection" rel="stylesheet" type="text/css" /> + +<!--[if IE 7]> +<link href="/stylesheets/ie7.css?1297718362" media="screen" rel="stylesheet" type="text/css" /> +<![endif]--> + +<script src="/javascripts/all.js?1297718243" type="text/javascript"></script> +<script src="/javascripts/calendar_date_select/calendar_date_select.js?1297718243" type="text/javascript"></script> +<link href="/stylesheets/calendar_date_select/blue.css?1297718243" media="screen" rel="stylesheet" type="text/css" /> + + +</head> +<body> + + +<div id='banner'> +<h1>California Institute of Technology</h1> +</div> + + +<div id='wrap'> +<div id='header'> +<a href='http://staging.alumni.caltech.edu/'> +<h1>Caltech Alumni Association</h1> +</a> +<div id='top_nav'> +<div id='top_nav_default'> +<div> +<div class='inner'> +<div class='help'> +<a href="/help">Help</a> +</div> +<a href="#" onclick="show_login_form(); return false;">LOGIN</a> + • +<a href="/signup">SIGN UP</a> +<div id='top_nav_login' style='display: none;'> +<div> +<form action="/user_session" class="new_user_session" id="new_user_session" method="post"><div style="margin:0;padding:0;display:inline"><input name="authenticity_token" type="hidden" value="FD9FZvoprjXvaxOsshKrEIQoC/GGllm+gZL2oS+tGo0=" /></div> +<div class='form_float'> +<label for="user_session_login">Login</label> +<br /> +<input id="user_session_login" name="user_session[login]" size="30" type="text" /> +</div> +<div class='form_float'> +<label for="user_session_password">Password</label> +<br /> +<input id="user_session_password" name="user_session[password]" size="30" type="password" /> +</div> +<div class='form_float'> +<br /> +<input id="user_session_submit" name="commit" type="submit" value="Go" /> +</div> +<div class='clearing'></div> +</form> +</div> +<div class='clearing'></div> +</div> +</div> +</div> +</div> +</div> + +<div id='nav'> +<ul> +<li> +<a href="/connect">Connect</a> +<ul> +<li><a href="/directory_searches/new">Directory</a></li> +<li><a href="/forums">Forums</a></li> +<li><a href="/event_calendar">Event Calendar</a></li> +<li><a href="/social_networking">Social Networking</a></li> +<li><a href="/volunteer">Volunteer</a></li> +<li><a href="/more_connect">More</a></li> +</ul> +</li> +<li> +<a href="/events_news">Events & News</a> +<ul> +<li><a href="/event_calendar">Event Calendar</a></li> +<li><a href="/news">News Items</a></li> +<li><a href="/alumni_in_news">Alumni in the News</a></li> +<li><a href="/reunions">Reunions</a></li> +<li><a href="/campus">@Caltech</a></li> +<li><a href="/more_news">More</a></li> +</ul> +</li> +<li> +<a href="/careers">Careers</a> +<ul> +<li><a href="/jobs">Jobs Connection</a></li> +<li><a href="/career_counseling">Career Counseling</a></li> +<li><a href="/networking">Networking</a></li> +<li><a href="/more_careers">More</a></li> +</ul> +</li> +<li> +<a href="/careers">Learn</a> +<ul> +<li><a href="/online">Online Video/Audio</a></li> +<li><a href="/travel">Travel</a></li> +<li><a href="/seminar_day">Seminar Day</a></li> +<li><a href="/alumni_college">Alumni College</a></li> +<li><a href="/deepdyve">DeepDyve</a></li> +<li><a href="/more_learn">More</a></li> +</ul> +</li> +<li> +<a href="/about">About Us</a> +<ul> +<li><a href="/history">Mission & History</a></li> +<li><a href="/staff">Staff</a></li> +<li><a href="/board">Board</a></li> +<li><a href="/facilities">Facilities</a></li> +<li><a href="/membership">Membership</a></li> +<li><a href="/more_about">More</a></li> +</ul> +</li> +<li> +<a href="/more">More</a> +<ul> +<li><a href="/email_web">Email Services</a></li> +<li><a href="/students">For Students</a></li> +<li><a href="/giving">Make a Gift</a></li> +<li><a href="/sitemap">Site Map</a></li> +<li><a href="/faq">FAQ</a></li> +<li><a href="/more_more">Even More</a></li> +</ul> +<div class='nav_spacer'></div> +</li> +</ul> +</div> + +</div> + +<div id='content-wrap'> +<div class='widecolumn' id='main'> +<div id='content'> + + +<div id='solve'> +<a href='/problem_set'> +<img alt="Problem_set" src="/images/problem_set/problem_set.png?1297718243" /> +</a> +</div> + +<div class='page_block widecolumn with_title' id='spotlight'> +<div class='block_title'> +<h2>CALTECH ALUMNI ASSOCIATION SPOTLIGHT</h2> +<div class='extratitle'><a href="/news">More News</a> | <a href="/event_calendar">Upcoming Events</a></div> +</div> +<div class='block_content'> +<div class='block_inner'> +<table> +<tr class='photos'> +<td class=''><img alt="Imagedisplay" src="/system/datas/196/spotlight/imageDisplay.jpeg?1286478447" /></td> +<td class=''><img alt="News_photo_5822" src="/system/datas/179/spotlight/news_photo_5822.jpg?1286060013" /></td> +<td class='last'><img alt="Careersnextexit" src="/system/datas/201/spotlight/careersnextexit.jpg?1287788945" /></td> +</tr> +<tr class='headlines'> +<td><a href="/articles/192"><h3>DeepDyve - Online Journal Access</h3></a></td> +<td><a href="/articles/178"><h3>Alumni Examine Financial Crisis December 14 in Palo Alto</h3></a></td> +<td><a href="/articles/191"><h3>Alumni Career Exploration</h3></a></td> +</tr> +<tr class='content'> +<td><p><p>DeepDyve is a new online rental service that provides access to more than 30 million scientific, technical and medical articles from thousands of online journals. Through a special agreement, dues-paying members of the Caltech Alumni Association have access to...</p></p></td> +<td><p><p>An informative panel discussion with alumni entrepreneurs and venture capitalists will explore the financial crisis's impact on technology entrepreneurship in Silicon Valley. RSVP by December 7. <a href="http://alumni.caltech.edu/events/event_detail?event_id=8661">Read more and register >></a></p></p></td> +<td><p><p>The Caltech Alumni Association is pleased to offer complimentary individualized and confidential career counseling services. Through a partnership with the Pasadena-based firm Career Journeys, four 60-minute individual career counseling sessions plus assessment are available to Caltech Alumni Association members on a first-come, first-served ...</p></td> +</tr> +</table> + +</div> +</div> +<div class='block_bottom'> +<img alt="" class="fade" src="/images/blocks/box_bottom_white_fade.png?1297718243" /> +</div> +</div> +<div class='page_block narrowcolumn with_title' id='twitter'> +<div class='block_title'> +<h2>TWITTER UPDATES</h2> +<div class='extratitle'><a href="//twitter.com/caltechalumni" id="twitter-link">Follow</a> | <a href="#">More Tweets</a></div> +</div> +<div class='block_content'> +<div class='block_inner'> + + + <ul id="twitter_update_list"> + <li style="display: none;"></li> + </ul> + <div class="clearing"></div> + <script type="text/javascript"> + document.observe("dom:loaded", function() { + run_external_js('//twitter.com/javascripts/blogger.js'); + run_external_js('//twitter.com/statuses/user_timeline/caltechalumni.json?callback=twitterCallback2&count=1'); + }) + </script> + + +</div> +</div> +<div class='block_bottom'> +<img alt="" class="fade" src="/images/blocks/box_bottom_white_fade.png?1297718243" /> +</div> +</div> + +<div class='clearfix' id='connect_join'> +<div id='connect'> +<h2>STAY CONNECTED</h2> +<div class='links'> +<a href="http://twitter.com/caltechalumni" class="logo_link"><img alt="twitter" src="/images/logo_links/twitter.png?1297718243" /></a> +<a href="http://www.facebook.com/group.php?gid=19637771840" class="logo_link"><img alt="facebook" src="/images/logo_links/facebook.png?1297718243" /></a> +<a href="http://www.linkedin.com/groups?gid=1156" class="logo_link"><img alt="linkedin" src="/images/logo_links/linkedin.png?1297718243" /></a> +<a href="http://www.flickr.com/photos/caltechalumni/" class="logo_link"><img alt="somebody" src="/images/logo_links/flickr.png?1297718243" /></a> +</div> +</div> +<div id='join'> +<a href="/join"><img alt="Join the Caltech Alumni Association" src="/images/blocks/join_caa_box.png?1297718243" /></a> +</div> +</div> + + + +</div> +</div> +<div class='clearfix' id='aux'> +<div class='page_block narrowcolumn with_title' id='searchbox'> +<div class='block_title'> +<h2>SEARCH OUR WEBSITE</h2> +</div> +<div class='block_content'> +<div class='block_inner'> +<div id='search_container'> +<form action="/search" method="get"> +<input class="search_box" id="q" name="q" type="text" /> +<input class="search_button" src="/images/go_button.png?1297718243" type="image" /> +</form> +</div> +<h3>Frequent Search Terms</h3> +<div id='tag_cloud'> +<a href="/search?q=capitalists" class="tag4">capitalists</a> +<a href="/search?q=travel" class="tag2">travel</a> +</div> + + +</div> +</div> +<div class='block_bottom'> +<img alt="" class="fade" src="/images/blocks/box_bottom_white_fade.png?1297718243" /> +</div> +</div> + +<div class='page_block narrowcolumn with_title' id='tag_cloud'> +<div class='block_title'> +<h2>TAG CLOUD</h2> +</div> +<div class='block_content'> +<div class='block_inner'> +<div id='tag_cloud'> +<a href="/tag/alumni" class="tag4">alumni</a> +<a href="/tag/career" class="tag4">career</a> +</div> + + +</div> +</div> +<div class='block_bottom'> +<img alt="" class="fade" src="/images/blocks/box_bottom_white_fade.png?1297718243" /> +</div> +</div> + +<div id='calendar_box'> +<a href="/event_calendar" id="calendar_link"> </a> +<h2>EVENT CALENDAR</h2> +<p>Browse current and upcoming events!</p> +</div> + + + +</div> +</div> +<div style='clear: both;'></div> +<div id='footer'> +<p>Caltech Alumni Association • 345 S. Hill Ave., Pasadena, CA 91125 • 626 395 6592</p> +</div> +<div style='clear: both;'></div> +<!-- inside #wrap but outside #main --> + +</div> +</body> +</html> diff --git a/dev-lang/rubinius/metadata.xml b/dev-lang/rubinius/metadata.xml new file mode 100644 index 000000000..0b65f9df3 --- /dev/null +++ b/dev-lang/rubinius/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>maintainer-wanted@gentoo.org</email> + <description>I'd be interested in eventually becoming the maintainer for + this ebuild - Judson Lester {nyarly@gmail.com}</description> +</maintainer> +<upstream> + <maintainer> + <email>evan@fallingsnow.net</email> + <name>Evan Phoenix</name> + </maintainer> + <bugs-to>http://github.com/evanphx/rubinius/issues</bugs-to> +</upstream> +</pkgmetadata> diff --git a/dev-lang/rubinius/rubinius-1.2.0.ebuild b/dev-lang/rubinius/rubinius-1.2.0.ebuild new file mode 100644 index 000000000..7bf0e799d --- /dev/null +++ b/dev-lang/rubinius/rubinius-1.2.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" +inherit eutils flag-o-matic multilib versionator + +DESCRIPTION="A re-implementation of the Ruby VM designed for speed" +HOMEPAGE="http://rubini.us" +SRC_URI="https://github.com/evanphx/${PN}/tarball/release-${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~x86" +SLOT="0" +IUSE="" + +RDEPEND="sys-libs/readline:5 + dev-ruby/rubygems + >=sys-devel/llvm-2.8 + sys-libs/zlib" +DEPEND="${RDEPEND} + sys-devel/bison + dev-lang/ruby:1.8 + dev-ruby/rake" + +src_configure() { + unset RUBYOPT + #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() { + unset RUBYOPT + append-cppflags "-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS" + rake build || die "Rake failed" +} + +src_install() { + local minor_version=$(get_version_component_range 1-2) + local librbx="usr/$(get_libdir)/rubinius" + + sed -i -e "s#/${librbx}#${D}${librbx}#" config.rb || die "Can't fix config.rb" + + rake compiler:load install:build || die "rake install:build failed" + 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 autogem.rb" +} |