diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-07-10 07:51:56 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-07-10 08:02:41 +0200 |
commit | 3f6881fbdaddf8232b779adfa520d7ded3dfa39c (patch) | |
tree | 307378c343fbbbabacd28d4f509bea58ffc0fbe8 /dev-ruby/hipchat | |
parent | dev-ruby/mimemagic: add ruby24 (diff) | |
download | gentoo-3f6881fbdaddf8232b779adfa520d7ded3dfa39c.tar.gz gentoo-3f6881fbdaddf8232b779adfa520d7ded3dfa39c.tar.bz2 gentoo-3f6881fbdaddf8232b779adfa520d7ded3dfa39c.zip |
dev-ruby/hipchat: add 1.6.0
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/hipchat')
-rw-r--r-- | dev-ruby/hipchat/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/hipchat/hipchat-1.6.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/hipchat/Manifest b/dev-ruby/hipchat/Manifest index bdcaa8a13c3c..3e571f800bb4 100644 --- a/dev-ruby/hipchat/Manifest +++ b/dev-ruby/hipchat/Manifest @@ -1 +1,2 @@ DIST hipchat-1.5.4.tar.gz 19823 SHA256 e6760137cd387000689a048d12272be4b0458c0d3748fd28b8fd9576c0817b27 SHA512 076332458af837a176f296a745b42bf3bac97a9225a76447eca877bc4a51bb2ed64253dd17cb92bc2e8e05df82eb00c9a2cd489dc2f787415cf5dbfc9e02a1d9 WHIRLPOOL 91af35765835b91a91b22e79f0d90889c5f56cf28a007e63e242f87a4923e94c1d9b14831f0e2fc3c1401d6b61aba7f83779fcc0e192ca496ecec7b3b286abbe +DIST hipchat-1.6.0.tar.gz 23328 SHA256 e4225e25c643b0acfd98307b8cb3f2fc9c0e632e04472a33de41599718efd936 SHA512 43afbc2aca234d7d3778189874013df7847f9045ecc1d5ebd6b3772dce2a9cc5000fa6075867a9b0968d49410d775f3f56ed0a4ae637d6ad3893aa668895f2a3 WHIRLPOOL 23fbe3669c62e66f8bae4d62911144f81ac7296157cdcf620713f44ff611ec30324a51e6123115f44bf4695526e2b0f1be3aae4a45f60c1b9d8b941098bd6a48 diff --git a/dev-ruby/hipchat/hipchat-1.6.0.ebuild b/dev-ruby/hipchat/hipchat-1.6.0.ebuild new file mode 100644 index 000000000000..9cc20c1f227b --- /dev/null +++ b/dev-ruby/hipchat/hipchat-1.6.0.ebuild @@ -0,0 +1,36 @@ +# 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_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.22.6: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:^:#:' spec/spec_helper.rb || die +} |