summaryrefslogtreecommitdiff
path: root/dev-ruby/netrc
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/netrc')
-rw-r--r--dev-ruby/netrc/Manifest3
-rw-r--r--dev-ruby/netrc/metadata.xml11
-rw-r--r--dev-ruby/netrc/netrc-0.11.0.ebuild31
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/netrc/Manifest b/dev-ruby/netrc/Manifest
new file mode 100644
index 000000000000..66537e077785
--- /dev/null
+++ b/dev-ruby/netrc/Manifest
@@ -0,0 +1,3 @@
+DIST netrc-0.11.0.gem 10752 BLAKE2B 40f78989c7b58b726c1f83ea7032eace74c11776b006a2f5fc9459134224cad6129b370d6da4bcdef540d75504da6d5ca5a1d6bab9c1ab8a2620b22c3933be20 SHA512 7f0df3f79d92b891d40a49e9b893ca7131077195cf15453b155e37e68e29f8cd3810ba791a06338058262c8cb8fed56c87c295e450c133b428b3398eb99e683a
+EBUILD netrc-0.11.0.ebuild 766 BLAKE2B 0e128c8f567388d0cf80b74b870edd1cc4f23ee0f07036b5dbecb4db27d7fbac5c3aa09f79f50e73360809dce6878c4efb260224c8a7a71513f91d68e2ed8556 SHA512 4ddb5d0e72ef67791ba7ffbbca8c249c1c15a5ffc73bd8fcf48c2edf87cf1351573495f68d2039d73558896ac7cafeb26ae4866eb7d78f92555bf14a921927e5
+MISC metadata.xml 338 BLAKE2B fd877d1b2970baa820f621e7e80e39b4ea8bb996e01e7c5e34355c0c383ce7207a8c8c5b1ea4a75be4a677cbf75e61dbda9df88a41aa7aaea931cd1ba0cf351c SHA512 db880221f96281decc8c389d944bb9a8cced54f2ba173d470efaa1bcf7d1f45598e1fe8b0b1beadfe25ec34ce6fe81adbbfa4d210a7257741d1b367a8d9e0af2
diff --git a/dev-ruby/netrc/metadata.xml b/dev-ruby/netrc/metadata.xml
new file mode 100644
index 000000000000..a46722fec9b3
--- /dev/null
+++ b/dev-ruby/netrc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">geemus/netrc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/netrc/netrc-0.11.0.ebuild b/dev-ruby/netrc/netrc-0.11.0.ebuild
new file mode 100644
index 000000000000..a2304ca9756d
--- /dev/null
+++ b/dev-ruby/netrc/netrc-0.11.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_EXTRADOC="changelog.txt Readme.md"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="This library reads and writes .netrc files"
+HOMEPAGE="https://github.com/geemus/netrc"
+LICENSE="MIT"
+
+KEYWORDS="amd64 ~arm 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
+}