diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-11-22 07:14:56 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-11-22 07:14:56 +0100 |
commit | f35a37564107105b6defea26950b3b83313b5d21 (patch) | |
tree | 69902af36e0ff818463505e11ac753fc84e880ea /dev-ruby/mqtt | |
parent | dev-ruby/faker: fix USE=doc and FEATURES=test (diff) | |
download | gentoo-f35a37564107105b6defea26950b3b83313b5d21.tar.gz gentoo-f35a37564107105b6defea26950b3b83313b5d21.tar.bz2 gentoo-f35a37564107105b6defea26950b3b83313b5d21.zip |
dev-ruby/mqtt: fix USE=doc and FEATURES=test
Add missing ruby targets.
Add ruby as co-maintainer.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/mqtt')
-rw-r--r-- | dev-ruby/mqtt/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/mqtt/metadata.xml | 4 | ||||
-rw-r--r-- | dev-ruby/mqtt/mqtt-0.5.0.ebuild | 15 |
3 files changed, 17 insertions, 4 deletions
diff --git a/dev-ruby/mqtt/Manifest b/dev-ruby/mqtt/Manifest index 3ea69bb8844a..46758110bb7a 100644 --- a/dev-ruby/mqtt/Manifest +++ b/dev-ruby/mqtt/Manifest @@ -1 +1 @@ -DIST mqtt-0.5.0.gem 39936 BLAKE2B 2bde8837d1ade162214a5a66ac1a146c2482d6277bdbafcfa6b35a855f59482de27db56c4f51eb462d4a5314e6c86d971096fecbbe03bf4a7ea652bfde4299b1 SHA512 998c795f742711053de235b2b71f1860a7c7c3c22a8d3c845c5e0e0c9215b74330e71fb50798e8d45a9b188f588370b988446000a33e1e9b2f6ec85c4a59dac7 +DIST mqtt-0.5.0.tar.gz 43944 BLAKE2B 1bd1002a83af339627377ecd850980fc00788133da3393e999dd798ac7544d70a6fdd45129b03ae36402aac28a3212171b77df2223fdee45ea4778405e61543b SHA512 ad6e6cb4775e89725a9aa02f2a1d91871cd34f2e5bf35033456b93ec09ec90a6fdcf1cbaf8822e1f032f0a52cde23db55fbb1e4eff4540e331397c180e7c6ed0 diff --git a/dev-ruby/mqtt/metadata.xml b/dev-ruby/mqtt/metadata.xml index 716228b4f231..9e17fa25f647 100644 --- a/dev-ruby/mqtt/metadata.xml +++ b/dev-ruby/mqtt/metadata.xml @@ -5,6 +5,10 @@ <email>zerochaos@gentoo.org</email> <name>Rick Farina</name> </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> <upstream> <remote-id type="github">njh/ruby-mqtt</remote-id> </upstream> diff --git a/dev-ruby/mqtt/mqtt-0.5.0.ebuild b/dev-ruby/mqtt/mqtt-0.5.0.ebuild index edcbff7f9721..b79fcdf1b13a 100644 --- a/dev-ruby/mqtt/mqtt-0.5.0.ebuild +++ b/dev-ruby/mqtt/mqtt-0.5.0.ebuild @@ -3,15 +3,24 @@ EAPI=6 -USE_RUBY="ruby24" +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" inherit ruby-fakegem DESCRIPTION="Pure Ruby gem that implements the MQTT protocol" HOMEPAGE="https://github.com/njh/ruby-mqtt" -SRC_URI="mirror://rubygems/${P}.gem" +SRC_URI="https://github.com/njh/ruby-mqtt/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-${P}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="" +IUSE="test" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#: ; /SimpleCov/ s:^:#:' spec/spec_helper.rb || die +} |