summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-25 09:20:14 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-25 09:20:14 +0100
commit92b148f216b8b9474537361c28e34bfbe5bc79fd (patch)
tree46d3def0a42d715ad3deabfca1a8f95a52da0f04
parentdev-ruby/tdiff: add 0.4.0 (diff)
downloadgentoo-92b148f216b8b9474537361c28e34bfbe5bc79fd.tar.gz
gentoo-92b148f216b8b9474537361c28e34bfbe5bc79fd.tar.bz2
gentoo-92b148f216b8b9474537361c28e34bfbe5bc79fd.zip
dev-ruby/nokogiri-diff: add 0.3.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/nokogiri-diff/Manifest1
-rw-r--r--dev-ruby/nokogiri-diff/nokogiri-diff-0.3.0.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/nokogiri-diff/Manifest b/dev-ruby/nokogiri-diff/Manifest
index 6ca08c15b9c1..946c9622acd3 100644
--- a/dev-ruby/nokogiri-diff/Manifest
+++ b/dev-ruby/nokogiri-diff/Manifest
@@ -1 +1,2 @@
DIST nokogiri-diff-0.2.0.gem 8704 BLAKE2B e1df47db2e6e7fcd29eb229245cb9a9a7b31fded319a6fe28d04722f457f0ea7bc19e13ee49b2233f3c072eedf3c83c7e38cd8b19d5ecbc4937f709a9f4cf3a7 SHA512 9b2b6f266c9c7d01153c345567086b4cd1092a5984e6867ea81d15e00467936f296fd5e2c3ab7dc18e44d1dd2af022d250234fb4311a9be80fd3ca32b3d201ca
+DIST nokogiri-diff-0.3.0.gem 10240 BLAKE2B 2e90a279926c6fc33089a679f4a25d40a7075fbee2481291bbec1f936bf436595bfa8a967050249df29c1b34211529bdff0c8f847c6f88964164a93c9864b216 SHA512 da28e7c2ae03fc66a5b4d9ce6b266ca20dc47a84445bb5a109d40d8153d41c98e7c6547efe35484fc7dbe0e30507e6588894dfc0c4b0fc297c3b24fc4ebbb41e
diff --git a/dev-ruby/nokogiri-diff/nokogiri-diff-0.3.0.ebuild b/dev-ruby/nokogiri-diff/nokogiri-diff-0.3.0.ebuild
new file mode 100644
index 000000000000..9e76ad01ffb3
--- /dev/null
+++ b/dev-ruby/nokogiri-diff/nokogiri-diff-0.3.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Calculate the differences between two XML/HTML documents"
+HOMEPAGE="https://github.com/postmodern/nokogiri-diff"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.5 >=dev-ruby/tdiff-0.4.0:0"
+
+all_ruby_prepare() {
+ sed -e '/simplecov/I s:^:#:' -i spec/spec_helper.rb || die
+}