[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 216/223] gnu: ruby-autoprefixer-rails: Update to 10.4
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 216/223] gnu: ruby-autoprefixer-rails: Update to 10.4.13.0. |
Date: |
Mon, 20 Mar 2023 13:29:26 -0400 |
* gnu/packages/rails.scm (ruby-autoprefixer-rails): Update to 10.4.13.0.
[source]: Fetch via git.
[phases]: Rename remove-unnecessary-dependencies to relax-requirements and
update phase.
[native-inputs]: Remove ruby-sass. Add ruby-sassc-rails, ruby-sprockets and
ruby-standard.
---
gnu/packages/rails.scm | 45 ++++++++++++++++++++----------------------
1 file changed, 21 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 0f8d3a7613..c830620b82 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -231,45 +231,42 @@ (define-public ruby-debug-inspector
(define-public ruby-autoprefixer-rails
(package
(name "ruby-autoprefixer-rails")
- (version "9.4.7")
- (source
- (origin
- (method url-fetch)
- (uri (rubygems-uri "autoprefixer-rails" version))
- (sha256
- (base32
- "0fxbfl3xrrjj84n98x24yzxbz4nvm6c492dxj41kkrl9z97ga13i"))))
+ (version "10.4.13.0")
+ (source (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/ai/autoprefixer-rails")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1i34apjlav1qz8mdg2fyf0hvs5z32inv1snycdkhmqpkfj2ri2hh"))))
(build-system ruby-build-system)
(arguments
'(#:test-target "spec"
#:phases
(modify-phases %standard-phases
- (add-after 'extract-gemspec 'remove-unnecessary-dependencies
+ (add-after 'extract-gemspec 'relax-requirements
(lambda _
- ;; Remove the testing of compass, as its use is deprecated, and
- ;; it's unpackaged for Guix.
- (substitute* "autoprefixer-rails.gemspec"
- ((".*%q<compass>.*") "\n")
- (("\"spec/compass_spec\\.rb\"\\.freeze, ") ""))
- (delete-file "spec/compass_spec.rb")
-
(substitute* "Gemfile"
;; Remove overly strict requirement on sprockets
((", '>= 4\\.0\\.0\\.beta1'") "")
;; The mini_racer gem isn't packaged yet, and it's not directly
;; required, as other backends for ruby-execjs can be used.
- (("gem 'mini_racer'") "")
- ;; For some reason, this is required for the gems to be picked
- ;; up
- (("gemspec") "gemspec\ngem 'tzinfo-data'\ngem 'sass'"))
- #t)))))
+ (("gem \"mini_racer\"") "")
+ ;; For some reason, this is required for the tzinfo-data gem to
+ ;; be picked up.
+ (("gemspec") "gemspec\ngem 'tzinfo-data'\n"))
+ (substitute* "autoprefixer-rails.gemspec"
+ ((".*rubocop.*") ""))))))) ;provided by 'standard'
(native-inputs
(list bundler
ruby-rails
ruby-rspec-rails
- ;; This is needed for a test, but I'm unsure why
- ruby-sass
- ;; This is used as the ruby-execjs runtime
+ ruby-sassc-rails
+ ruby-sprockets
+ ruby-standard
+ ;; This is used at runtime by ruby-execjs.
node))
(propagated-inputs
(list ruby-execjs))
--
2.39.1
- [bug#62196] [PATCH 111/223] gnu: ruby-bandwidth-iris: Fix indentation., (continued)
- [bug#62196] [PATCH 111/223] gnu: ruby-bandwidth-iris: Fix indentation., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 109/223] gnu: Add ruby-fileutils., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 110/223] gnu: ruby-faraday-middleware: Add a deprecation comment and re-indent., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 113/223] gnu: ruby-octokit: Enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 126/223] gnu: Add ruby-bake., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 202/223] gnu: Add ruby-rspec-block-is-expected., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 204/223] gnu: ruby-hashie: Update to 5.0.0 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 208/223] gnu: ruby-omniauth-oauth2: Update to 1.8.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 207/223] gnu: ruby-omniauth: Update to 2.1.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 215/223] gnu: Add ruby-ammeter., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 216/223] gnu: ruby-autoprefixer-rails: Update to 10.4.13.0.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 223/223] gnu: ruby-net-scp: Update to 4.0.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 214/223] gnu: ruby-rspec-rails: Update to 6.0.1 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 218/223] gnu: ruby-coveralls: Propagate ruby-simplecov and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 210/223] gnu: ruby-single-cov: Update to 1.9.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 212/223] gnu: Add ruby-sassc-rails., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 213/223] gnu: Add ruby-ammeter-bootstrap., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 211/223] gnu: ruby-parallel-tests: Update to 4.2.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 219/223] gnu: Add ruby-spy., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 209/223] gnu: ruby-cuke-modeler: Update to 3.19.0 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 203/223] gnu: Add ruby-version-gem., Maxim Cournoyer, 2023/03/20