summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-02-09 08:46:32 +0100
committerHans de Graaff <graaff@gentoo.org>2024-02-09 08:46:32 +0100
commit91f50fad0096a1f3652c80c4d8503ec49207e7e9 (patch)
treede03b4aee5f220ed222a103964b1257beb0699f2
parentdev-ruby/request_store: add 1.6.0 (diff)
downloadgentoo-91f50fad0096a1f3652c80c4d8503ec49207e7e9.tar.gz
gentoo-91f50fad0096a1f3652c80c4d8503ec49207e7e9.tar.bz2
gentoo-91f50fad0096a1f3652c80c4d8503ec49207e7e9.zip
dev-ruby/roadie: add 5.2.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/roadie/Manifest1
-rw-r--r--dev-ruby/roadie/roadie-5.2.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/roadie/Manifest b/dev-ruby/roadie/Manifest
index 9d19aac73ee9..b7cf0b01988e 100644
--- a/dev-ruby/roadie/Manifest
+++ b/dev-ruby/roadie/Manifest
@@ -1,2 +1,3 @@
DIST roadie-5.1.0.tar.gz 50866 BLAKE2B efab67901951f36877cf5f4a41e604e69f672f4ba3b774a26992de947d52b8e1f1c1bf10b4d36212b80542942d29be066184fe4237ac31895ac5bbb2ca27ae80 SHA512 490a5def87bd2a33eff732fc144881fc23e8838ccbd7392a0ecabcde2eb7736445a94eb0580080d616f7c6594c63da6455f1b55636dd542372569bee4a70de78
DIST roadie-5.2.0.tar.gz 50870 BLAKE2B ba78087e07d9135341dbe6cee3b4ff2c9a54ae8a98315447ac38b4af1f0a19b61151c209f28e5c279d87d0de97de8da517aa8313fb867babfa400e6c8f3f07cd SHA512 76123aa4d01fe847693358ceae26048510fa5c18a1489a09f09ffeffcc021baf156330a5d75fc1326936b9605a034dfa8987bb29deaa11c1e8b7bd0493054e5e
+DIST roadie-5.2.1.tar.gz 50799 BLAKE2B 9a3a228a5242d6260604ddf44fb3d804c65bf391091b3b54ff63f19b794a46cce6a963490afe497b0bb0c763204d47f33e30d0e86954d1ef50c09bc28773b764 SHA512 3cbd7026f2a4712ff1541c9584590d5bd9f1a45f18d5275ecd16b8300ae87acab47756626f9eb4b6dba200d57e040f38e0ae9e6a3bac6a0fdf3815605d2ded80
diff --git a/dev-ruby/roadie/roadie-5.2.1.ebuild b/dev-ruby/roadie/roadie-5.2.1.ebuild
new file mode 100644
index 000000000000..734e616ccebc
--- /dev/null
+++ b/dev-ruby/roadie/roadie-5.2.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+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="test"
+
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.15: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
+}