summaryrefslogtreecommitdiff
path: root/dev-ruby/jeweler
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /dev-ruby/jeweler
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'dev-ruby/jeweler')
-rw-r--r--dev-ruby/jeweler/Manifest2
-rw-r--r--dev-ruby/jeweler/jeweler-2.3.9.ebuild68
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-ruby/jeweler/Manifest b/dev-ruby/jeweler/Manifest
index c7fcb996b478..c8adb18c0290 100644
--- a/dev-ruby/jeweler/Manifest
+++ b/dev-ruby/jeweler/Manifest
@@ -1,3 +1,5 @@
DIST jeweler-2.3.7.gem 61952 BLAKE2B fff72e299131b3080c36002e90d36e89db8fcef85cb5e8cbb0976e4b06f0555117d2b6e6375d298f03683565a8d2826471a2f847f481f215d1ccdc231346e1e9 SHA512 4ca397c75059a28d623afbb22fc5b2b5627e7c3f078b2b77eb623d0b70f518fa58fce54526e12b417ffbf40e1b635dfbd57ff1d91264ed3ca7bb6917bb4ca784
+DIST jeweler-2.3.9.gem 61952 BLAKE2B 2c802f27db9a5018473792c184c56b1d2262ec4e30ba24da964bd8dfebecc7551ea50f4a4c0f823907a14afc5358036ff2efb0d9e8404befb2c451688f578b1e SHA512 d8e91702cf046cd16b5b0f718966adecaa7777f2ce526e3fac3be97f8e91ffa32362a9a96d1c8b390b400f38d0d7a59860437487459cb0490366ef2d38fec6f2
EBUILD jeweler-2.3.7.ebuild 1810 BLAKE2B 5eac599ee75477850d05a0f8a9cfa7b73b9a641fa6ae9b9fa341666ae906ddaf02682876d94ce17953ecaf72c28a36010db4b3f7b91683552e225b918e49121a SHA512 d861f57caf2d4f824d43ed56371494387211868024fa93f2f24e1fdd64be9ebea1bb92908a2e707d48beb1931eee9737f5dc1232016dc57ed86af1ed6ed9806e
+EBUILD jeweler-2.3.9.ebuild 1794 BLAKE2B 97acccc69294783beb56ea36911ee696bc661530fc8dc607b54b513f7ef624421d5bdc0004c91c9f394c113c8b404b68438fa6e1d5ef1fdf02ddd0a7152ab222 SHA512 d84abe728c83b52a0365e09433bdb5bc5d657619456e6ece14bd4e639bf8fc4307969e75d33580360fbc7864f548b1106ed06736ac3c7b01c595c73a58bcecb1
MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09
diff --git a/dev-ruby/jeweler/jeweler-2.3.9.ebuild b/dev-ruby/jeweler/jeweler-2.3.9.ebuild
new file mode 100644
index 000000000000..e953d1d6e966
--- /dev/null
+++ b/dev-ruby/jeweler/jeweler-2.3.9.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24"
+
+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 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "
+ 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
+}