diff options
author | 2024-08-19 07:23:02 +0200 | |
---|---|---|
committer | 2024-08-19 07:23:02 +0200 | |
commit | d650540ad431d2574665640bab2734aaf42ca2ad (patch) | |
tree | e606dc2faa58c5f8050c05bf8f330598e798613f | |
parent | app-laptop/inputmodule-control: new package, add 0.2.0 (diff) | |
download | graaff-master.tar.gz graaff-master.tar.bz2 graaff-master.zip |
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r-- | dev-ruby/rubocop-ast/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rubocop-ast/rubocop-ast-1.32.1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/rubocop-ast/Manifest b/dev-ruby/rubocop-ast/Manifest index 9968598a..96fb75db 100644 --- a/dev-ruby/rubocop-ast/Manifest +++ b/dev-ruby/rubocop-ast/Manifest @@ -2,3 +2,4 @@ DIST rubocop-ast-1.30.0.tar.gz 130794 BLAKE2B 47774c812912e8f964f68931bd2a7b4d96 DIST rubocop-ast-1.31.2.tar.gz 132482 BLAKE2B 6c88f11db05be7628ea3e2bcfa33c25ce84235e057d8f1dd1b53ab4d93df81b5e8c0285a61934d1d25bc0024b5d279fd5978ed2e3ee0b39f92e551bc9bd6fc61 SHA512 5383808a39e2cb977034130bb56e7ab16c1ed6cf5b2d7b0fb4323748d0bceb1559edfa461d57d669f21a955293601dfb817e99a1facab82130a63286cb38e1f6 DIST rubocop-ast-1.31.3.tar.gz 132743 BLAKE2B 35921033aac6186b22400596f46bb6528681fe6abb65fa3e6ad4337ab3634404ab022152cf3b298e6cbad08a29d6ed582b8e952506985eeca8989cabcd22668e SHA512 d0c63dcd322486f2022b8b977c46ab88605738f2dca382fbc7caf763d57ffcaf4a076ac34ce08736f00b80a2dc3c1453f07a7d84f806590698941e00422a23bc DIST rubocop-ast-1.32.0.tar.gz 132851 BLAKE2B 9b011bb749581bd92f4333ce1c50aa1ac266779b1c4e6bb910fdde645a14a0ccddc18ad5b1ccd5376073d3d2f9a5ea9dd9c55e226984ff6ea6f0e00b64d9168d SHA512 56b428bf115561fbaf3c66648a2011912df561169d94ced49c2ac1293c8ecc63e8a48d01298c5b340d20af259bfb5e415a3fc143554bb72aa1b9c286d5cdf7bd +DIST rubocop-ast-1.32.1.tar.gz 132929 BLAKE2B e4408f50a281a77a468fe9e129421e4fcdce4401c9cf0f609dd3a79987ece362d8c0163387714a21a332ba2c5ad7b2a6ee766ecdd58040181b487eeb609f253b SHA512 9eae798023e4a06a6ce3143c276f15eb15a3b5715f08c6a619913e3111eea2af5ba9937f1dfc0eeec88f3ed248eaa62c77991d8a421dff9069a713a7c24d0ae8 diff --git a/dev-ruby/rubocop-ast/rubocop-ast-1.32.1.ebuild b/dev-ruby/rubocop-ast/rubocop-ast-1.32.1.ebuild new file mode 100644 index 00000000..e4e19add --- /dev/null +++ b/dev-ruby/rubocop-ast/rubocop-ast-1.32.1.ebuild @@ -0,0 +1,51 @@ +# 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_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="rubocop-ast.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="RuboCop's Node and NodePattern classes" +HOMEPAGE="https://github.com/rubocop/rubocop-ast" +SRC_URI="https://github.com/rubocop/rubocop-ast/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" + +ruby_add_rdepend " + >=dev-ruby/parser-3.3.1.0 +" + +ruby_add_bdepend "dev-ruby/bundler >=dev-ruby/oedipus_lex-2.6.0 dev-ruby/racc dev-ruby/rspec:3" + +all_ruby_prepare() { + sed -e 's/git ls-files/find/' -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '3irequire "uri" ; gem "parser"' spec/spec_helper.rb || die + sed -i -e '1irequire "oedipus_lex"' tasks/compile.rake || die + + # Avoid unneeded dependencies + rm -f tasks/cut_release.rake || die + sed -e "/\(gemspec\|bump\|pry\|'rubocop\|simplecov\)/ s:^:#:" \ + -e '/rake/ s/~> 13.0/>= 12/' \ + -e '/prism/ s:^:#:' \ + -i Gemfile || die + + rm -f tasks/check_commit.rake || die +} + +each_ruby_prepare() { + sed -i -e "s:bundle exec:${RUBY} -S:" tasks/compile.rake || die +} + +each_ruby_compile() { + ${RUBY} -S rake generate || die +} |