[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 126/223] gnu: Add ruby-bake.
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 126/223] gnu: Add ruby-bake. |
Date: |
Mon, 20 Mar 2023 13:22:12 -0400 |
* gnu/packages/ruby.scm (ruby-bake): New variable.
---
gnu/packages/ruby.scm | 44 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index fbf7c2d637..4e687e7c20 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3748,6 +3748,50 @@ (define-public ruby-bacon-colored-output
(home-page "https://github.com/whitequark/bacon-colored_output")
(license license:expat)))
+(define-public ruby-bake
+ (package
+ (name "ruby-bake")
+ (version "0.18.2")
+ (source (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/ioquatix/bake")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "19yi1fxzz9n580gig3p3j6nxbgcfcassa6b0q07jkqrzxdqn7xhn"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'sanitize-dependencies
+ (lambda _
+ ;; These dependencies are not needed to build and run tests
+ ;; and contain circular dependencies.
+ (substitute* "gems.rb"
+ ((".*'bake-modernize'.*") "")
+ ((".*'bake-gem'.*") "")
+ ((".*'bake-github-pages'.*") "")
+ ((".*'utopia-project'.*") ""))))
+ (add-before 'build 'drop-signing-key-requirement
+ (lambda _
+ (substitute* "bake.gemspec"
+ (("spec.signing_key =.*")
+ "spec.signing_key = nil"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "rspec")))))))
+ (native-inputs (list ruby-covered ruby-rspec))
+ (propagated-inputs (list ruby-samovar))
+ (synopsis "Replacement for rake with a simpler syntax")
+ (description "Bake is a task execution tool, inspired by Rake, but
+codifying many of the use cases which are typically implemented in an ad-hoc
+manner.")
+ (home-page "https://github.com/ioquatix/bake")
+ (license license:expat)))
+
(define-public ruby-connection-pool
(package
(name "ruby-connection-pool")
--
2.39.1
- [bug#62196] [PATCH 154/223] gnu: Add ruby-net-pop., (continued)
- [bug#62196] [PATCH 154/223] gnu: Add ruby-net-pop., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 188/223] gnu: ruby-liquid: Update to 4.0.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 193/223] gnu: ruby-shoulda: Update to 4.0.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 132/223] gnu: bundler: Update to 2.4.8., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 180/223] gnu: ruby-braintree: Update to 4.10.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 197/223] gnu: jekyll: Update to 4.3.2 and enable tests., Maxim Cournoyer, 2023/03/20
- [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 <=
- [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, 2023/03/20
- [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