summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-11-17 08:43:50 +0100
committerHans de Graaff <graaff@gentoo.org>2023-11-17 08:46:41 +0100
commitdcae012a5f719abf2971f7ca419611ab245f28a4 (patch)
tree3a4dd252d62cba419ababd9a7a47d3428689c5ff /dev-ruby/unf_ext
parentdev-ruby/nio4r: update upstream metadata (diff)
downloadgentoo-dcae012a5f719abf2971f7ca419611ab245f28a4.tar.gz
gentoo-dcae012a5f719abf2971f7ca419611ab245f28a4.tar.bz2
gentoo-dcae012a5f719abf2971f7ca419611ab245f28a4.zip
dev-ruby/unf_ext: add 0.0.9.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/unf_ext')
-rw-r--r--dev-ruby/unf_ext/Manifest1
-rw-r--r--dev-ruby/unf_ext/unf_ext-0.0.9.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/unf_ext/Manifest b/dev-ruby/unf_ext/Manifest
index 6b05e3ff748b..0bbf44dcbd22 100644
--- a/dev-ruby/unf_ext/Manifest
+++ b/dev-ruby/unf_ext/Manifest
@@ -1,2 +1,3 @@
DIST unf_ext-0.0.8.2.gem 399360 BLAKE2B 01c98ff018ec3471d4068e79b6a80980e891835a940b109c9b240226ed97f89ce71b3236b9185c6087a4e61fe6b77b249fc952b65483b5adb96fc25ee0d4bb05 SHA512 c9d3e54c96a525031d3b2fe349b5ffa1d03e3f28f74c3a2715af299e5274c7514526d07be5d7244a2cf9561c11e170b15c75d34c5e2a7143cef1ee25d32d2137
+DIST unf_ext-0.0.9.1.gem 399872 BLAKE2B 2c51c426a6740e56a2d15977c46c1fdfb8129691070bd234a3d11bbc8f85466e015eb75feb13ab0be565ad43958506baec9fd09e204efc3ea69f2dbf340e4588 SHA512 f2d0d58dc0ed30e3e99ac75022c8ea78bf4ad51c8803009c059de087b1cd439e06a8e7ef4c1be5c75048f85afe6c301f402ed21405ff02ad36ea73209416994d
DIST unf_ext-0.0.9.gem 399872 BLAKE2B ec32d0357d7e72d001962b16f70fe616910eff6641eabf56dd2403f995c60a8a0dc4b1901ce3154032645e9af2378b9cdf9a23795899a5f7230f5f7ad52bd3c9 SHA512 b89edde90ccd7a71c7ae0e284ded7d8963239fcc976ea2876e569562bad44ff8eb8825ec8adcc61242772cc37c924ff1962bbcf1cea4e4333db446af1f055d30
diff --git a/dev-ruby/unf_ext/unf_ext-0.0.9.1.ebuild b/dev-ruby/unf_ext/unf_ext-0.0.9.1.ebuild
new file mode 100644
index 000000000000..93ee53a957d2
--- /dev/null
+++ b/dev-ruby/unf_ext/unf_ext-0.0.9.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/unf_ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Unicode Normalization Form support library for CRuby"
+HOMEPAGE="https://github.com/knu/ruby-unf_ext"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc test"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/test-unit-2.5.1-r1
+ )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/,/end/ s:^:#:' Rakefile test/helper.rb || die
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 test/test_*.rb
+}