summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wilmott <p8952@gentoo.org>2015-08-13 18:47:56 +0100
committerPeter Wilmott <p8952@gentoo.org>2015-08-13 18:53:53 +0100
commit901ed95dd23594ab82d79ef61106b836b2097918 (patch)
tree88b0a8b4814d78c0c0ee34099c5e18db49ea8772
parentMerge branch 'package/pcsx2' of github.com:nE0sIghT/gentoo (diff)
downloadgentoo-901ed95dd23594ab82d79ef61106b836b2097918.tar.gz
gentoo-901ed95dd23594ab82d79ef61106b836b2097918.tar.bz2
gentoo-901ed95dd23594ab82d79ef61106b836b2097918.zip
dev-ruby/netrc: Add ruby21
Package-Manager: portage-2.2.20.1
-rw-r--r--dev-ruby/netrc/netrc-0.9.0-r1.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/netrc/netrc-0.9.0-r1.ebuild b/dev-ruby/netrc/netrc-0.9.0-r1.ebuild
new file mode 100644
index 000000000000..cd3991462832
--- /dev/null
+++ b/dev-ruby/netrc/netrc-0.9.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+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 ~x86"
+SLOT="0"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -e '/test_encrypted_roundtrip/a skip "depends on external gpg test keys"' -i test/test_netrc.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S testrb test/test_*.rb || die
+}