From 76aa6f7979922aa1fd3325d20adaa976ea70c16d Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 16 Apr 2022 08:26:47 +0200 Subject: dev-ruby/xpath: update EAPI 6 -> 8, add ruby31 Signed-off-by: Hans de Graaff --- dev-ruby/xpath/xpath-3.2.0-r1.ebuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dev-ruby/xpath/xpath-3.2.0-r1.ebuild (limited to 'dev-ruby/xpath') diff --git a/dev-ruby/xpath/xpath-3.2.0-r1.ebuild b/dev-ruby/xpath/xpath-3.2.0-r1.ebuild new file mode 100644 index 000000000000..497f4840b218 --- /dev/null +++ b/dev-ruby/xpath/xpath-3.2.0-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="XPath is a Ruby DSL around a subset of XPath 1.0" +HOMEPAGE="https://github.com/jnicklas/xpath" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="3" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.8:0" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|pry\)/d' spec/spec_helper.rb || die +} -- cgit v1.2.3-65-gdbad