summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-02-18 08:04:42 +0100
committerHans de Graaff <graaff@gentoo.org>2023-02-18 08:29:48 +0100
commit79683c99fb2c05d0c77cbcc29226d1c07c2d3663 (patch)
tree6c109ee43765677c79319579198414910a73be8f /dev-ruby/mqtt
parentdev-ruby/mime-types-data: add 3.2023.0218.1 (diff)
downloadgentoo-79683c99fb2c05d0c77cbcc29226d1c07c2d3663.tar.gz
gentoo-79683c99fb2c05d0c77cbcc29226d1c07c2d3663.tar.bz2
gentoo-79683c99fb2c05d0c77cbcc29226d1c07c2d3663.zip
dev-ruby/mqtt: add 0.6.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mqtt')
-rw-r--r--dev-ruby/mqtt/Manifest1
-rw-r--r--dev-ruby/mqtt/mqtt-0.6.0.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/mqtt/Manifest b/dev-ruby/mqtt/Manifest
index 46758110bb7a..9a74617a7718 100644
--- a/dev-ruby/mqtt/Manifest
+++ b/dev-ruby/mqtt/Manifest
@@ -1 +1,2 @@
DIST mqtt-0.5.0.tar.gz 43944 BLAKE2B 1bd1002a83af339627377ecd850980fc00788133da3393e999dd798ac7544d70a6fdd45129b03ae36402aac28a3212171b77df2223fdee45ea4778405e61543b SHA512 ad6e6cb4775e89725a9aa02f2a1d91871cd34f2e5bf35033456b93ec09ec90a6fdcf1cbaf8822e1f032f0a52cde23db55fbb1e4eff4540e331397c180e7c6ed0
+DIST mqtt-0.6.0.tar.gz 45975 BLAKE2B e3548db5a1d758168c86be8a1d313ccd0cc7ed7d5993f03688d6c68de7b28fc1c42f87de5d9cca459b0cb383d65640ba00c1015261fc777bb56811a51147924e SHA512 c9dbf86c583c9e57af97a1481b308a3d3fc796a6dd813dce83a8206d773a343242423fa116abc4b8ce34a1d6f0cb2026cc9189dd8b98af69c980c54501e130d8
diff --git a/dev-ruby/mqtt/mqtt-0.6.0.ebuild b/dev-ruby/mqtt/mqtt-0.6.0.ebuild
new file mode 100644
index 000000000000..4aaf45515c2c
--- /dev/null
+++ b/dev-ruby/mqtt/mqtt-0.6.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_GEMSPEC="mqtt.gemspec"
+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="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="test"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/I s:^:#: ; /SimpleCov/,/^ end/ s:^:#:' spec/spec_helper.rb || die
+}