diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-04-30 21:35:42 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-04-30 21:35:42 +0000 |
commit | f082595f6f5037219c6e36efe37d9ad7e2d7ba3b (patch) | |
tree | 68f9467ee2592ec985cc074687a11a6a37783517 /dev-ruby/oauth2 | |
parent | Deal with github changing their tarball generation. (diff) | |
download | historical-f082595f6f5037219c6e36efe37d9ad7e2d7ba3b.tar.gz historical-f082595f6f5037219c6e36efe37d9ad7e2d7ba3b.tar.bz2 historical-f082595f6f5037219c6e36efe37d9ad7e2d7ba3b.zip |
Fix documentation build if RSpec is not present.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/oauth2')
-rw-r--r-- | dev-ruby/oauth2/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/oauth2/Manifest | 11 | ||||
-rw-r--r-- | dev-ruby/oauth2/files/oauth2-0.0.8-gentoo.patch | 31 | ||||
-rw-r--r-- | dev-ruby/oauth2/oauth2-0.0.8.ebuild | 4 |
4 files changed, 44 insertions, 8 deletions
diff --git a/dev-ruby/oauth2/ChangeLog b/dev-ruby/oauth2/ChangeLog index 563acf540e62..e7430abc79c9 100644 --- a/dev-ruby/oauth2/ChangeLog +++ b/dev-ruby/oauth2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/oauth2 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth2/ChangeLog,v 1.2 2010/04/30 20:24:03 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth2/ChangeLog,v 1.3 2010/04/30 21:35:42 flameeyes Exp $ + + 30 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org> oauth2-0.0.8.ebuild, + +files/oauth2-0.0.8-gentoo.patch: + Fix documentation build if RSpec is not present. 30 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org> oauth2-0.0.8.ebuild: Add Ruby 1.9 support. diff --git a/dev-ruby/oauth2/Manifest b/dev-ruby/oauth2/Manifest index 4bbe4f1f3784..333bcae9752c 100644 --- a/dev-ruby/oauth2/Manifest +++ b/dev-ruby/oauth2/Manifest @@ -1,14 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX oauth2-0.0.8-gentoo.patch 840 RMD160 87ac5f69a73fa5d17cddce4d51015ba07e9b1862 SHA1 1df44f9e5b467b6834c4af8662885f7c75b6156d SHA256 519e317d4ea76568ff284ad366c064325cbc0c2ec647e24990391b0785bcdb08 DIST oauth2-0.0.8.gem 10752 RMD160 343cbfb44fe8484b0941746cdfcca43eca78c2d7 SHA1 30108e2d9f47034992fc9df4ae9fb566b643a707 SHA256 d12a459e71d015707218f923c22aa654fcd2972e3f73d006a6b3710c0560cfcc -EBUILD oauth2-0.0.8.ebuild 795 RMD160 443bea8d1813d585cb15b6bf00d355b3459cf192 SHA1 7009481d18a5d812e4b5d2e3d40943f7210ac07e SHA256 41fcc9df928f0ac7ef32b4a1ac47ac8c311fc24582b983507ace06e83a563ecd -MISC ChangeLog 515 RMD160 65b9fa2b50fba49035e814fe8f8333b399199b50 SHA1 af5f088a6cb82c8eb589e1cbfb744c0f44d777b4 SHA256 aba3d460c7b1c6ae4a9d8c57151e0204df21dcb319129cec66e5e4678d664ab5 +EBUILD oauth2-0.0.8.ebuild 784 RMD160 8a237d7cf7385a330dbd5296afbdc22fd48e1067 SHA1 2b5c0fffb378ff392f1bab958284dc039a26621f SHA256 435b97583c344391ad519140bf3af57726ba19877c481d39923e1e77f64c614d +MISC ChangeLog 680 RMD160 a229d403e3f77c1a4f905538ff33c00453bc4577 SHA1 33e6069fe2204b1da2a06ec4a717b659d91c074b SHA256 aafb79444a7524ece9d07848f83c557ac021f47c3044a9053c7fa6bb13d92c4f MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkvbPDQACgkQAiZjviIA2XjzYACgzK4tWqbfBSoJCPK+AAfsV6em -TO8An2+ptNZjhDyahJJ3+SHkyDsO6wq1 -=Pci6 +iEYEARECAAYFAkvbTP8ACgkQAiZjviIA2XiOHgCg6OSFFnMpwZs5a5Y+NkMfbjaH +6g8AoL2JYo4746gyhEEnFcDDc6jkSy5u +=ZmyQ -----END PGP SIGNATURE----- diff --git a/dev-ruby/oauth2/files/oauth2-0.0.8-gentoo.patch b/dev-ruby/oauth2/files/oauth2-0.0.8-gentoo.patch new file mode 100644 index 000000000000..633338d8cb30 --- /dev/null +++ b/dev-ruby/oauth2/files/oauth2-0.0.8-gentoo.patch @@ -0,0 +1,31 @@ +diff --git a/Rakefile b/Rakefile +index 0667c9c..0a135d5 100644 +--- a/Rakefile ++++ b/Rakefile +@@ -15,10 +15,13 @@ begin + # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings + end + Jeweler::GemcutterTasks.new ++ ++ task :spec => :check_dependencies + rescue LoadError + puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" + end + ++begin + require 'spec/rake/spectask' + Spec::Rake::SpecTask.new(:spec) do |spec| + spec.libs << 'lib' << 'spec' +@@ -31,9 +34,10 @@ Spec::Rake::SpecTask.new(:rcov) do |spec| + spec.rcov = true + end + +-task :spec => :check_dependencies +- + task :default => :spec ++rescue LoadError ++ puts "RSpec (or a dependency) not available. Install it with: gem install rspec" ++end + + require 'rake/rdoctask' + Rake::RDocTask.new do |rdoc| diff --git a/dev-ruby/oauth2/oauth2-0.0.8.ebuild b/dev-ruby/oauth2/oauth2-0.0.8.ebuild index 4f4c87e4fc9b..d559ae8bf455 100644 --- a/dev-ruby/oauth2/oauth2-0.0.8.ebuild +++ b/dev-ruby/oauth2/oauth2-0.0.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth2/oauth2-0.0.8.ebuild,v 1.2 2010/04/30 20:24:03 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth2/oauth2-0.0.8.ebuild,v 1.3 2010/04/30 21:35:42 flameeyes Exp $ EAPI="2" @@ -26,5 +26,5 @@ ruby_add_rdepend "dev-ruby/faraday" ruby_add_bdepend test ">=dev-ruby/rspec-1.2.9" all_ruby_prepare() { - sed -i -e '/check_dependencies/d' Rakefile || die + epatch "${FILESDIR}"/${P}-gentoo.patch } |