diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-25 14:56:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-25 14:56:25 +0100 |
commit | 5c42677148c717eb9f4673237db807f74740b4e9 (patch) | |
tree | ee9f721e91477693459f31721790f2f41839a74c /dev-ruby/actionview | |
parent | c9b5a916efac64df2a39870a92cc6b67116d1b9f (diff) |
gentoo auto-resync : 25:08:2024 - 14:56:25
Diffstat (limited to 'dev-ruby/actionview')
-rw-r--r-- | dev-ruby/actionview/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/actionview/actionview-7.2.1.ebuild | 87 |
2 files changed, 89 insertions, 0 deletions
diff --git a/dev-ruby/actionview/Manifest b/dev-ruby/actionview/Manifest index 4006e7ae6969..44241a2d7ab4 100644 --- a/dev-ruby/actionview/Manifest +++ b/dev-ruby/actionview/Manifest @@ -5,6 +5,7 @@ DIST rails-7.0.8.4.tgz 11082427 BLAKE2B 2ca521ad92b7a33fa2160b4cfbc1aac826641d2a DIST rails-7.1.3.3.tgz 10905515 BLAKE2B b2be6d8922d15478136875ac80d65fdc54bdf4a03ec17cddc20c20ae847f08fd52a2b1110ed27feb0217f4aa8dd827a8d95847e32eceaf8f5979843312f12a2a SHA512 0d108654a9ab2a9321822742906c4848508e0e4e09600c01bd5a86deeb324540bbae520a954499c4cc83bfe1246f929a581d1667f2b50c463d0bf8187f603df9 DIST rails-7.1.3.4.tgz 10917333 BLAKE2B 3266de2a86f8b107b18117c06115db14791bb98d672403eff28673e9d98df5e2c9a6c30f72d4141cd1f051054f2d5e1f636a93de9b14114cefef384fded7942a SHA512 4c303be256707b5bbedc05bf5bac7c60ff03cb8a14fa3d709a495d07ad1745d6c6f4d5dceb9860afff46f95f3f9fc525d1bcb75894a5b31a9d35f1aa6b105c5e DIST rails-7.1.4.tgz 10926853 BLAKE2B e1e62f95453fa0137337f40291614265ae4d8e6bedf496e0402f160ce938418760dcd850c37e82a7c9dd530dfe442b0f9b22d122dc80f1ff61c5c76244999416 SHA512 67770018663d930cb710fb08358c7d9c9d391a4c721212c55b60c4827f8cbdb38e55ee551b598e93244beba18f9c4c21dfdf6000e67880ac95345a70ff2e0841 +DIST rails-7.2.1.tgz 11065899 BLAKE2B 7858184a6e5ed07af56566e84d9ccdacf9d37ae3cb0a60ce09f632db782b5f97b3298c1a48147c2cb94b420e8186721ca00d9eff25ecee33f03c5348923e5fa5 SHA512 3ba68311f5b15fac647047d5e2bdbf0bf088ee4bd1208f3a47064cc7bc10794bf28f94aaabf410b773c6ff90638c8f08ebb74297855a303d080ffea9e96d25ef EBUILD actionview-6.1.7.7.ebuild 2566 BLAKE2B 31cfa532df32fd619fdbe44175cf83db7a5b26179eb7cf69f8fc19975d4b47038d9f87dfef813ba82b1ab9ab352b8fe733bcd27896c23baff2956199ba40692d SHA512 0aaa22bdd1fc77e78994979a67511f2b9a002cd48139064c1b0fe609c078979258b8ced72ef5344a71b2df5ab111568f044368da908cd0e7270c0851b308e7d2 EBUILD actionview-6.1.7.8.ebuild 2579 BLAKE2B 8f94d5078b3e368b5bfb49defcf10e27aa1942c555ab917a6fac93857282c9869a67f3aa6a069d8064b481ac74e2137e2e1737c8a9bc33b9fa707977c6801e78 SHA512 c3f132adbe7c6c0254f667a6f42539b76867d96a55c0744d37b981e717979a810ea09ce84a4265660ce1750bca1b1c470da244feb287ca3a97c9ea7dd8b14b70 EBUILD actionview-7.0.8.3.ebuild 2614 BLAKE2B fe0f388e081108c1b733feae3272b5e0988788c5cb47ebc482fccca6a742f54db4ceaf34242e683132dcda3cc065c1bc94c7cf8f4f5edd923f2684f3e8fca32c SHA512 8c83b39d9ae993436396d692248ef95b43bdcb069755e2bcefdd7027059f03ab606fdbc7cc93a6c3525b8021a3f963117decef7553d2be7f045d5171f2ff3aae @@ -12,4 +13,5 @@ EBUILD actionview-7.0.8.4.ebuild 2613 BLAKE2B 8e9658c4b2c681e83d66f1c9533dafa031 EBUILD actionview-7.1.3.3.ebuild 2507 BLAKE2B 1113180b34d7930c3bbd77b20a7057afee7dfa710206f58b515a3c4be7e0659df6388b9c989ac458efd7f993a577bc5eb5dc409d1db91060d4ce9378d42b5555 SHA512 49212131d423bae7ef780e670b3c23a5689605a40f7e6265dd6968f7d8c068a6a2124f37a1b47befad99fecb19d037be8b264882e50671c3ff25c5c3adc20d79 EBUILD actionview-7.1.3.4.ebuild 2527 BLAKE2B 80accf3f45bd0a239a1f24bef047220304bd913b88a265a73d0e555f0f9fa1b3279a52976f9a295e6582f2593631adf607295b5f005f6164df978f879bdbb89b SHA512 862e97733201f7c105549b8e978509fba4a1447b57330446e52782b63e719b17087d55a7a66dcf9c7f4896cb06002a811a288bb2b269630b754d89e2a5b183b5 EBUILD actionview-7.1.4.ebuild 2597 BLAKE2B 321fc089ca60d27daaa8df2a70c4abb8d4912b3baa3563d3ecb5e4bf22dac018bbbfb828c7ae5c38c6a975032c86fcc0b20bceb7f3326df9906ddf229a47372e SHA512 5b837cc65bdb74a92666f3cb390f89ff837aa39730d218e2081cadda20385530fc1f4a92e30a6d6a803c41a0c3e3f5736c24563a8d34364f695ef87cccc53e67 +EBUILD actionview-7.2.1.ebuild 2795 BLAKE2B 6ac4f5a485640ff939c5a843177d3c8aae7480b00650547299489ab98aa3f3fb20b1b1afb06318833d88c57ec0f5a5ab2f29d0e82eb5afd338fc870e1e64bb81 SHA512 1e392023ab5a32fec6e6735e05838b73580062fc82f4ed31ba4340b4ad7575434f49decaf4be4d9d1d8db4418b1f34952b6365acb08166bee7a4c8788fae114f MISC metadata.xml 338 BLAKE2B f32f1ecbd729e4e6162f22cdb9bfe1fbb1284c8b7f021d8207a1a54d2543b0e9866e775d550360dd01ef4f4eb92e96064a8416476c7047853034ea05479eb6e7 SHA512 24fd0d8ea6e3cd5514e5049b7e064b7e3e667ea14978cc7cf620e9c1b020bdc7caf7dbec97ccbf92c2f4c657fff3e9151d6f2af103b3d9c3cc5181cb3a81a295 diff --git a/dev-ruby/actionview/actionview-7.2.1.ebuild b/dev-ruby/actionview/actionview-7.2.1.ebuild new file mode 100644 index 000000000000..8ff948034e09 --- /dev/null +++ b/dev-ruby/actionview/actionview-7.2.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc" +IUSE="test" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:* + >=dev-ruby/erubi-1.11:0 + >=dev-ruby/rails-dom-testing-2.2:2 + >=dev-ruby/rails-html-sanitizer-1.6:1 +" + +ruby_add_bdepend " + test? ( + dev-ruby/capybara + dev-ruby/mocha + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/railties-${PV} + dev-ruby/sqlite3 + dev-ruby/minitest:5 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Fix loading of activerecord integration tests. This avoids loading + # activerecord twice and thus redefining constants leading to + # failures. Bug #719342 + sed -e '/abstract_unit/arequire "active_record" ; require "active_record/fixtures"' \ + -e '/defined/ s/FixtureSet/ActiveRecord::FixtureSet/' \ + -i test/active_record_unit.rb || die + + sed -e '3irequire "ostruct"' \ + -i test/abstract_unit.rb || die + + # Avoid test failing on capitalization difference + sed -e '/test_raise_arg_overrides_raise_config_option/askip "Capitalization difference"' \ + -i test/template/translation_helper_test.rb || die + + # Remove tests that are coupled to the Sanitizer (already removed upstream) + sed -e '/test_sanitized_allowed_\(tags_class_method\|attributes_class_method\)/askip "Removed upstream"' \ + -i test/template/sanitize_helper_test.rb || die +} + +each_ruby_prepare() { + # The new prism parser is currently unpackaged and only included with ruby33. + case ${RUBY} in + *ruby31|*ruby32) + sed -e '/prism/ s:^:#:' \ + -e '/PrismRubyTrackerTest/,/^end/ s:^:#:' \ + -i test/template/dependency_tracker_test.rb || die + ;; + esac +} |