From 3c1648a0749c1d66b300d857e6b417c1162890da Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 27 May 2024 00:07:23 +0100 Subject: gentoo auto-resync : 27:05:2024 - 00:07:23 --- dev-ruby/roadie-rails/Manifest | 2 + dev-ruby/roadie-rails/roadie-rails-3.2.0.ebuild | 59 +++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 dev-ruby/roadie-rails/roadie-rails-3.2.0.ebuild (limited to 'dev-ruby/roadie-rails') diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest index f6c7ce0133e1..14ad17ac0053 100644 --- a/dev-ruby/roadie-rails/Manifest +++ b/dev-ruby/roadie-rails/Manifest @@ -1,5 +1,7 @@ DIST roadie-rails-3.0.0.tar.gz 62724 BLAKE2B d9e960f97a491724b80d3064304e4875b1a12e7570e6c6ed8c373bf0dc73cf0828d1c5f3cb2ea57c485bbca832ce9cd9ba5c7ca798c4695a36b0c7925826eb91 SHA512 061635e9d5d6c4f752f8f105c0fef0b0ac9cd46cec7669b43295fecb80fd2232e211f033af9f9fe457a3c2c6ea04921ffcc9abe6f8b375f2df8b8bc8bfa64512 DIST roadie-rails-3.1.0.tar.gz 76608 BLAKE2B b0adffa2ca6e5416a9f9e77cb86e3ba8766f1cc18a68edbf9f7c0dd5197e2d888c98ad6a46b6cb8b2dd75e0cf1abe59c528b49571144c895f357bbe07c3348d7 SHA512 d12a024eccce273558aaedc6100050c424fd564b5f2b88b27e14cc2d7817e79e5f36d8a4f8dae78104d6d57f0ce11dfe926d08109573d9c0f4e77bfd866683b3 +DIST roadie-rails-3.2.0.tar.gz 90816 BLAKE2B 546bc1f402c68a9ae60d240470d4e2ed706032b81319ec8ce9b59872f7bb6a102468516fc13412485cb038cb8332615ca36ab6f05b7cc5f6fba9d54bd2a41703 SHA512 10535af44fa490c2d5ab790b956055af64add14bb9eb92dedf5ec6317e1be219974195e30c5e03f876740693aafdba5e2b11c68817c8ad7fc0711262ec16c943 EBUILD roadie-rails-3.0.0-r1.ebuild 1915 BLAKE2B 1e5c581f6ef1f84a1a627d5b456cdba9c4d923bfce31cf223124c924b70ef6c5b3b3a4780550237fe2b71bf115e94020f6321fd53276ac3f6c387ad49c6e5384 SHA512 e6a9be921be51e94b019f7b6a57877fc2344b84597d80cbe51bbf4186cdd8fda3bb794d32fc2b738f0ea5844d6a668bbb6670d5126310cafebd168497046c944 EBUILD roadie-rails-3.1.0.ebuild 1980 BLAKE2B 7a43409c65219cf5412b6a607b418211d362352a82fc5574ff3acf3526eb625e86193ea0e0654edf519d479ee9ed20693191f32502df90f753dc605b4a25a519 SHA512 82ec53b95d6d370e9a2cbc4f8a06b3bd78ee4230eba2d5a2d87846c7565f5e8504c3d814b70441d6561bdd26ab1ac310122d70fca5fcaecf1757c22711655353 +EBUILD roadie-rails-3.2.0.ebuild 1980 BLAKE2B 4d567982c6570f5b564b01bb1f3747c9b975feb72094ca745f7931122bf81c7696cbb63ccbb08f0f129cb15f93d7057ee396bf7b8d099846d89fece7ea508b43 SHA512 0ea606ad4c12af1f0f2da6f880933739a754284ad4b684c3c91dae59c9c2233afcb9a28648b8f4691666014c2912dfe50a94cde524cf1bba006fe8c13604f7bd MISC metadata.xml 335 BLAKE2B 6ca09a61dab3b094b39d25ed398ddf94202e32c9173a7df990d8929cad1d19f12619c72f2cb69a735b2428c16c3e27183d3cc0efd213e419f6c4474264eb8a11 SHA512 f2b96e715dd1be8143e1562aeaf866198c9756af2137708a20b602831184e32e57056f9f9cc0e26001f2831c2764ce34510145879451ada4f37735796593bf4b diff --git a/dev-ruby/roadie-rails/roadie-rails-3.2.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-3.2.0.ebuild new file mode 100644 index 000000000000..5ef4f08166b6 --- /dev/null +++ b/dev-ruby/roadie-rails/roadie-rails-3.2.0.ebuild @@ -0,0 +1,59 @@ +# 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="Hooks Roadie into your Rails application to help with email generation" +HOMEPAGE="https://github.com/Mange/roadie-rails" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +ruby_add_rdepend "dev-ruby/roadie:5 + || ( dev-ruby/railties:7.0 dev-ruby/railties:6.1 )" +ruby_add_bdepend " + test? ( + dev-ruby/bundler + || ( dev-ruby/rails:7.0 dev-ruby/rails:6.1 ) + dev-ruby/rspec-rails + dev-ruby/rspec-collection_matchers + dev-ruby/sass-rails )" + +all_ruby_prepare() { + sed -i -e '/\(simplecov\|standard\)/ s:^:#:' Gemfile || die + sed -i -e 's/git ls-files/find * -print/' -e '/standard/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid already removed rails or versions incompatible with sass-rails + sed -i -e '/rails_\(51\|52\|60\|71\)/ s:^:#:' spec/integration_spec.rb || die + + # Avoid dependency on optional bootsnap + sed -i -e '/bootsnap/ s:^:#:' spec/railsapps/rails_*/Gemfile spec/railsapps/rails_*/config/boot.rb || die + + # Fix versioned sass-rails dependency + sed -i -e '/sass-rails/ s/>= 6/>=5/' spec/railsapps/*/Gemfile || die + + # Revert https://github.com/Mange/roadie-rails/commit/03acd8fddf651d43919e92db35d541ec4281c5fc for now + # Fragile test which is affected by dependency versions (unclear which) + sed -e 's/cd95a25e70dfe61add5a96e11d3fee0f29e9ba2b05099723d57bba7dfa725c8a/322506f9917889126e81df2833a6eecdf2e394658d53dad347e9882dd4dbf28e/' \ + -i spec/integration_spec.rb || die + +} + +each_ruby_prepare() { + sed -i -e '/run_in_app_context/ s:bin/rails:'${RUBY}' -S bin/rails:' spec/support/rails_app.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +} -- cgit v1.2.3