diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-05-17 07:32:18 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-05-17 07:32:18 +0200 |
commit | 35e2e5d274f340dade0010eff3381a72677538da (patch) | |
tree | 8efe5f8a5cdd8b93729ab2f8690d4a06e748db3f /dev-ruby | |
parent | dev-ruby/psych: add 4.0.4 (diff) | |
download | gentoo-35e2e5d274f340dade0010eff3381a72677538da.tar.gz gentoo-35e2e5d274f340dade0010eff3381a72677538da.tar.bz2 gentoo-35e2e5d274f340dade0010eff3381a72677538da.zip |
dev-ruby/roadie: add 5.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/roadie/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/roadie/roadie-5.0.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/roadie/Manifest b/dev-ruby/roadie/Manifest index 520fc5a280cc..f7f2ac0a8f54 100644 --- a/dev-ruby/roadie/Manifest +++ b/dev-ruby/roadie/Manifest @@ -1,2 +1,3 @@ DIST roadie-4.0.0.tar.gz 50727 BLAKE2B 671c5260f4a181e4a50d136e4c6e96e96a3bb51adc7cd88d070b558af0d1d858e712a8f6d586aaea5c72b735db41a54ecb1833b74b3e76f7838a3323a69fb5f3 SHA512 ad42ff83c7983e8cce1506f6b72d66e47a860251749eebd3cd65c2114859d3d8a8103d309964aa53875cb07a83393b086fb6c58db88d95a84059abb514d12665 DIST roadie-5.0.0.tar.gz 50262 BLAKE2B 94e2ecb83252ff1e3d20dd383cef5f65922dacf0febaaad8d5943890640f0bd7cc2774cb9f0bd87faff60dee9ea1ec27c562368f451ce8811faf968c172f661e SHA512 531de622ff3c96ec702e04238c512b3b64dd352a55151db2becac0d8dc1ca933b76914058130ff468030199b7dfe80e1bb89366db2bb3b86519f74911cd4ee29 +DIST roadie-5.0.1.tar.gz 50380 BLAKE2B 38cbc3697aacc4932ec817be2face87e0eeb89b9de6053b753b4db1aadf7ef4d3205148a43a722f9d0691c3200e23d1d4cb345adb8deaebfdfa13c63238a4361 SHA512 a23aafd9cf6b21ac3ca00a29bcbf40b7c11366c09f013a31d0bc92194729735dda3370e43700fce88a3cd1e1fccfc7089b3fe126a4f95ab71f3b93a85670d623 diff --git a/dev-ruby/roadie/roadie-5.0.1.ebuild b/dev-ruby/roadie/roadie-5.0.1.ebuild new file mode 100644 index 000000000000..761869585c3e --- /dev/null +++ b/dev-ruby/roadie/roadie-5.0.1.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 +} |