diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-04-12 19:11:50 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-04-12 19:20:50 +0200 |
commit | a5b0231040a2bf85a1d95f480364cd3845d092a3 (patch) | |
tree | 70ddd67f7fbb8afd9c4432ca70a6a81b11fd54fa /dev-ruby/roadie | |
parent | dev-ruby/roadie-rails: add 2.3.0 (diff) | |
download | gentoo-a5b0231040a2bf85a1d95f480364cd3845d092a3.tar.gz gentoo-a5b0231040a2bf85a1d95f480364cd3845d092a3.tar.bz2 gentoo-a5b0231040a2bf85a1d95f480364cd3845d092a3.zip |
dev-ruby/roadie: add 5.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/roadie')
-rw-r--r-- | dev-ruby/roadie/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/roadie/roadie-5.0.0.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/roadie/Manifest b/dev-ruby/roadie/Manifest index 717a37c6936a..520fc5a280cc 100644 --- a/dev-ruby/roadie/Manifest +++ b/dev-ruby/roadie/Manifest @@ -1 +1,2 @@ DIST roadie-4.0.0.tar.gz 50727 BLAKE2B 671c5260f4a181e4a50d136e4c6e96e96a3bb51adc7cd88d070b558af0d1d858e712a8f6d586aaea5c72b735db41a54ecb1833b74b3e76f7838a3323a69fb5f3 SHA512 ad42ff83c7983e8cce1506f6b72d66e47a860251749eebd3cd65c2114859d3d8a8103d309964aa53875cb07a83393b086fb6c58db88d95a84059abb514d12665 +DIST roadie-5.0.0.tar.gz 50262 BLAKE2B 94e2ecb83252ff1e3d20dd383cef5f65922dacf0febaaad8d5943890640f0bd7cc2774cb9f0bd87faff60dee9ea1ec27c562368f451ce8811faf968c172f661e SHA512 531de622ff3c96ec702e04238c512b3b64dd352a55151db2becac0d8dc1ca933b76914058130ff468030199b7dfe80e1bb89366db2bb3b86519f74911cd4ee29 diff --git a/dev-ruby/roadie/roadie-5.0.0.ebuild b/dev-ruby/roadie/roadie-5.0.0.ebuild new file mode 100644 index 000000000000..761869585c3e --- /dev/null +++ b/dev-ruby/roadie/roadie-5.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Making HTML emails comfortable for the Rails rockstars" +HOMEPAGE="https://github.com/Mange/roadie" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/css_parser-1.4.5 =dev-ruby/css_parser-1*" +ruby_add_bdepend "test? ( dev-ruby/rspec-collection_matchers dev-ruby/webmock )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e 's/git ls-files/find * -type f -print/' \ + -e '/test_files/d' \ + -e '/css_parser/ s/~>/>=/' ${RUBY_FAKEGEM_GEMSPEC} || die +} |