1 |
commit: 0a47ae99c8d3ff7c0ade3de45beb8b833da7438b |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 29 05:20:24 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 05:52:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a47ae99 |
7 |
|
8 |
dev-ruby/netrc: add ruby30; EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/netrc/netrc-0.11.0-r1.ebuild | 29 +++++++++++++++++++++++++++++ |
14 |
1 file changed, 29 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/netrc/netrc-0.11.0-r1.ebuild b/dev-ruby/netrc/netrc-0.11.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..4b707a95d10 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/netrc/netrc-0.11.0-r1.ebuild |
21 |
@@ -0,0 +1,29 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+USE_RUBY="ruby25 ruby26 ruby27 ruby30" |
27 |
+ |
28 |
+RUBY_FAKEGEM_EXTRADOC="changelog.txt Readme.md" |
29 |
+ |
30 |
+inherit ruby-fakegem |
31 |
+ |
32 |
+DESCRIPTION="This library reads and writes .netrc files" |
33 |
+HOMEPAGE="https://github.com/geemus/netrc" |
34 |
+LICENSE="MIT" |
35 |
+ |
36 |
+KEYWORDS="~amd64 ~arm ~x86" |
37 |
+SLOT="0" |
38 |
+IUSE="" |
39 |
+ |
40 |
+all_ruby_prepare() { |
41 |
+ # Avoid broken test that wrongly tests ruby internal code, bug 643922 |
42 |
+ sed -e '/test_encrypted_roundtrip/,/^ end/ s:^:#:' \ |
43 |
+ -e '/test_missing_environment/,/^ end/ s:^:#:' \ |
44 |
+ -e "s:/tmp/:${T}/:" \ |
45 |
+ -i test/test_netrc.rb || die |
46 |
+} |
47 |
+ |
48 |
+each_ruby_test() { |
49 |
+ ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die |
50 |
+} |