summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-10-24 08:44:01 +0200
committerHans de Graaff <graaff@gentoo.org>2021-10-24 10:05:47 +0200
commit19f79a891a62dd6e1680cac6b76b61db1cd5cf2c (patch)
tree714bcc90c86cea847e7926c75ee268ac462bd93e /dev-ruby/nenv
parentdev-ruby/ruby-augeas: EAPI 8; add ruby30; fix extension install (diff)
downloadgentoo-19f79a891a62dd6e1680cac6b76b61db1cd5cf2c.tar.gz
gentoo-19f79a891a62dd6e1680cac6b76b61db1cd5cf2c.tar.bz2
gentoo-19f79a891a62dd6e1680cac6b76b61db1cd5cf2c.zip
dev-ruby/nenv: EAPI 8; add ruby30; fix gemspec
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/nenv')
-rw-r--r--dev-ruby/nenv/nenv-0.3.0-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/nenv/nenv-0.3.0-r1.ebuild b/dev-ruby/nenv/nenv-0.3.0-r1.ebuild
new file mode 100644
index 000000000000..ad6d13ad68d1
--- /dev/null
+++ b/dev-ruby/nenv/nenv-0.3.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="nenv.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Convenient wrapper for Ruby's ENV"
+HOMEPAGE="https://github.com/e2/nenv"
+SRC_URI="https://github.com/e2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die
+}