summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/simpleidn/Manifest1
-rw-r--r--dev-ruby/simpleidn/simpleidn-0.2.3.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/simpleidn/Manifest b/dev-ruby/simpleidn/Manifest
index afdfc0ee83d1..d6979c41be5e 100644
--- a/dev-ruby/simpleidn/Manifest
+++ b/dev-ruby/simpleidn/Manifest
@@ -1 +1,2 @@
DIST simpleidn-0.2.1.tar.gz 204644 BLAKE2B 4c7f82af2ddaa753c8df91f80776b2b00d3a8a8dfda95c9012ebc3e5eea6503fbb0f20a7f79f8c624612e433b0e61cec79bc6a147ef6a04d418cbff72c31c867 SHA512 20a81ea5bca503b167cd2183f762993454a5f7fe082639b70234521f8cb9e4533b1f5f22dfcac18108c90a461185b13fea55f6197ab4c5996116ac359adf5033
+DIST simpleidn-0.2.3.tar.gz 264716 BLAKE2B cbecf906d7845a07ef2829a9dcafe8395f08be763b9fd218a92be17d5620ce00cc9834b0cba63c6b31ac80524a4e826fa4c1344cbd1324f3d9221c7c44ec87c7 SHA512 806f523f7bf30514bfe2ab187298f204471d23b9171f776d1aa10ed3ca9f33fe9298fed4197609359ef9dff5d19a232046c52e9f17252a65041f7b86e6a131d6
diff --git a/dev-ruby/simpleidn/simpleidn-0.2.3.ebuild b/dev-ruby/simpleidn/simpleidn-0.2.3.ebuild
new file mode 100644
index 000000000000..76573426638f
--- /dev/null
+++ b/dev-ruby/simpleidn/simpleidn-0.2.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
+
+# Latest releases have not been tagged upstream.
+COMMIT=606fd91a80a36b3d9de50d864a3c926337b31c82
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+RUBY_FAKEGEM_EXTRAINSTALL="tables"
+
+RUBY_FAKEGEM_GEMSPEC="simpleidn.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows easy conversion from punycode ACE to unicode UTF-8 strings and vice-versa"
+HOMEPAGE="https://github.com/mmriis/simpleidn"
+SRC_URI="https://github.com/mmriis/simpleidn/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+RUBY_S="simpleidn-${COMMIT}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}