diff options
Diffstat (limited to 'dev-ruby/rake-compiler')
-rw-r--r-- | dev-ruby/rake-compiler/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/rake-compiler/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/rake-compiler/files/rake-compiler-0.7.0+ruby-1.8.7.patch | 24 | ||||
-rw-r--r-- | dev-ruby/rake-compiler/rake-compiler-0.7.0-r1.ebuild | 59 |
4 files changed, 99 insertions, 5 deletions
diff --git a/dev-ruby/rake-compiler/ChangeLog b/dev-ruby/rake-compiler/ChangeLog index 25ec97bbb4a0..6d83b3154b4a 100644 --- a/dev-ruby/rake-compiler/ChangeLog +++ b/dev-ruby/rake-compiler/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-ruby/rake-compiler # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.6 2010/01/17 14:02:55 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.7 2010/01/28 12:03:14 flameeyes Exp $ + +*rake-compiler-0.7.0-r1 (28 Jan 2010) + + 28 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +rake-compiler-0.7.0-r1.ebuild, + +files/rake-compiler-0.7.0+ruby-1.8.7.patch: + Revision bump to enable all tests, and add proper dependencies. Tests are + disabled for ruby19 and jruby for now as they need full rubygems support. + Also add patch for tests to work fine with Ruby 1.8.7. 17 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> rake-compiler-0.7.0.ebuild: diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest index 3c33bf609688..145202ab7951 100644 --- a/dev-ruby/rake-compiler/Manifest +++ b/dev-ruby/rake-compiler/Manifest @@ -1,14 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX rake-compiler-0.7.0+ruby-1.8.7.patch 870 RMD160 01c4cd1e7a77ab815c69bee32cdbaa2cb939fa23 SHA1 b453e8d2b20164b4f1581d55f702600454e4a99f SHA256 63b860c972f4c6c5a61ad9b2901d1cf7f3dd034e8f3b4116864496ae1fe24fd5 DIST rake-compiler-0.7.0.tar.gz 25958 RMD160 23c2a21ed5fa0f6c12c6f8dcb017fa4542cf87e1 SHA1 a2cb064cd6edf255c8013a5f45ea4811849a4db8 SHA256 d6f98e46179e02e0627ab8f199572ff903d1dca29e51908053f01e7e051863e8 +EBUILD rake-compiler-0.7.0-r1.ebuild 1555 RMD160 55f21f98901b8b0ca2f115f3999aa40162f4c61b SHA1 6ea993af6ddd056ec7b77e58e3f93ca5fa20a12c SHA256 ee5f26e0aab2380a0f89140883208acc48b57d2c48ba29dcd140b9f44b37bcaf EBUILD rake-compiler-0.7.0.ebuild 792 RMD160 8b36f0af5efbc2a7f2e1697786f2d2bc19974280 SHA1 0cbc3ffd889a812ab2fea02d899aefcc34ab3b49 SHA256 81026e0f40f016c4f317d92ec559a8635eaf2b2c5c5211b018f00639511bb64a -MISC ChangeLog 1040 RMD160 b7cc7a3b947328ff735dd6c19f865a7e7da7c39c SHA1 79c178d193ae34fe9938244a8ac8fd6168bfcc02 SHA256 7ef05a8df0abd3258c8396f084f926466d1e7096d1ae24449a8bbaad3a1c2eec +MISC ChangeLog 1426 RMD160 c5c852ccd4ab2594f84cdf7880063fafbc495859 SHA1 06d6a9980514669c21095eeac1a98ab7c9fdb224 SHA256 e6000774c2254a0aa481de3b43850eaea74baa7657a2beee3839f57a0b881dcb MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAktTGF8ACgkQAiZjviIA2XjRDACfbnsF67zCyh0pvBa4MBBK+HBy -HvUAn3I04yhZ6BoZ5FmcR0cn6Zy+oj1V -=0aYR +iEYEARECAAYFAkthfMAACgkQAiZjviIA2Xj02ACgnKhOb4V9iWxxA/eGxmFmQnzP +7qcAn3SlbPPBKngL0RJfcVt+EhIS90OI +=eX6z -----END PGP SIGNATURE----- diff --git a/dev-ruby/rake-compiler/files/rake-compiler-0.7.0+ruby-1.8.7.patch b/dev-ruby/rake-compiler/files/rake-compiler-0.7.0+ruby-1.8.7.patch new file mode 100644 index 000000000000..5e1c43184827 --- /dev/null +++ b/dev-ruby/rake-compiler/files/rake-compiler-0.7.0+ruby-1.8.7.patch @@ -0,0 +1,24 @@ +From 7b7af198545cf831c6cde2c200bc248b1ee6e78c Mon Sep 17 00:00:00 2001 +From: Luis Parravicini <lparravi@gmail.com> +Date: Sun, 27 Dec 2009 22:32:29 +0800 +Subject: [PATCH] bugfix for issue 15 + +--- + spec/lib/rake/extensiontask_spec.rb | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/spec/lib/rake/extensiontask_spec.rb b/spec/lib/rake/extensiontask_spec.rb +index c13ec88..36152e2 100644 +--- a/spec/lib/rake/extensiontask_spec.rb ++++ b/spec/lib/rake/extensiontask_spec.rb +@@ -439,6 +439,7 @@ describe Rake::ExtensionTask do + def mock_config_yml + { + 'rbconfig-1.8.6' => '/some/path/version/1.8/to/rbconfig.rb', ++ 'rbconfig-1.8.7' => '/some/path/version/1.8/to/rbconfig.rb', + 'rbconfig-1.9.1' => '/some/path/version/1.9.1/to/rbconfig.rb', + 'rbconfig-3.0.0' => '/some/fake/version/3.0.0/to/rbconfig.rb' + } +-- +1.6.6.1 + diff --git a/dev-ruby/rake-compiler/rake-compiler-0.7.0-r1.ebuild b/dev-ruby/rake-compiler/rake-compiler-0.7.0-r1.ebuild new file mode 100644 index 000000000000..b558a0b164e4 --- /dev/null +++ b/dev-ruby/rake-compiler/rake-compiler-0.7.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.0-r1.ebuild,v 1.1 2010/01/28 12:03:14 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ruby19 jruby" + +# Tests for now seem only to work when rubygems is fully installed for +# the implementation and that for now only means Ruby 1.8 +RUBY_FAKEGEM_TASK_TEST="spec cucumber" + +RUBY_FAKEGEM_DOCDIR="doc/api" +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions" +HOMEPAGE="http://github.com/luislavena/rake-compiler" +LICENSE="as-is" # truly + +SRC_URI="http://github.com/luislavena/${PN}/tarball/v${PV} -> ${P}.tar.gz" +S="${WORKDIR}/luislavena-${PN}-2834041" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend doc ">=dev-ruby/rdoc-2.4.3" + +USE_RUBY=ruby18 \ + ruby_add_bdepend "test ruby_targets_ruby18" "dev-ruby/rspec dev-util/cucumber dev-ruby/rubygems" + +all_ruby_prepare() { + epatch "${FILESDIR}"/${P}+ruby-1.8.7.patch +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby19|*jruby) + # Remove this task so that it won't load on Ruby 1.9 and JRuby + # that lack the package_task file. It is, though, needed for the + # tests + rm tasks/gem.rake || die + ;; + *) + ;; + esac +} + +each_ruby_test() { + case ${RUBY} in + *ruby19|*jruby) + ewarn "Tests disabled for this implementation. Long story, check ebuild if you want." + ;; + *) + each_fakegem_test + ;; + esac +} |