diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-04-22 08:11:10 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-04-22 08:55:51 +0200 |
commit | d3878ddadef2e5504e014fb4b35b22c2a1c16f79 (patch) | |
tree | a87b1a89f27f158de44d8496c9cea988a67db9d8 /dev-ruby/simple-rss | |
parent | dev-ruby/simple_oauth: enable ruby31 (diff) | |
download | gentoo-d3878ddadef2e5504e014fb4b35b22c2a1c16f79.tar.gz gentoo-d3878ddadef2e5504e014fb4b35b22c2a1c16f79.tar.bz2 gentoo-d3878ddadef2e5504e014fb4b35b22c2a1c16f79.zip |
dev-ruby/simple-rss: update EAPI 6 -> 8, add ruby30, ruby31
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/simple-rss')
-rw-r--r-- | dev-ruby/simple-rss/simple-rss-1.3.3-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/simple-rss/simple-rss-1.3.3-r1.ebuild b/dev-ruby/simple-rss/simple-rss-1.3.3-r1.ebuild new file mode 100644 index 000000000000..42fe41ebb5fe --- /dev/null +++ b/dev-ruby/simple-rss/simple-rss-1.3.3-r1.ebuild @@ -0,0 +1,31 @@ +# 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_TASK_DOC="doc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby" +HOMEPAGE="https://github.com/cardmagic/simple-rss" +LICENSE="LGPL-2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +all_ruby_prepare() { + # Avoid dependency on bundler + sed -i -e '/bundler/d' \ + -e '/rubyforgepublisher/I s:^:#:' \ + Rakefile || die + + # Avoid tests that require unpackaged test data + sed -i -e '/@\(media_rss\|rss20_utf8\)/ s:^:#:' \ + -e '/test_rss_utf8/aomit "missing data"' \ + test/base/base_test.rb || die +} |