summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2025-08-14 17:25:18 +0200
committerHans de Graaff <graaff@gentoo.org>2025-08-14 18:00:23 +0200
commit9f0844f290bd46f1de4d2adb9ea296b0747f63f3 (patch)
tree5c613a740fedd28bcc6d9d7e3a6b82e37606351a
parent49401b9432928efe646800fb02e20f3f4f555b82 (diff)
downloadgentoo-9f0844f290bd46f1de4d2adb9ea296b0747f63f3.tar.gz
gentoo-9f0844f290bd46f1de4d2adb9ea296b0747f63f3.tar.bz2
gentoo-9f0844f290bd46f1de4d2adb9ea296b0747f63f3.zip
dev-ruby/activesupport: add 8.0.2.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/activesupport/Manifest1
-rw-r--r--dev-ruby/activesupport/activesupport-8.0.2.1.ebuild89
2 files changed, 90 insertions, 0 deletions
diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
index 32178220b684..2ef937ddb151 100644
--- a/dev-ruby/activesupport/Manifest
+++ b/dev-ruby/activesupport/Manifest
@@ -7,4 +7,5 @@ DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4
DIST rails-7.2.2.2.tgz 11190891 BLAKE2B c881c8b40f655332fd4f449b3f2450aa64f6ebd54bd1c5c859be6ef2fdf0c7155eb80eade2431d0cb00126e17fc9762a75c937f4f2a7e1fe0f8e915a92a680c9 SHA512 e8dc6bb0f6c70efee57f799cd2d746dcefc91586204cd7e1af25e7f03849099fdbdd141b9b219f1a3e1c33093cabe2c83b5e0ddd02826a7b6738864f2846085a
DIST rails-7.2.2.tgz 11171772 BLAKE2B 1b47171ea14c437b424152f6e4dbd28eeb7a302a1aca0c769405ee948d66f6cbfcc108f7a33d506111dfc1250f2a44b7b45aeb05b3e536833953814fc8523ff4 SHA512 6d3fbde739ceacfbd424bf94b9b9bae9e910c0e72b39e2f4c8c33b270b383b2d12022738e3f1f8a6e2c0e95a4759a99343ffe2e618ecee266e458308c14c5d39
DIST rails-8.0.1.tgz 11866108 BLAKE2B f4e39bb4c022b1203da860e3009a770a2d5b038b3d6cab8cded657079a228da79989e7f105ec5ba759a497f843ce12ea403aff8282be6cce08d31d795b1f7ca3 SHA512 e6dce354647b7a87a8c3dff77d6e686a8303ad05238f92adae46eb4cf924d44e304074b8d42946e88abc91dcf0c649ac88e1f2eb7062874f2443a4465604e37c
+DIST rails-8.0.2.1.tgz 11888790 BLAKE2B e6f22b5c9c9ec230416734657be6814cf8b76c92fbb1abe753cdef12f1762de0d8e44b858f676bb5ac4bb990f38f0994f832dab725d754da1d4b3b2f276f28a9 SHA512 3b7568bc7ab1b2f60fdc59c2ed3490e8af2eb65ee881157e2f5e738278071dd35404a299a39eb3048c6dcb4e79cae35bdf4ab5b93ff7542d13a6277d52b005e1
DIST rails-8.0.2.tgz 11880110 BLAKE2B 6866be952ba925dc27222c1636644d2af9aebb149ce6633940eaf102d4aa0a6f0d70af4062d58491b513759d77c0abe7b0400c230f7caf24e7d0f368590e16e6 SHA512 d359714b510efe2876b8c800cc1faba517f5586c50c755428b73bf8e659ba915d10390c9992bb2b6915b229ce86a801862d26bbd43be965e081cdb12c9bb8e21
diff --git a/dev-ruby/activesupport/activesupport-8.0.2.1.ebuild b/dev-ruby/activesupport/activesupport-8.0.2.1.ebuild
new file mode 100644
index 000000000000..ef10dfe49808
--- /dev/null
+++ b/dev-ruby/activesupport/activesupport-8.0.2.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Utility Classes and Extension to the Standard Library"
+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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="+msgpack test"
+REQUIRED_USE="test? ( msgpack )"
+
+PATCHES=( "${FILESDIR}/${PN}-7.1.1-backport-pr50097.patch" )
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ dev-ruby/base64
+ >=dev-ruby/benchmark-0.3
+ dev-ruby/bigdecimal
+ >=dev-ruby/concurrent-ruby-1.3.1:1
+ >=dev-ruby/connection_pool-2.2.5
+ dev-ruby/drb
+ >=dev-ruby/i18n-1.6:1
+ >=dev-ruby/logger-1.4.2
+ >=dev-ruby/minitest-5.1
+ >=dev-ruby/securerandom-0.3
+ >=dev-ruby/tzinfo-2.0.5:2
+ >=dev-ruby/uri-0.13.1
+ msgpack? ( >=dev-ruby/msgpack-1.7.0 )
+"
+
+# memcache-client, nokogiri, builder, and redis are not strictly needed,
+# but there are tests using this code.
+ruby_add_bdepend "test? (
+ >=dev-ruby/dalli-3.0.1
+ >=dev-ruby/nokogiri-1.8.1
+ >=dev-ruby/builder-3.1.0
+ >=dev-ruby/listen-3.3:3
+ || ( dev-ruby/rack:3.1 dev-ruby/rack:3.0 )
+ dev-ruby/rexml
+ dev-ruby/mocha
+ >dev-ruby/minitest-5.15.0:*
+ )"
+
+all_ruby_prepare() {
+ # Set the secure permissions that tests expect.
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
+
+ # 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\|execjs\|jquery-rails\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|libxml-ruby\|bootsnap\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|propshaft\|rack-test\|terser\|cgi\|net-smtp\|net-imap\|net-pop\|digest\|matrix\|web-console\|error_highlight\|jbuilder\|httpclient\|prism\|useragent\|solid\|kamal\|thruster\|aws-sdk\|launchy\)/ s:^:#:" \
+ -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \
+ -e '/^group :test/,/^end/ s:^:#:' \
+ -e '/^\s*group :\(db\|doc\|rubocop\|job\|cable\|lint\|mdl\|storage\|ujs\|test\|view\) do/,/^\s*end/ s:^:#:' \
+ -e 's/gemspec/gemspec path: "activesupport"/' \
+ -e '5igem "builder"' ../Gemfile || die
+ rm ../Gemfile.lock || die
+
+ # Avoid test that depends on timezone
+ sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
+
+ # Avoid tests that seem to trigger race conditions.
+ rm -f test/evented_file_update_checker_test.rb || die
+
+ # Avoid test that generates filename that is too long
+ sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
+
+ # Avoid tests requiring a live redis running
+ rm -f test/cache/stores/redis_cache_store_test.rb || die
+ sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
+ sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
+
+ # Avoid test where the result varies with specific ruby releases.
+ rm -f test/core_ext/object/duplicable_test.rb || die
+}