summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2024-11-16 08:40:39 +0100
committerHans de Graaff <hans@degraaff.org>2024-11-16 08:40:39 +0100
commit6a895f650a8abe05696443e559c1eed6520b1ed9 (patch)
tree2f8eeaaddb46011d6423aa22500e6f87e4a986a2
parentdev-ruby/rubocop-performance: add 1.23.0 (diff)
downloadgraaff-6a895f650a8abe05696443e559c1eed6520b1ed9.tar.gz
graaff-6a895f650a8abe05696443e559c1eed6520b1ed9.tar.bz2
graaff-6a895f650a8abe05696443e559c1eed6520b1ed9.zip
dev-ruby/browser: add 6.1.0
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r--dev-ruby/browser/Manifest1
-rw-r--r--dev-ruby/browser/browser-6.1.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/browser/Manifest b/dev-ruby/browser/Manifest
index d825c8c3..1324508b 100644
--- a/dev-ruby/browser/Manifest
+++ b/dev-ruby/browser/Manifest
@@ -1,2 +1,3 @@
DIST browser-5.3.1.gem 56832 BLAKE2B c976d04506a5764b1a957d50ce2a98843d90ee45f9d98bd75ed0f33889d2ae84cededb186de627f5f8df41b1c03e09928864674b57b43b9db76a771f853eb1b1 SHA512 b5dc11126bdabe4858ec9cfc92d55d13e6c0378488c6d6c6849f30bd394635c1b84e3f08eaafeb34ff961ebc42031f0974c0ffda8af607589abb2d5478713887
DIST browser-6.0.0.gem 57856 BLAKE2B 73e3554c52bda2974060cfcec4b9338ed98dc01c3c8ff1c6c68953d65f745f1f46714ebd2808bb47e50a70a10154232a98b4b96e28ba570372a24738747622ff SHA512 d257d0423a36da1aaaa3c5b3c68561130263494eeefe0859c0920379e36f3c8b829b6b327367422ba8d6eea099d1824a93c7a267faa6a6f5f1a3103c3dd660e3
+DIST browser-6.1.0.gem 58368 BLAKE2B f5ddde79b15bf061f8be6acdda94c02acc4b96837a7679d2afba035e575154cd9d98d1ac5e13a918c56a6a7f24ce8ab85be1be8b50fffb511df92620afe59487 SHA512 cf37cc45d4feb346b502a449c5bc6405f64c54565f522ac1c8cb92386a4d3191fe00fe5ba68888da0be06deff91b561fa8f6c48eb19221ca51d843d931321f61
diff --git a/dev-ruby/browser/browser-6.1.0.ebuild b/dev-ruby/browser/browser-6.1.0.ebuild
new file mode 100644
index 00000000..181400a5
--- /dev/null
+++ b/dev-ruby/browser/browser-6.1.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_EXTRAINSTALL="bot_exceptions.yml bots.yml languages.yml search_engines.yml"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Do some browser detection with Ruby"
+HOMEPAGE="https://github.com/fnando/browser"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_bdepend "dev-ruby/rails test? ( dev-ruby/minitest-utils )"
+
+all_ruby_prepare() {
+ sed -i -e '/\(autotest\|pry\|rubocop\|simplecov\)/ s:^:#:' browser.gemspec || die
+ sed -i -e '/rubocop/,/^end/ s:^:#:' Rakefile || die
+ sed -i -e '/simplecov/I,/^end/ s:^:#:' test/test_helper.rb || die
+}