dev-ruby/jira-ruby: add 1.5.0
authorHans de Graaff <graaff@gentoo.org>
Sat, 20 Jan 2018 06:24:16 +0000 (07:24 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sat, 20 Jan 2018 06:24:16 +0000 (07:24 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-ruby/jira-ruby/Manifest
dev-ruby/jira-ruby/jira-ruby-1.5.0.ebuild [new file with mode: 0644]

index 5e41a66af1bd3bad2dcd4037af365192904026d4..75f3056d343afa5edc1adfb8bc48994adc0b9952 100644 (file)
@@ -1 +1,2 @@
 DIST jira-ruby-1.4.3.gem 58368 BLAKE2B 10cbb86b9ba10f79e1345a2e868079f9debcefd9fb1a77934ba0eb85aef87993f4657b187b7b000b1302cdfbdbbe17a6714c9c7c35614f9a55ed0e937d380493 SHA512 bff948f76ab765f2bb21d473fffac54cc1e2a1995ecc351b38eb6be1e3c12eab3e5b93b26dfc5d9707af0b6c5e556c94d432a2894a3baab4e2c74ebc53e460d6
+DIST jira-ruby-1.5.0.gem 58880 BLAKE2B 89896881eb73c23dab8225ee3bebc233e3f77a761f98be2c57a9e9e1dd10e79425825deedc2047d25c93d6b83933881d55c179020a17e2e64a32f9faeb995b67 SHA512 0b5b151fb110f2271c4e8b99af13a20c6fd42c5f21adf383f284bb12e3b00e31f5d697b61956952154fde184f54523f50ed85ee0b817f22c339b76ebd4434c3e
diff --git a/dev-ruby/jira-ruby/jira-ruby-1.5.0.ebuild b/dev-ruby/jira-ruby/jira-ruby-1.5.0.ebuild
new file mode 100644 (file)
index 0000000..21fc6db
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="API for JIRA"
+HOMEPAGE="https://github.com/sumoheavy/jira-ruby https://rubygems.org/gems/jira-ruby"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/activesupport:*
+       dev-ruby/multipart-post
+       >=dev-ruby/oauth-0.5.0:0
+"
+
+ruby_add_bdepend "test? (
+       dev-ruby/railties
+       >=dev-ruby/webmock-1.18.0:0
+       dev-ruby/rake )"
+
+DEPEND="${DEPEND} test? ( dev-libs/openssl:0 )"
+
+all_ruby_prepare() {
+       sed -i -e "/bundler/d" \
+               -e '1igem "webmock", "~>1.0"' \
+               spec/spec_helper.rb || die
+       sed -i -e '/git ls-files/d' ${PN}.gemspec || die
+}
+
+each_ruby_test() {
+       ${RUBY} -S rake jira:generate_public_cert || die
+       RSPEC_VERSION=3 ruby-ng_rspec || die
+}