summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-03-01 08:23:58 +0000
committerHans de Graaff <graaff@gentoo.org>2015-03-01 08:23:58 +0000
commit49a572caf5accf0039bad48a5d85be65e6d55294 (patch)
tree646147dd84a74caa3b6ac022a6effb798a61dfa5
parentInitial import. Missing dependency for dev-ruby/jeweler. (diff)
downloadgentoo-2-49a572caf5accf0039bad48a5d85be65e6d55294.tar.gz
gentoo-2-49a572caf5accf0039bad48a5d85be65e6d55294.tar.bz2
gentoo-2-49a572caf5accf0039bad48a5d85be65e6d55294.zip
Add ruby20, ruby21. Add missing keywords and drop ppc, ppc64 accordingly, bug 541768.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
-rw-r--r--dev-ruby/jeweler/ChangeLog10
-rw-r--r--dev-ruby/jeweler/jeweler-2.0.1-r1.ebuild54
2 files changed, 62 insertions, 2 deletions
diff --git a/dev-ruby/jeweler/ChangeLog b/dev-ruby/jeweler/ChangeLog
index 1765633105ba..6f035cef6987 100644
--- a/dev-ruby/jeweler/ChangeLog
+++ b/dev-ruby/jeweler/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/jeweler
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jeweler/ChangeLog,v 1.26 2014/08/15 14:34:10 blueness Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jeweler/ChangeLog,v 1.27 2015/03/01 08:23:58 graaff Exp $
+
+*jeweler-2.0.1-r1 (01 Mar 2015)
+
+ 01 Mar 2015; Hans de Graaff <graaff@gentoo.org> +jeweler-2.0.1-r1.ebuild:
+ Add ruby20, ruby21. Add missing keywords and drop ppc, ppc64 accordingly, bug
+ 541768.
15 Aug 2014; Anthony G. Basile <blueness@gentoo.org> jeweler-2.0.1.ebuild:
Keyword ~ppc ~ppc64, bug #511424
diff --git a/dev-ruby/jeweler/jeweler-2.0.1-r1.ebuild b/dev-ruby/jeweler/jeweler-2.0.1-r1.ebuild
new file mode 100644
index 000000000000..45c2bf7d7927
--- /dev/null
+++ b/dev-ruby/jeweler/jeweler-2.0.1-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jeweler/jeweler-2.0.1-r1.ebuild,v 1.1 2015/03/01 08:23:58 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC="-Ilib yard"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+# Tests and features also need the same set of dependencies present.
+RUBY_FAKEGEM_TASK_TEST="-Ilib test"
+
+RUBY_FAKEGEM_EXTRADOC="ChangeLog.markdown README.markdown"
+
+RUBY_FAKEGEM_GEMSPEC="jeweler.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Rake tasks for managing gems and versioning and a generator for creating a new project"
+HOMEPAGE="http://wiki.github.com/technicalpickles/jeweler"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )
+ test? ( dev-ruby/shoulda dev-ruby/rr dev-ruby/test_construct )"
+
+ruby_add_rdepend "
+ dev-ruby/rake
+ >=dev-ruby/git-1.2.5
+ >=dev-ruby/nokogiri-1.5.10
+ dev-ruby/github_api
+ >=dev-ruby/highline-1.6.15
+ >=dev-ruby/bundler-1.0
+ dev-ruby/rdoc
+ dev-ruby/builder
+"
+
+all_ruby_prepare() {
+ # Remove bundler support.
+ rm Gemfile || die
+ sed -i -e '/bundler/d' -e '/Bundler.setup/d' Rakefile test/test_helper.rb features/support/env.rb || die
+
+ sed -i -e '/coverall/I s:^:#:' test/test_helper.rb || die
+
+ # Avoid a test that only passes in the git repository.
+ sed -i -e '/find the base repo/,/^ end/ s:^:#:' test/test_jeweler.rb || die
+
+ # Use a non-deprecated version of construct
+ sed -i -e 's/construct/test_construct/' -e 's/Construct/TestConstruct/' test/test_helper.rb || die
+}