diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-12-14 14:03:26 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-12-14 14:03:26 +0000 |
commit | 74a0fdc3779844727648068b4efa8d68a1c5dea0 (patch) | |
tree | 927e4f02a587da5783799df89db90bb6775a6768 /dev-ruby | |
parent | EAPI=5. Add ruby20. Drop circular dependency on bones. Ebuild by Peter Wilmot... (diff) | |
download | gentoo-2-74a0fdc3779844727648068b4efa8d68a1c5dea0.tar.gz gentoo-2-74a0fdc3779844727648068b4efa8d68a1c5dea0.tar.bz2 gentoo-2-74a0fdc3779844727648068b4efa8d68a1c5dea0.zip |
Version bump. EAPI=5. Add ruby20. Ebuild by Peter Wilmott in the ruby overlay.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/bones/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/bones/bones-3.8.1.ebuild | 46 | ||||
-rw-r--r-- | dev-ruby/bones/files/bones-3.8.1-builder.patch | 15 | ||||
-rw-r--r-- | dev-ruby/bones/files/bones-3.8.1-rdoc-version.patch | 11 |
4 files changed, 80 insertions, 1 deletions
diff --git a/dev-ruby/bones/ChangeLog b/dev-ruby/bones/ChangeLog index 9a03f724df57..f076056a0daf 100644 --- a/dev-ruby/bones/ChangeLog +++ b/dev-ruby/bones/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/bones # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bones/ChangeLog,v 1.20 2013/11/03 13:28:07 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bones/ChangeLog,v 1.21 2013/12/14 14:03:26 graaff Exp $ + +*bones-3.8.1 (14 Dec 2013) + + 14 Dec 2013; Hans de Graaff <graaff@gentoo.org> +bones-3.8.1.ebuild, + +files/bones-3.8.1-builder.patch, +files/bones-3.8.1-rdoc-version.patch: + Version bump. EAPI=5. Add ruby20. Ebuild by Peter Wilmott in the ruby + overlay. 03 Nov 2013; Manuel Rüger <mrueg@gentoo.org> -bones-3.6.5.ebuild, -bones-3.7.0.ebuild: diff --git a/dev-ruby/bones/bones-3.8.1.ebuild b/dev-ruby/bones/bones-3.8.1.ebuild new file mode 100644 index 000000000000..e2ba51a432a1 --- /dev/null +++ b/dev-ruby/bones/bones-3.8.1.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/bones/bones-3.8.1.ebuild,v 1.1 2013/12/14 14:03:26 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby18 ruby19 ruby20 jruby" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="default version.txt" + +inherit ruby-fakegem + +DESCRIPTION="Tool that creates new Ruby projects from a code skeleton" +HOMEPAGE="http://github.com/TwP/bones" + +IUSE="test" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +ruby_add_rdepend " + dev-ruby/builder + >=dev-ruby/loquacious-1.9.1 + >=dev-ruby/little-plugger-1.1.3 + >=dev-ruby/rake-0.8.7" + +all_ruby_prepare() { + epatch "${FILESDIR}"/${P}-builder.patch + mv ../metadata . + epatch "${FILESDIR}"/${P}-rdoc-version.patch + mv metadata ../ +} + +each_ruby_test() { + if [[ ${RUBY} == *jruby ]]; then + ewarn "JRuby up to 1.6.7.2 is known to crash even after passing the tests." + return 0 + fi + each_fakegem_test +} diff --git a/dev-ruby/bones/files/bones-3.8.1-builder.patch b/dev-ruby/bones/files/bones-3.8.1-builder.patch new file mode 100644 index 000000000000..b676c33a039f --- /dev/null +++ b/dev-ruby/bones/files/bones-3.8.1-builder.patch @@ -0,0 +1,15 @@ +--- a/lib/bones/gem_package_task.rb 2013-12-03 19:04:22.577553656 +0000 ++++ b/lib/bones/gem_package_task.rb 2013-12-03 19:04:36.576377667 +0000 +@@ -2,11 +2,7 @@ + require 'find' + require 'rake/packagetask' + require 'rubygems/user_interaction' +-if RUBY_VERSION >= "2" +- require 'rubygems/package' +-else +- require 'rubygems/builder' +-end ++require 'builder' + + class Bones::GemPackageTask < Rake::PackageTask + diff --git a/dev-ruby/bones/files/bones-3.8.1-rdoc-version.patch b/dev-ruby/bones/files/bones-3.8.1-rdoc-version.patch new file mode 100644 index 000000000000..afff683450b0 --- /dev/null +++ b/dev-ruby/bones/files/bones-3.8.1-rdoc-version.patch @@ -0,0 +1,11 @@ +--- a/bones/metadata 2013-12-04 19:12:17.677881011 +0000 ++++ b/bones/metadata 2013-12-04 19:14:36.905130687 +0000 +@@ -28,7 +28,7 @@ + name: rdoc + requirement: !ruby/object:Gem::Requirement + requirements: +- - - ~> ++ - - '>=' + - !ruby/object:Gem::Version + version: '3.0' + type: :runtime |