diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-07-02 18:52:18 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-07-03 07:34:00 +0200 |
commit | c61e99ed7cde3cbde859997e8adcacae3fc11940 (patch) | |
tree | f4b553441da4b79e9506721a53a5156e650303a0 /dev-ruby/lumberjack | |
parent | dev-ruby/mab: enable ruby32 (diff) | |
download | gentoo-c61e99ed7cde3cbde859997e8adcacae3fc11940.tar.gz gentoo-c61e99ed7cde3cbde859997e8adcacae3fc11940.tar.bz2 gentoo-c61e99ed7cde3cbde859997e8adcacae3fc11940.zip |
dev-ruby/lumberjack: update EAPI 7 -> 8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/lumberjack')
-rw-r--r-- | dev-ruby/lumberjack/lumberjack-1.2.8-r1.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/lumberjack/lumberjack-1.2.8-r1.ebuild b/dev-ruby/lumberjack/lumberjack-1.2.8-r1.ebuild new file mode 100644 index 000000000000..541a955c45da --- /dev/null +++ b/dev-ruby/lumberjack/lumberjack-1.2.8-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="lumberjack.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A simple, powerful, and very fast logging utility" +HOMEPAGE="https://github.com/bdurand/lumberjack" +SRC_URI="https://github.com/bdurand/lumberjack/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.8 )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die +} |