diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-04-27 06:09:36 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-04-27 06:09:36 +0000 |
commit | b1354825bd3563295ebcd861af2e7f9b2ad6d9f3 (patch) | |
tree | bf5e81a00e01c0ab6cff439c3972fbebf8814c01 /dev-ruby/RubyInline | |
parent | Cleanup. (diff) | |
download | historical-b1354825bd3563295ebcd861af2e7f9b2ad6d9f3.tar.gz historical-b1354825bd3563295ebcd861af2e7f9b2ad6d9f3.tar.bz2 historical-b1354825bd3563295ebcd861af2e7f9b2ad6d9f3.zip |
Version bump.
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/RubyInline')
-rw-r--r-- | dev-ruby/RubyInline/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/RubyInline/Manifest | 11 | ||||
-rw-r--r-- | dev-ruby/RubyInline/RubyInline-3.12.2.ebuild | 46 | ||||
-rw-r--r-- | dev-ruby/RubyInline/files/ruby-inline-3.12.2-gentoo.patch | 67 |
4 files changed, 127 insertions, 5 deletions
diff --git a/dev-ruby/RubyInline/ChangeLog b/dev-ruby/RubyInline/ChangeLog index 87b8ab700228..14f61d72697d 100644 --- a/dev-ruby/RubyInline/ChangeLog +++ b/dev-ruby/RubyInline/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/RubyInline # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/RubyInline/ChangeLog,v 1.6 2013/02/23 07:14:20 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/RubyInline/ChangeLog,v 1.7 2013/04/27 06:08:07 graaff Exp $ + +*RubyInline-3.12.2 (27 Apr 2013) + + 27 Apr 2013; Hans de Graaff <graaff@gentoo.org> +RubyInline-3.12.2.ebuild, + +files/ruby-inline-3.12.2-gentoo.patch: + Version bump. *RubyInline-3.12.1 (23 Feb 2013) diff --git a/dev-ruby/RubyInline/Manifest b/dev-ruby/RubyInline/Manifest index 80127280ef5f..1d150990dc39 100644 --- a/dev-ruby/RubyInline/Manifest +++ b/dev-ruby/RubyInline/Manifest @@ -3,22 +3,25 @@ Hash: SHA256 AUX ruby-inline-3.11.0-gentoo.patch 2494 SHA256 ec06c71edbc7afbfdfd01c22191749a8444011db9c207e0b864c64049ba9596e SHA512 5bce01d2f2873fb7daab4a3126d831dc8c9b9efb279d42e111911c2160d56792b881b1e3c7d12f44631fc2e4fdbf365c67b1d0d9757b5572093df18f1d4d72ea WHIRLPOOL 3d085ffaf902261b1c7c17f1c9d34b9d634728ed3278d824dda09e36d139adedb2f90071bfd546ce9babf078f414870bf760c74a3365d1d4d9be9fb7cb704923 AUX ruby-inline-3.11.1-ldflags.patch 412 SHA256 79c2283013b03714df04b0d7f367e705b38c18f87e71d0b86fd59eea2f41c613 SHA512 31e69b72f04a220d2c4acff6dca11e75d401400c265e8124d5db9cf89341a0a4ae8dfa5fd13ae1843484fc44dddc09433aa97b9ee2245ee6484a020a04f81b9a WHIRLPOOL f62d2994ce17d819bc00d1640c0312ea5a31771c046ad4e47162bfd82eba759a171f281e1637431b5370bbd309ff523db81ed55e17ba48b1bdd5053dc7af9056 +AUX ruby-inline-3.12.2-gentoo.patch 2535 SHA256 6ab7e878e47bc2174a91f6aec45dd308df5869871832b77685c81c3bfc0cc13a SHA512 6cb1ad712e5a96be878c4c59d0bd10ebd5701a3917d4b3cdf0c83522c7bb88f7c0b7efe5ca09d0188701bea93dc833e3024e632fdb36b5e903a9c719fdb2b095 WHIRLPOOL 29fbf5cbcbbd019d21f52fa23ed38a8cff9c7e5776616b63fb335393cd2a9112eb0eb61cecf1e98fec7c5b271e8c6e6a8aad2c3a08233d783429f4c295d9f470 AUX ruby-inline-3.8.4-gentoo.patch 2166 SHA256 22ee2a71d82bae991d58a59cb81331e840210de0e51a8d25ffed2bd20b6ff258 SHA512 de158a7b6dcb6f5aeb9f9b6fff51bd45d2baa6b24631fb84988e67bfc7c339f356a1144932a4502299f7731c8b3592f8bc88f31de63d77e1d4ac7beffce19368 WHIRLPOOL 7fc44f1c350f814f1515c48cc9d689ca14354368e5295d650a1b1cb5608d115e3be5c9580818c0d7bad240153fc7d8a33bff5ca2707351e7cc60be6eb96fe30c AUX ruby-inline-3.8.4-ldflags.patch 458 SHA256 447d732528ff9883b59325373f42455f0c3a372e8c5bd7d879424d9c46b8e727 SHA512 0e4b3f4659fc9b8a640778e96d01b4f0c286dd7c2e425b81a3fd4430613998d0402c67ec4157d67fc2a98081a7c7bbcb31eea304c72a56ea20b2721b25a5acc5 WHIRLPOOL f2f427e9fcf8e2c0b7fef0e35a5274a46153fdff713bfa4f75dfe173c6362ed20df08a5a4673e2a6a53fb749a99c05ef58e80def88638b52c7c46f893729e93e DIST RubyInline-3.11.3.gem 28672 SHA256 c3716cdd20082224548ee465eb5df59ed4d4556a19620f34ffe2418144d7f451 SHA512 fa0b2c8a942f69cccee6b32af1b6d6b7b2b3f71c140181072991af143997a1a239da36f879dda3b18c7cca2ac66d0f2b427c9073645509a450992d09215f41e4 WHIRLPOOL c3b16379e14690dca2c778643ff6741c81da00ba39b4c37ad2da29872a61b415e15803a7a835c1481b37e548cf69a44daaf2ab6be3f215f7f400db3ac20e5976 DIST RubyInline-3.11.4.gem 28672 SHA256 7f85e67d929574c6ca6f26b3c06cf2bcc8baaf1d55713630db1d6dcfe9342df0 SHA512 183b36a682fc0ba3c6f32a5abfb8da795cca2d50a2ae2f74cc0996ba1fb3956c5c53abe14132b87af0d5dffa9f3a2428d485078950bb104370f93d0aaf241a67 WHIRLPOOL 57d15ecd1f705fc04d53ac29b022c8aa0434a274ec8bdf6a709da3f5a751f671b8b18a1ba3ffd9399e4753842f06b44571c617edf8633d69c17cdffced4c25e9 DIST RubyInline-3.12.1.gem 28672 SHA256 e859cea02e77d23d45f42ddce2baad2fefbd7c68e5a66fa2e3aa0a261934489d SHA512 70c85830a4c4b0729e04ba133cbbdfedf68948fa5b2ef3a343f5be0148f6c4b2cf3938ad511940f0d1c0a17cba195f5f41f4ff9b21bd44fe42a585a0a8c8e1ed WHIRLPOOL 2a7e0138d1392e8fca95e1037c5cb948f1f46a117ecab063fd2baf69527d49dd8dd805ec6e7eba701295271d901377e48e2a4da73d367c0f57223b45b73dbcba +DIST RubyInline-3.12.2.gem 29184 SHA256 28506b5ab38faae32d8a242483996b197ed4e5cf0419652072af446c0a3fe971 SHA512 cef52a9a624bcae92f5231ba3d4e5809c186221a89a445409b0096e59712ea90f66568b6682731dfa8228b0c8441ed6cde86a6d80319c6b0d6698abb05252384 WHIRLPOOL 1dd9ed15e71013be5ad9fcb291324a8f42933d11f8be80c6e0f2a84ed0c02e877491612554b3b6de2236555439ce82e9360e86426723129d1bec06404069eb24 DIST RubyInline-3.8.6.gem 28160 SHA256 1153411b2026b50dc6516dbad4889970766d439312d588b2ab8db1ef35f1e58e SHA512 1cd5993a69a21f6a9256336ae6eee1c26e2cadeb807785651b1b047ec516b032aa826e65ec3ff2458b8bf2c5f13d0c5e6b58906aadf800368acbc6d304fc1d53 WHIRLPOOL 69b53d4448d7a0484806470682084ba30c704c1c5058bd467d205cdfd9965f4f0e5cddb748ce9e8f3658a906ac2d0c57978c3708aa11e76642cfa7a8331b12ac EBUILD RubyInline-3.11.3.ebuild 1097 SHA256 b0539f4bd4c4c0f91407efc654a92bf3b51c5b362f2c6ecbf2d45ebba3540122 SHA512 1250a41d208c1576ec9b41492374712b3ef13c88c72a18af78918ee9faf4bd1faf9ae15d235286253a8a7d788cef2b7e9126819714652aeb56b66de8d110eaa2 WHIRLPOOL 92e1f2f8a11247bd43f50a267b657766ffbf0a6e0ed3aeec822c29ad52a5629bb4fe68ecdb4e792bc171f291c8384ab63ef83f422b1b0d50152e9817a3427042 EBUILD RubyInline-3.11.4.ebuild 1097 SHA256 1a29b3bd69fbab08c63e0753545e81a48900ba8c062486c1a16402abc104350e SHA512 a0212ebf940f70bb265b554c7d882bcc8029ab0046cb21d9f4caa46aafc13af3a24edd405adc7ec5ba459916f31c19d62f6fb208e39aa01855c5f044cce3d01e WHIRLPOOL 6bab2dd163ce4aa22ff9c1521a917135e4ccbf2de90b1ec6841adfeb590d5def2a63e83b0d09384fae8c92acbf3a1f0c9352c0f65118bd7a03cdd4f2d7329e91 EBUILD RubyInline-3.12.1.ebuild 1094 SHA256 c617dbc1befa4698cbf8a93575c8afa60a086a83ab131ad26d4079bf15058a2b SHA512 dc2596a2d3dabee2b324d04ac0650f3b57a843d3405be5e29394baee56ec511f3aba33fb04af581fb0a0df583e127fbc2030b34ceade4d6622159b0803bd1f48 WHIRLPOOL 9cbd0c4d01519a01532446f9aa5a733925e54c0902d240fa3d572736e018e57df8cb81d58527f345927f207c3cc86da409f7929d4180fe3e18797210ca233c7a +EBUILD RubyInline-3.12.2.ebuild 1088 SHA256 413f9a979be11b0b59fab894b466a30761d60811cf71d97cc5ed30a9be3d2aba SHA512 d8005769e3f90bf001382075e8f999141d7d5393b9e3fdac073a15a6081b75f54dd3065773349ac6cde36b292d993913a69ca46493dcfdab1e7fc5b4727e182d WHIRLPOOL acf321295f16c449b4f73d85d2b0a1679bec2f8635200a0f679b0bd15bb4af00deeb6fd9aaf507217aa9917041ec16144aa80b61a66c179c18a87191a2df8248 EBUILD RubyInline-3.8.6.ebuild 1622 SHA256 cb7e2b747e4d9ce92cb78fafc4f3ab2228c70b31e4591e0b15cf19865ffb4d19 SHA512 672d5970998b7b0506f9a1733ad50512c392317b52783939ad5b928a4916c3e79b92b1aaa01f69be78bec05b2b033fbb374f88a047ed06f817e2279442c6ff65 WHIRLPOOL 17e6d0d8942c6e77d58aa1b9f34d98d849b890260d3cd646c0639b29bf431951e6e2b075a155451d70e8af4d022998201e501de65d26418e20fab166db4691a7 -MISC ChangeLog 7978 SHA256 ae3bf09da2e23b4ccf0df7375192d9b9781b14790a37412cd383b0edd3116de3 SHA512 7d3f31474fe7c6185486fdf78cabb39d9bf803cbfa9e822cf295f099229f9c8e14e5bd94036a60fdd6c06def777ceacf54a98cfabb5320c44cc3cbb14b70a3e7 WHIRLPOOL 1f34089a92db3b0615d7e1e9a05fecbd60a58dd078514e2618df264ce897eabdd4ef2e62a1c7208f83e1eff8b64c71166885379a9fd5685a778edf93cb6cd30d +MISC ChangeLog 8148 SHA256 a65d8cd0e4943e65cd570643fa79c0c618f87e52d991092a9cf8a32e831dd4bf SHA512 75b0f40920b77811218429f9e71fd684f93316158e6383161d45c3326e879242dd53c6f1de51d1023539784c779f015c811ae5302069059fe796162a48181dea WHIRLPOOL 90aaf0fa13ca505f9dbd4c15d2253dba675eb0f25ef72d04149561227e9f97390f0d5493d443ba1741f9243eeda89d4d7e63f3e1da8e17be0f1c9ef2ec85cae7 MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAlEobFMACgkQiIP6VqMIqNf+6wD8CS9VTjhTUBDG+j/FhOqsVlBB -3aJ+Sq5p+70TxsZ2Bw0A/3t04zOwnZHChjySL1LNH3iY3fIbPA0VbcHJtBsJNrh7 -=8gge +iF4EAREIAAYFAlF7a0kACgkQiIP6VqMIqNcN5AD+PLItXcTbh3fc/4Jdvt6jqEHR +KlYNR/pxkCwHT+S+tFYA+gKDNt0h6tHK3k/VL6eLrL0tHISPmm37tV5dqV8ope06 +=I6CR -----END PGP SIGNATURE----- diff --git a/dev-ruby/RubyInline/RubyInline-3.12.2.ebuild b/dev-ruby/RubyInline/RubyInline-3.12.2.ebuild new file mode 100644 index 000000000000..d8fd5b070fbb --- /dev/null +++ b/dev-ruby/RubyInline/RubyInline-3.12.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/RubyInline/RubyInline-3.12.2.ebuild,v 1.1 2013/04/27 06:08:07 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.txt History.txt" + +inherit ruby-fakegem + +DESCRIPTION="Allows to embed C/C++ in Ruby code" +HOMEPAGE="http://www.zenspider.com/ZSS/Products/RubyInline/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend dev-ruby/zentest + +ruby_add_bdepend " + test? ( + dev-ruby/hoe + dev-ruby/hoe-seattlerb + virtual/ruby-minitest + )" + +RUBY_PATCHES=( + ruby-inline-3.12.2-gentoo.patch + ruby-inline-3.11.1-ldflags.patch +) + +all_ruby_prepare() { + sed -i -e '/isolate/ s:^:#:' Rakefile || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc example.rb example2.rb demo/*.rb +} diff --git a/dev-ruby/RubyInline/files/ruby-inline-3.12.2-gentoo.patch b/dev-ruby/RubyInline/files/ruby-inline-3.12.2-gentoo.patch new file mode 100644 index 000000000000..2acd527cdcb4 --- /dev/null +++ b/dev-ruby/RubyInline/files/ruby-inline-3.12.2-gentoo.patch @@ -0,0 +1,67 @@ +we have to patch the code so that it takes the RUBY_DESCRIPTION into +consideration, to avoid loading Ruby-Enterprise (REE18) objects in MRI +and vice-versa; we're a bit “greedier” since we will rebuild objects +even when just switching versions, but it'll be better this way than +being too conservatives. + +Index: ruby-inline-3.8.4/lib/inline.rb +=================================================================== +--- ruby-inline-3.8.4.orig/lib/inline.rb ++++ ruby-inline-3.8.4/lib/inline.rb +@@ -360,13 +360,18 @@ module Inline + ext.join "\n" + end + ++ def implementation_checksum ++ @implementation_checksum ||= ++ (Digest::MD5.new << RUBY_DESCRIPTION).to_s[0,4] ++ end ++ + def module_name + unless defined? @module_name then + module_name = @mod.name.gsub('::','__') + md5 = Digest::MD5.new + @pre.each { |m| md5 << m.to_s } + @sig.keys.sort_by { |x| x.to_s }.each { |m| md5 << m.to_s } +- @module_name = "Inline_#{module_name}_#{md5}" ++ @module_name = "Inline_#{module_name}_#{md5}_#{implementation_checksum}" + end + @module_name + end +Index: ruby-inline-3.8.4/test/test_inline.rb +=================================================================== +--- ruby-inline-3.8.4.orig/test/test_inline.rb ++++ ruby-inline-3.8.4/test/test_inline.rb +@@ -404,6 +404,7 @@ static VALUE method_name_equals(VALUE se + end + + def util_module_name(*signatures) ++ implementation = (Digest::MD5.new << RUBY_DESCRIPTION).to_s[0,4] + md5 = Digest::MD5.new + + signatures.each do |signature| +@@ -411,6 +412,6 @@ static VALUE method_name_equals(VALUE se + md5 << signature.to_s + end + +- assert_equal("Inline_TestInline__TestC_#{md5}", @builder.module_name) ++ assert_equal("Inline_TestInline__TestC_#{md5}_#{implementation}", @builder.module_name) + end + +@@ -757,6 +758,7 @@ puts(s); return rb_str_new2(s)}" + @builder.c "VALUE my_method() { return Qnil; }" + + windoze = "\n __declspec(dllexport)" if Inline::WINDOZE ++ implementation = (Digest::MD5.new << RUBY_DESCRIPTION).to_s[0,4] + + expected = <<-EXT + #include "ruby.h" +@@ -773,7 +775,7 @@ static VALUE my_method(VALUE self) { + #ifdef __cplusplus + extern \"C\" { + #endif#{windoze} +- void Init_Inline_TestInline__TestC_3ab8c09639e499394bb1f0a0194a839f() { ++ void Init_Inline_TestInline__TestC_3ab8c09639e499394bb1f0a0194a839f_#{implementation}() { + VALUE c = rb_cObject; + c = rb_const_get(c, rb_intern("TestInline")); + c = rb_const_get(c, rb_intern("TestC")); |