summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-06-12 08:19:53 +0200
committerHans de Graaff <graaff@gentoo.org>2021-06-12 08:19:53 +0200
commit68b5ba9e4ffd74f2d40f7503f979a51c330bee34 (patch)
treeb097157f209be202f2a7ace5b359f6084b04b6dd /dev-ruby/idn-ruby
parentdev-python/js2py: add missing test BDEPEND (diff)
downloadgentoo-68b5ba9e4ffd74f2d40f7503f979a51c330bee34.tar.gz
gentoo-68b5ba9e4ffd74f2d40f7503f979a51c330bee34.tar.bz2
gentoo-68b5ba9e4ffd74f2d40f7503f979a51c330bee34.zip
dev-ruby/idn-ruby: add 0.1.2
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/idn-ruby')
-rw-r--r--dev-ruby/idn-ruby/Manifest1
-rw-r--r--dev-ruby/idn-ruby/idn-ruby-0.1.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/idn-ruby/Manifest b/dev-ruby/idn-ruby/Manifest
index 11d0b8db0a7a..03163d85f817 100644
--- a/dev-ruby/idn-ruby/Manifest
+++ b/dev-ruby/idn-ruby/Manifest
@@ -1 +1,2 @@
DIST idn-ruby-0.1.0.gem 17408 BLAKE2B 42bc51f28dbe02c1dcf111de00a52352adcb173be3634a20503708e38c48cb0290cd9861f7ffe7dd0442afd8874b5db4249c1b5956b0acb368fbfc30e6fc0029 SHA512 5356266daefabfc5213f91c419ee1beb91972510bb016e7beac9719c501c643f9c35335ea8a46da1c1905a30d02d4b1cbec0f0ebb080ce2683faf8f29422295c
+DIST idn-ruby-0.1.2.gem 18432 BLAKE2B 9bd1a280c76195a84bc996cfb68550c759a466fca4f5c88167c1e395652088b746831f3cd92a197af25d649ec18ce19ddf78402714432976c612ae38c6c64289 SHA512 404025918ca8fb49580d726b9972dbbde987bebc7fa1e42b0e7f091cd8fba38871258c18c933e49a6ee3c11a21cdd388342beb72c6ce46d8c034156eb9064ac5
diff --git a/dev-ruby/idn-ruby/idn-ruby-0.1.2.ebuild b/dev-ruby/idn-ruby/idn-ruby-0.1.2.ebuild
new file mode 100644
index 000000000000..56707f390fe9
--- /dev/null
+++ b/dev-ruby/idn-ruby/idn-ruby-0.1.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="LibIDN Ruby Bindings"
+HOMEPAGE="https://github.com/deepfryed/idn-ruby"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND+=" net-dns/libidn:0"
+DEPEND+=" net-dns/libidn:0"
+
+all_ruby_prepare() {
+ # Avoid UTF-8 tests since we cannot guarantee a UTF-8 environment
+ rm -f test/tc_Stringprep.rb || die
+}
+
+each_ruby_prepare() {
+ mkdir lib || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'Dir["test/*.rb"].each{|f| require f}' || die
+}