summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-11-26 17:07:29 +0100
committerHans de Graaff <graaff@gentoo.org>2022-11-26 17:08:49 +0100
commit7c31280d8191c075dd8399ad05e3613efcf72b7f (patch)
tree60533f2b2f09ee6cc5111157a9d1201abbe32c71 /dev-ruby
parentdev-ruby/regexp_parser: drop 2.3.1, 2.5.0 (diff)
downloadgentoo-7c31280d8191c075dd8399ad05e3613efcf72b7f.tar.gz
gentoo-7c31280d8191c075dd8399ad05e3613efcf72b7f.tar.bz2
gentoo-7c31280d8191c075dd8399ad05e3613efcf72b7f.zip
dev-ruby/roadie: add 5.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/roadie/Manifest1
-rw-r--r--dev-ruby/roadie/roadie-5.1.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/roadie/Manifest b/dev-ruby/roadie/Manifest
index f7f2ac0a8f54..69326ea17586 100644
--- a/dev-ruby/roadie/Manifest
+++ b/dev-ruby/roadie/Manifest
@@ -1,3 +1,4 @@
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
+DIST roadie-5.1.0.tar.gz 50866 BLAKE2B efab67901951f36877cf5f4a41e604e69f672f4ba3b774a26992de947d52b8e1f1c1bf10b4d36212b80542942d29be066184fe4237ac31895ac5bbb2ca27ae80 SHA512 490a5def87bd2a33eff732fc144881fc23e8838ccbd7392a0ecabcde2eb7736445a94eb0580080d616f7c6594c63da6455f1b55636dd542372569bee4a70de78
diff --git a/dev-ruby/roadie/roadie-5.1.0.ebuild b/dev-ruby/roadie/roadie-5.1.0.ebuild
new file mode 100644
index 000000000000..bb0dc9eac450
--- /dev/null
+++ b/dev-ruby/roadie/roadie-5.1.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="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
+}