summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-10-27 08:19:51 +0200
committerHans de Graaff <graaff@gentoo.org>2016-10-27 08:20:46 +0200
commit6173a652b17d86f7aa81e41036aa4a9b89c8d425 (patch)
tree203cdca26663971637d846325e337a2f2c341f1f /dev-ruby/hipchat
parentwww-client/opera-developer: Old. (diff)
downloadgentoo-6173a652b17d86f7aa81e41036aa4a9b89c8d425.tar.gz
gentoo-6173a652b17d86f7aa81e41036aa4a9b89c8d425.tar.bz2
gentoo-6173a652b17d86f7aa81e41036aa4a9b89c8d425.zip
dev-ruby/hipchat: add 1.5.4
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/hipchat')
-rw-r--r--dev-ruby/hipchat/Manifest1
-rw-r--r--dev-ruby/hipchat/hipchat-1.5.4.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/hipchat/Manifest b/dev-ruby/hipchat/Manifest
index bb4055e9d1c9..7e22c6543d81 100644
--- a/dev-ruby/hipchat/Manifest
+++ b/dev-ruby/hipchat/Manifest
@@ -1 +1,2 @@
DIST hipchat-1.5.3.tar.gz 19767 SHA256 cb432b1e9aa8a02e77124fdb989d35a5b07fb08e30263446a3d0f7eebd603f3c SHA512 a04c0bc713d002599768438c84b50dd18ebc93e2c6dabeb9f967ba2abddb5ef89e18d42b05bb04b079007d79e94c45d7f96290ee90386b06cfd7192f25637f78 WHIRLPOOL 75173407ce923957eea99bbe2195c7a07dab32729f4e67f015840abfde4ff753d5198c68296a00144e8a51e7e2d7f3190697aa85603e41fdb09a3aca45add4ef
+DIST hipchat-1.5.4.tar.gz 19823 SHA256 e6760137cd387000689a048d12272be4b0458c0d3748fd28b8fd9576c0817b27 SHA512 076332458af837a176f296a745b42bf3bac97a9225a76447eca877bc4a51bb2ed64253dd17cb92bc2e8e05df82eb00c9a2cd489dc2f787415cf5dbfc9e02a1d9 WHIRLPOOL 91af35765835b91a91b22e79f0d90889c5f56cf28a007e63e242f87a4923e94c1d9b14831f0e2fc3c1401d6b61aba7f83779fcc0e192ca496ecec7b3b286abbe
diff --git a/dev-ruby/hipchat/hipchat-1.5.4.ebuild b/dev-ruby/hipchat/hipchat-1.5.4.ebuild
new file mode 100644
index 000000000000..bd1b19df2457
--- /dev/null
+++ b/dev-ruby/hipchat/hipchat-1.5.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.textile"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby library to interact with HipChat"
+HOMEPAGE="https://github.com/hipchat/hipchat-rb"
+SRC_URI="https://github.com/hipchat/hipchat-rb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RUBY_S="hipchat-rb-${PV}"
+
+ruby_add_rdepend "dev-ruby/httparty dev-ruby/mimemagic"
+ruby_add_bdepend "test? (
+ dev-ruby/rr
+ dev-ruby/rake
+ <dev-ruby/webmock-1.24:0
+ )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' Rakefile ${PN}.gemspec || die "sed failed"
+ sed -i -e '/git ls-files/d' ${PN}.gemspec || die "sed failed"
+
+ sed -i -e '/coveralls/I s:^:#:' \
+ -e '1igem "webmock", "<1.24"' spec/spec_helper.rb || die
+}