diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-07-18 08:44:48 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-07-18 08:45:19 +0200 |
commit | 8839b7cf6dd068dfbee1d934287f84e3e8228349 (patch) | |
tree | d59f306e48628707abef6849623f84ff835a068f /dev-ruby/jeweler | |
parent | dev-ruby/psych: cleanup (diff) | |
download | gentoo-8839b7cf6dd068dfbee1d934287f84e3e8228349.tar.gz gentoo-8839b7cf6dd068dfbee1d934287f84e3e8228349.tar.bz2 gentoo-8839b7cf6dd068dfbee1d934287f84e3e8228349.zip |
dev-ruby/jeweler: add 2.3.7
Drop ~ppc64 and ~x86 keywords, bug 625488
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/jeweler')
-rw-r--r-- | dev-ruby/jeweler/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/jeweler/jeweler-2.3.7.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-ruby/jeweler/Manifest b/dev-ruby/jeweler/Manifest index 223382dba8ff..b9c7d5ef70af 100644 --- a/dev-ruby/jeweler/Manifest +++ b/dev-ruby/jeweler/Manifest @@ -1 +1,2 @@ DIST jeweler-2.0.1.gem 58368 SHA256 2f8c325789f9bf63d273cb040eae2f9ac4271789e5587edbc2d4d22de5ec2882 SHA512 296f661b0e782353bcd166be04501b9f792a9edbc72bddb21c6322e99b0d1da6a03b9f31a19b9daa6d26e18cdbb37cfd7856c91f6befbb920b633fa22d81c41c WHIRLPOOL 9406b5453eb95f14df0696df241e84d54fd80512e6cf7f62bf230bb958ac0bfcb762a1d811ddb35ea9942788cfdc692b0430269e5d378653b24e3c5072b24e8e +DIST jeweler-2.3.7.gem 61952 SHA256 913fcf1dbefb61b320566615b3149c5073c2722e45d96c517fd9461484ff54bc SHA512 4ca397c75059a28d623afbb22fc5b2b5627e7c3f078b2b77eb623d0b70f518fa58fce54526e12b417ffbf40e1b635dfbd57ff1d91264ed3ca7bb6917bb4ca784 WHIRLPOOL d4c967b3c09904afe86d6c4fd878c22f0a3f9ca3d9bdc721bc7b61ebff81a8375e02b57fa5b41730fcef300450cb03228c0571cb34a469e965e09987197ed63e diff --git a/dev-ruby/jeweler/jeweler-2.3.7.ebuild b/dev-ruby/jeweler/jeweler-2.3.7.ebuild new file mode 100644 index 000000000000..32f9c43c60c4 --- /dev/null +++ b/dev-ruby/jeweler/jeweler-2.3.7.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23" + +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 to manage gems, versioning and generate new projects" +HOMEPAGE="https://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-unit-rr + dev-ruby/test_construct + dev-ruby/test-unit:2 + ) +" + +ruby_add_rdepend " + dev-ruby/builder:* + >=dev-ruby/bundler-1.0 + >=dev-ruby/git-1.2.5 + >=dev-ruby/github_api-0.16.0 + >=dev-ruby/highline-1.6.15 + >=dev-ruby/nokogiri-1.5.10 + dev-ruby/psych:0 + dev-ruby/rake + dev-ruby/rdoc + dev-ruby/semver2 +" + +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:^:#:' \ + -e '1i gem "test-unit"' 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 + + # Avoid dependency on cucumber, make sure semver2 gem is used (puppet also provides "semver") + sed -i -e '/cucumber/,$ s:^:#:' \ + -e '1igem "semver2"' Rakefile || die + + # Loosen github_api requirement + sed -i -e '/github_api/ s/0.16.0/0.16/' ${RUBY_FAKEGEM_GEMSPEC} || die +} |