[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 025/223] gnu: ruby-rubocop-rspec: Update to 2.19.0 an
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 025/223] gnu: ruby-rubocop-rspec: Update to 2.19.0 and inverse inheritance relationship. |
Date: |
Mon, 20 Mar 2023 13:13:17 -0400 |
* gnu/packages/ruby.scm (ruby-rubocop-rspec): Update to 2.18.1.
[arguments]: Delete trailing #t. Change TEST-TARGET to "spec". Remove phases.
[native-inputs]: Replace ruby-rubocop-performance with
ruby-rubocop-performance-minimal. Add ruby-bump and
ruby-rubocop-rake-minimal.
(ruby-rubocop-rspec-minimal): Reverse inheritance relationship; this package
is now the base package.
---
gnu/packages/ruby.scm | 62 ++++++++++++++++++++-----------------------
1 file changed, 29 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 44ac7fb538..d2e9854904 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1602,49 +1602,45 @@ (define ruby-rubocop-rake-minimal
(home-page "https://github.com/rubocop/rubocop-rake")
(license license:expat)))
-(define-public ruby-rubocop-rspec
+;;; A minimal variant used to build ruby-rubocop itself.
+(define ruby-rubocop-rspec-minimal
(package
(name "ruby-rubocop-rspec")
- (version "2.2.0")
+ (version "2.19.0")
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/rubocop-hq/rubocop-rspec")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0gdpjpympb6qc77bang759z7z6lckf14ghkx8v6614agxg8l3g5y"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rubocop-hq/rubocop-rspec")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0mgjyrzi8r44v3gb8xscdwspirz9kqkaf7zlsjhhlxr0di0rlj2r"))))
(build-system ruby-build-system)
- (arguments
- '(#:test-target "internal_investigation"
- #:phases
- (modify-phases %standard-phases
- (add-before 'check 'set-HOME
- (lambda _
- (setenv "HOME" "/tmp")
- #t)))))
- (propagated-inputs
- (list ruby-rubocop ruby-rubocop-ast))
- (native-inputs
- (list ruby-rack ruby-rspec ruby-rubocop-performance ruby-simplecov
- ruby-yard))
+ (arguments (list #:tests? #f)) ;avoid extra dependencies
(synopsis "Code style checking for RSpec files")
(description "This package provides a plugin for the RuboCop code style
enforcing & linting tool.")
(home-page "https://github.com/rubocop-hq/rubocop-rspec")
(license license:expat)))
-(define-public ruby-rubocop-rspec-minimal
- (hidden-package
- (package
- (inherit ruby-rubocop-rspec)
- (arguments
- (substitute-keyword-arguments (package-arguments ruby-rubocop-rspec)
- ((#:tests? _ #f) #f)))
- (propagated-inputs '())
- (native-inputs '()))))
+(define-public ruby-rubocop-rspec
+ (package
+ (inherit ruby-rubocop-rspec-minimal)
+ (arguments '(#:test-target "spec"))
+ (native-inputs
+ (list ruby-bump
+ ruby-rack
+ ruby-rspec
+ ruby-rubocop-performance-minimal
+ ruby-rubocop-rake-minimal
+ ruby-simplecov
+ ruby-yard))
+ (propagated-inputs
+ (list ruby-rubocop
+ ruby-rubocop-ast
+ ruby-rubocop-capybara))))
(define-public ruby-rubocop-performance
(package
--
2.39.1
- [bug#62196] [PATCH 094/223] gnu: Add ruby-sorbet-runtime., (continued)
- [bug#62196] [PATCH 094/223] gnu: Add ruby-sorbet-runtime., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 089/223] gnu: Add ruby-rake-compiler-dock., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 095/223] gnu: Add ruby-rdiscount., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 101/223] gnu: ruby-sawyer: Update to 0.9.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 096/223] gnu: Add ruby-ruby2-keywords., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 083/223] gnu: ruby-webrick: Update to 1.8.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 077/223] gnu: Add ruby-rack-next., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 028/223] gnu: ruby-thor: Update to 1.2.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 057/223] gnu: ruby-railties: Update to 7.0.4.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 100/223] gnu: ruby-faraday: Propagate ruby-faraday-net-http., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 025/223] gnu: ruby-rubocop-rspec: Update to 2.19.0 and inverse inheritance relationship.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 039/223] gnu: ruby-rake: Update to 13.0.6., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 102/223] gnu: ruby-pry-byebug: Avoid depending on ruby-chandler., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 105/223] gnu: Remove ruby-chandler., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 103/223] gnu: ruby-pry-byebug: Update to 3.10.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 107/223] gnu: Add ruby-faraday-multipart., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 104/223] gnu: ruby-byebug: Do not depend on ruby-chandler., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 106/223] gnu: Add ruby-multipart-parser., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 112/223] gnu: ruby-bandwidth-iris: Update to 7.0.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 108/223] gnu: ruby-maxitest: Update to 4.4.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 114/223] gnu: Add ruby-mapping., Maxim Cournoyer, 2023/03/20