commit: 35f51bec13becf05402aa8f41215d7d94ac789d7 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu Mar 30 06:32:23 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Mar 30 07:01:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f51bec
dev-ruby/netrc: update EAPI 7 -> 8, add ruby32 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/netrc/netrc-0.11.0-r2.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/dev-ruby/netrc/netrc-0.11.0-r2.ebuild b/dev-ruby/netrc/netrc-0.11.0-r2.ebuild new file mode 100644 index 000000000000..a57f2be410c9 --- /dev/null +++ b/dev-ruby/netrc/netrc-0.11.0-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="changelog.txt Readme.md" + +inherit ruby-fakegem + +DESCRIPTION="This library reads and writes .netrc files" +HOMEPAGE="https://github.com/heroku/netrc" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +SLOT="0" +IUSE="" + +all_ruby_prepare() { + # Avoid broken test that wrongly tests ruby internal code, bug 643922 + sed -e '/test_encrypted_roundtrip/,/^ end/ s:^:#:' \ + -e '/test_missing_environment/,/^ end/ s:^:#:' \ + -e "s:/tmp/:${T}/:" \ + -i test/test_netrc.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +}
