diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-11-16 07:44:54 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-11-16 07:44:54 +0100 |
commit | 4dd32d39269be30301ff479ee9fdfe7d4f411b39 (patch) | |
tree | 00b7b636c7bdae45f9916b68a4cb3bb993c63c6c /dev-ruby | |
parent | mail-client/thunderbird-bin: drop 102.4.2 (diff) | |
download | gentoo-4dd32d39269be30301ff479ee9fdfe7d4f411b39.tar.gz gentoo-4dd32d39269be30301ff479ee9fdfe7d4f411b39.tar.bz2 gentoo-4dd32d39269be30301ff479ee9fdfe7d4f411b39.zip |
dev-ruby/idn-ruby: add 0.1.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/idn-ruby/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/idn-ruby/idn-ruby-0.1.5.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/idn-ruby/Manifest b/dev-ruby/idn-ruby/Manifest index 3229b79997da..cfc94abeb679 100644 --- a/dev-ruby/idn-ruby/Manifest +++ b/dev-ruby/idn-ruby/Manifest @@ -1,2 +1,3 @@ DIST idn-ruby-0.1.2.gem 18432 BLAKE2B 9bd1a280c76195a84bc996cfb68550c759a466fca4f5c88167c1e395652088b746831f3cd92a197af25d649ec18ce19ddf78402714432976c612ae38c6c64289 SHA512 404025918ca8fb49580d726b9972dbbde987bebc7fa1e42b0e7f091cd8fba38871258c18c933e49a6ee3c11a21cdd388342beb72c6ce46d8c034156eb9064ac5 DIST idn-ruby-0.1.4.gem 18432 BLAKE2B 7c530e0d24ce515337a1810fbbc33c7598d91c9b82ed19de196aedd47a71edb50c3d6481e62d11e893418b579c58d167a24e1cdd5d9eaa99757b48a88f1943aa SHA512 b06ed738a488493aa843acd1122e40e039ebaeeb5873fc9f935edc5ee52a1f86eb0b2cb5460d211bee9d42d05491b0ee6e4a707b0840a07bc3f3174648435124 +DIST idn-ruby-0.1.5.gem 18432 BLAKE2B 802929985a96b221dcd218cea444cffcd11ae0662ed759fcdef1e5d3dd616cfaa301890f9df1b5b65ec52514ec10d2da0e4e55abf0db2da367be5ad79b91b95e SHA512 8a6c88a822991dd0a6a75030e05998df15c937348afb7e868f8bfb3710203644aab0d9308cc4569e10653a289a37625652592f676897627b75afdd386ae18757 diff --git a/dev-ruby/idn-ruby/idn-ruby-0.1.5.ebuild b/dev-ruby/idn-ruby/idn-ruby-0.1.5.ebuild new file mode 100644 index 000000000000..8c46474d5555 --- /dev/null +++ b/dev-ruby/idn-ruby/idn-ruby-0.1.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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 ~riscv" +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 +} |