summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-18 07:39:52 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-18 07:42:31 +0100
commitaa636e4ecf1b631aedbb3c80d9f13abcde5d68be (patch)
tree076ea9be225d4c414f89f9c66bade988d77479dc /dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild
parentdev-ruby/heredoc_unindent: cleanup (diff)
downloadgentoo-aa636e4ecf1b631aedbb3c80d9f13abcde5d68be.tar.gz
gentoo-aa636e4ecf1b631aedbb3c80d9f13abcde5d68be.tar.bz2
gentoo-aa636e4ecf1b631aedbb3c80d9f13abcde5d68be.zip
dev-ruby/htmlentities: add ruby30
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild')
-rw-r--r--dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild b/dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild
new file mode 100644
index 000000000000..dd52d4f57713
--- /dev/null
+++ b/dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="History.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A simple library for encoding/decoding entities in (X)HTML documents"
+HOMEPAGE="https://github.com/threedaymonk/htmlentities"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+each_ruby_test() {
+ ${RUBY} -Ilib:. -S testrb-2 test/*_test.rb || die "tests failed"
+}