commit:     f023144e92a44eb45349ced021115ddce7df3167
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 10:45:11 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 05:21:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f023144e

dev-ruby/docile: update EAPI 7 -> 8, add ruby32

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/docile/docile-1.4.0-r1.ebuild | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/dev-ruby/docile/docile-1.4.0-r1.ebuild 
b/dev-ruby/docile/docile-1.4.0-r1.ebuild
new file mode 100644
index 000000000000..994b53ba6f46
--- /dev/null
+++ b/dev-ruby/docile/docile-1.4.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"
+
+RUBY_FAKEGEM_GEMSPEC="docile.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Turns any Ruby object into a DSL"
+HOMEPAGE="https://ms-ati.github.io/docile/";
+SRC_URI="https://github.com/ms-ati/docile/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE=""
+
+all_ruby_prepare() {
+       sed -i -e '/require \"github\/markup\"/d' Rakefile || die
+       sed -i -e '/simplecov/,/unshift/ s:^:#:' spec/spec_helper.rb || die
+
+       sed -i -e 's:_relative ": "./:' -e 's/git ls-files -z/find * -print0/' 
${RUBY_FAKEGEM_GEMSPEC} || die
+}

Reply via email to