diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-06 12:54:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-06 12:54:39 +0000 |
commit | 56330f065f2b903d9e1b2dffc63719fef5897a45 (patch) | |
tree | 659a7ebca7cb9f7504b018c1484df84ba4f9ab01 /dev-ruby/tzinfo | |
parent | 1774f0a748546cbd792bf1eb44757b63be2e0114 (diff) |
gentoo auto-resync : 06:01:2024 - 12:54:38
Diffstat (limited to 'dev-ruby/tzinfo')
-rw-r--r-- | dev-ruby/tzinfo/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/tzinfo/files/tzinfo-2.0.6-ruby33.patch | 35 | ||||
-rw-r--r-- | dev-ruby/tzinfo/tzinfo-2.0.6.ebuild | 6 |
3 files changed, 41 insertions, 3 deletions
diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest index 2e0631a8eb5f..33cf32dfc77b 100644 --- a/dev-ruby/tzinfo/Manifest +++ b/dev-ruby/tzinfo/Manifest @@ -1,5 +1,6 @@ +AUX tzinfo-2.0.6-ruby33.patch 1053 BLAKE2B 805abba58bf8f8e1f6d72e846205380bfb386f0ceb1937a1b64e58f7b9e524640ae100b8d73a993e8a95a0ccff74eaa4a5ad7a63cea0c44efdd89c00e6f23c2d SHA512 ba2341ecd815efb85d779ae9a9fa1b3aac8fe79f37d7280f3990156c9dee921cbe7c0e9afbc50a65f7c7320af7356fd16a5d53df37abf3a81594765f215d66a5 DIST tzinfo-1.2.11.gem 166912 BLAKE2B 3fcd2917848a400ca8938914219ce3263638ab605df82a62bf42fc021e7930df9cc399e94668d03df529bff1396f0261fa6c5624c4084660ed12e7a756aea182 SHA512 21a00c464013c3122c8d647a59f7c6b6c6af6b303d3ee24226067482bcd27fd5f02a4cf51fa0b8d70d3e08831c084f54d5ffb8f6784cd1112d62dd0dff6e8aeb DIST tzinfo-2.0.6.tar.gz 226143 BLAKE2B 8a7918c0edc1e70f3b805dfcdc351d9ec78f42a66973ec7cb0a8bfad31d9ccdadefe93b941aca5c15510ff857bd8282046e8d20d02f308934e087de541c26383 SHA512 88af68b13becc4b6b85b4653df95e19e24d8804ac2b2393ef03cfe551b5eaee827a5aecd2156a56572d554dd5239ae828a65e5c49854671aa1989f5c31ba320d EBUILD tzinfo-1.2.11.ebuild 989 BLAKE2B 7f470d18358a6bbce30878cc61377c40d9ec0d68ac77d269ec1e9109df3762124d2b91efa8f2107bc05a3914af16ed76099b17af9fef0be59a5a80fe968fbc00 SHA512 36949cbe604df41085f46c138aea1dff2e376e8e6b5c430a53ca9b208a5b8e738546804a607359e955126abf3b45b15afe75def6e34ef2a57307a92d18c29c1b -EBUILD tzinfo-2.0.6.ebuild 1400 BLAKE2B 872d759204015bc9738985e9913f7611f9f651a435fab8ddf5fd80988dca2cd05f0b2d49af99d5680f89303803f65872e6fd53be155c60c468ad892e873aeb1b SHA512 84317c4becff242091fc20ace9977603bbca22ccd7bce6bd4a583ac7e90d47ee1b5b99bcddf2e28329ec4b99bb88e60b0cbb901cfccef01a461f3af8fab716f5 +EBUILD tzinfo-2.0.6.ebuild 1438 BLAKE2B 9b3db3142f78feaf6092a54283cff84b5022ac8c932489a1fa6f2afb843009de3a5ad382bbb760cb636e80daabb36673be218aca26d773237eda2b7cb55f6c1b SHA512 7caae3ac3634e8ffc0fc8d7a2dfc27d472e47da3d8e92e8a73839c931c487aed4a02995743d462197cf7394c10980d2c2fe148ae1cee82cdfa79715390874128 MISC metadata.xml 390 BLAKE2B 899629cf25c7046c47e5e6349fa812c5a0e68dfb3cc73df69c1492729992a4fb70c927671cd8847211fc1a3b86fa97844561dc97a442867c3181541824753ff7 SHA512 2b5ef8fce5c3f34ed25d124d0997fe20c1bb9a1ad880e5729a1d6ddb59a8e378fcead77155d4d81f39293d582eff9e8b32fb5f811b508a6764fe5bcc654ba926 diff --git a/dev-ruby/tzinfo/files/tzinfo-2.0.6-ruby33.patch b/dev-ruby/tzinfo/files/tzinfo-2.0.6-ruby33.patch new file mode 100644 index 000000000000..91a9843aab22 --- /dev/null +++ b/dev-ruby/tzinfo/files/tzinfo-2.0.6-ruby33.patch @@ -0,0 +1,35 @@ +From 9e04c58ce10920538dc55ba6e547aa15cff39a84 Mon Sep 17 00:00:00 2001 +From: Phil Ross <phil.ross@gmail.com> +Date: Sat, 16 Dec 2023 19:14:20 +0000 +Subject: [PATCH] Fix loading the gemspec file from rake with Ruby 3.3. + +Calculating the current directory name from within the gemspec would +fail. + +`__FILE__` was '(eval)' with Ruby < 3.3. `File.dirname(__FILE__)` is +'.'. + +`__FILE__` is '(eval at /path/Rakefile:linenumber)' with Ruby >= 3.3. +`File.dirname(__FILE__)` is '(eval at /path'. +--- + Rakefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Rakefile b/Rakefile +index 8a34fa33..69bee7b5 100644 +--- a/Rakefile ++++ b/Rakefile +@@ -11,11 +11,11 @@ rescue LoadError, RuntimeError + end + + BASE_DIR = File.expand_path(File.dirname(__FILE__)) ++GEMSPEC_PATH = File.join(BASE_DIR, 'tzinfo.gemspec') ++spec = TOPLEVEL_BINDING.eval(File.read(GEMSPEC_PATH), GEMSPEC_PATH) + + task default: [:test] + +-spec = eval(File.read('tzinfo.gemspec')) +- + class TZInfoPackageTask < Gem::PackageTask + alias_method :orig_sh, :sh + private :orig_sh diff --git a/dev-ruby/tzinfo/tzinfo-2.0.6.ebuild b/dev-ruby/tzinfo/tzinfo-2.0.6.ebuild index 9c78b15dae64..aebdb3e76137 100644 --- a/dev-ruby/tzinfo/tzinfo-2.0.6.ebuild +++ b/dev-ruby/tzinfo/tzinfo-2.0.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_TASK_TEST="test_zoneinfo" @@ -25,6 +25,8 @@ IUSE="" RDEPEND="sys-libs/timezone-data" DEPEND="test? ( sys-libs/timezone-data )" +PATCHES=( "${FILESDIR}/${P}-ruby33.patch" ) + ruby_add_rdepend "dev-ruby/concurrent-ruby:1" ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitest:5 )" |