diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-03-20 11:45:11 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-03-21 06:21:26 +0100 |
commit | f023144e92a44eb45349ced021115ddce7df3167 (patch) | |
tree | 17ba29502bd8c8465f4ab8e2067219230a5c35d5 /dev-ruby/docile | |
parent | media-libs/libaom: wire up tests (diff) | |
download | gentoo-f023144e92a44eb45349ced021115ddce7df3167.tar.gz gentoo-f023144e92a44eb45349ced021115ddce7df3167.tar.bz2 gentoo-f023144e92a44eb45349ced021115ddce7df3167.zip |
dev-ruby/docile: update EAPI 7 -> 8, add ruby32
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/docile')
-rw-r--r-- | dev-ruby/docile/docile-1.4.0-r1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
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 +} |