diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-02-23 06:46:35 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-02-23 06:46:35 +0100 |
commit | c4747cd57ecbd44adf0cf9d27236ce0789ac495a (patch) | |
tree | 432d7ca94951b5996a4988949daf64c9ae0884d6 /dev-ruby/backports | |
parent | sys-process/parallel: Stabilize 20220122 amd64, #833927 (diff) | |
download | gentoo-c4747cd57ecbd44adf0cf9d27236ce0789ac495a.tar.gz gentoo-c4747cd57ecbd44adf0cf9d27236ce0789ac495a.tar.bz2 gentoo-c4747cd57ecbd44adf0cf9d27236ce0789ac495a.zip |
dev-ruby/backports: add 3.23.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/backports')
-rw-r--r-- | dev-ruby/backports/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/backports/backports-3.23.0.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest index e6a8a1862920..890a4bee0d14 100644 --- a/dev-ruby/backports/Manifest +++ b/dev-ruby/backports/Manifest @@ -1,2 +1,3 @@ DIST backports-3.20.2.tar.gz 178633 BLAKE2B 2e2f2f31099763bb218f3ada9f9d040d4b41fc842bbc8b91d703e91b89bab9d6e7bbf3aae1ecfe34abe6099d6cb34929ae72ba66d4ee473841563257fa85cf3c SHA512 a91a2c9186315fca8e0b33554ef26986abe8565e08a79b9f150f8115f998b2a7a440bbc64b92f89c4e95e1c5e852bfeea6ab337804cf017517e77229f10820e5 DIST backports-3.21.0.tar.gz 178706 BLAKE2B b895655fbbd15e99021f3d9d4f5efe84957c43cffc4e6442a286494624af3d9afa50933cb9f46d86a752c2aa1f52e867d4063e5f8357c969c7ade75b38566f52 SHA512 9d3a5315d412f16c28172121f7b64b424d3728e76c2b9b4466937572bc922f595f5b56caa265e9b03ed44ca64643c36086d60ddc1ff8799e11d953dc75aaee65 +DIST backports-3.23.0.tar.gz 181501 BLAKE2B ef9841366b27b19837e61177f727cbd0acd58650cebab03329c174d699147fadfe51b4ac404d11332e681285c5f0ddcf387bdf6304237ff32c77048a1f5670b6 SHA512 b5b16b78c4dfbadbd60735b29541268cc6446f283ad686add208974fb861b270ffc46ec3cb6702c2ecf760e0de83d31025dbeba90e79383ffda6b4ca0b52a06c diff --git a/dev-ruby/backports/backports-3.23.0.ebuild b/dev-ruby/backports/backports-3.23.0.ebuild new file mode 100644 index 000000000000..bae239847268 --- /dev/null +++ b/dev-ruby/backports/backports-3.23.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_GEMSPEC="backports.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Backports of Ruby features for older Ruby" +HOMEPAGE="https://github.com/marcandre/backports" +SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die + + sed -i -e '/rubocop/I s:^:#:' Rakefile || die +} |