gnu: ruby-rubocop-ast: Update to 1.4.1.
* gnu/packages/ruby.scm (ruby-rubocop-ast): Update to 1.4.1. [arguments]: Remove 'disable-bundler phase. Add 'generate-lexer phase. [native-inputs]: Add ruby-oedipus-lex, ruby-pry, ruby-racc, ruby-rake, ruby-simplecov.
This commit is contained in:
		
							parent
							
								
									8c7f4e180a
								
							
						
					
					
						commit
						6e3a85192c
					
				
					 1 changed files with 11 additions and 7 deletions
				
			
		| 
						 | 
					@ -6978,7 +6978,7 @@ inspired by the Sinatra microframework style of specifying actions:
 | 
				
			||||||
(define-public ruby-rubocop-ast
 | 
					(define-public ruby-rubocop-ast
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "ruby-rubocop-ast")
 | 
					    (name "ruby-rubocop-ast")
 | 
				
			||||||
    (version "0.3.0")
 | 
					    (version "1.4.1")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method git-fetch)               ;no test suite in distributed gem
 | 
					       (method git-fetch)               ;no test suite in distributed gem
 | 
				
			||||||
| 
						 | 
					@ -6988,16 +6988,15 @@ inspired by the Sinatra microframework style of specifying actions:
 | 
				
			||||||
       (file-name (git-file-name name version))
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
         "1ycf6qcj8nbzk2js72priim4642lkn56w5kbny1nlryjkckxgm04"))))
 | 
					         "1x2m7k4bn4zvvwmj7imzmv0dav6xnrbcvssad1m5lkprx7h5lzkq"))))
 | 
				
			||||||
    (build-system ruby-build-system)
 | 
					    (build-system ruby-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:test-target "spec"
 | 
					     `(#:test-target "spec"
 | 
				
			||||||
       #:phases (modify-phases %standard-phases
 | 
					       #:phases (modify-phases %standard-phases
 | 
				
			||||||
                  (add-after 'unpack 'disable-bundler
 | 
					                  (add-before 'build 'generate-lexer
 | 
				
			||||||
                    (lambda _
 | 
					                    (lambda _
 | 
				
			||||||
                      (substitute* "Rakefile"
 | 
					                      (setenv "RUBOCOP_VERSION" "none")
 | 
				
			||||||
                        (("Bundler\\.setup.*") "nil\n"))
 | 
					                      (invoke "rake" "generate")))
 | 
				
			||||||
                      #t))
 | 
					 | 
				
			||||||
                  (replace 'replace-git-ls-files
 | 
					                  (replace 'replace-git-ls-files
 | 
				
			||||||
                    (lambda _
 | 
					                    (lambda _
 | 
				
			||||||
                      (substitute* "rubocop-ast.gemspec"
 | 
					                      (substitute* "rubocop-ast.gemspec"
 | 
				
			||||||
| 
						 | 
					@ -7006,7 +7005,12 @@ inspired by the Sinatra microframework style of specifying actions:
 | 
				
			||||||
                      #t)))))
 | 
					                      #t)))))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("ruby-bump" ,ruby-bump)
 | 
					     `(("ruby-bump" ,ruby-bump)
 | 
				
			||||||
       ("ruby-rspec" ,ruby-rspec)))
 | 
					       ("ruby-oedipus-lex" ,ruby-oedipus-lex)
 | 
				
			||||||
 | 
					       ("ruby-pry" ,ruby-pry)
 | 
				
			||||||
 | 
					       ("ruby-racc" ,ruby-racc)
 | 
				
			||||||
 | 
					       ("ruby-rake" ,ruby-rake)
 | 
				
			||||||
 | 
					       ("ruby-rspec" ,ruby-rspec)
 | 
				
			||||||
 | 
					       ("ruby-simplecov" ,ruby-simplecov)))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("ruby-parser" ,ruby-parser)))
 | 
					     `(("ruby-parser" ,ruby-parser)))
 | 
				
			||||||
    (synopsis "RuboCop's AST extensions and NodePattern functionality")
 | 
					    (synopsis "RuboCop's AST extensions and NodePattern functionality")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue