diff options
| author | gemmaro <gemmaro.dev@gmail.com> | 2026-08-25 05:36:54 +0900 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-28 16:40:52 +0200 |
| commit | 50e06b43007e60600a4234b0bbae5b6099d5bc42 (patch) | |
| tree | 7965c7898d5d1f38ab2aea3cf226972fe83f37a2 | |
| parent | 912f97e324e717d5fd3497e020926cbf95e953e2 (diff) | |
gnu: ruby-erb: Update to 6.0.7.
* gnu/packages/ruby-xyz.scm (ruby-erb): Update to 6.0.7.
[source]: Use Git repository.
[arguments]<#:tests?>: Remove it.
<#:phases>{omit-failing-tests}: New phase.
[native-inputs]: Add ruby-rake-compiler and ruby-test-unit-ruby-core.
Remove ruby-rspec.
[license]: Add Ruby license.
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/ruby-xyz.scm | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index ff27b185ffe..29c942f5bcd 100644 --- a/gnu/packages/ruby-xyz.scm +++ b/gnu/packages/ruby-xyz.scm | |||
| @@ -239,24 +239,33 @@ scripts from simple YAML configuration.") | |||
| 239 | (define-public ruby-erb | 239 | (define-public ruby-erb |
| 240 | (package | 240 | (package |
| 241 | (name "ruby-erb") | 241 | (name "ruby-erb") |
| 242 | (version "6.0.1") | 242 | (version "6.0.7") |
| 243 | (source | 243 | (source |
| 244 | (origin | 244 | (origin |
| 245 | (method url-fetch) | 245 | (method git-fetch) ;for tests |
| 246 | (uri (rubygems-uri "erb" version)) | 246 | (uri (git-reference |
| 247 | (url "https://github.com/ruby/erb") | ||
| 248 | (commit (string-append "v" version)))) | ||
| 249 | (file-name (git-file-name name version)) | ||
| 247 | (sha256 | 250 | (sha256 |
| 248 | (base32 "1rcpq49pyaiclpjp3c3qjl25r95hqvin2q2dczaynaj7qncxvv18")))) | 251 | (base32 "0di25f0nsl99isnc1lr9r954sjs2c64cf31idzyfi9wr2s3gs6qw")))) |
| 249 | (build-system ruby-build-system) | 252 | (build-system ruby-build-system) |
| 250 | (arguments | 253 | (arguments |
| 251 | (list | 254 | (list |
| 252 | ;; no tests | 255 | #:phases |
| 253 | #:tests? #f)) | 256 | #~(modify-phases %standard-phases |
| 254 | (native-inputs (list ruby-rspec)) | 257 | (add-before 'check 'omit-failing-tests |
| 258 | (lambda _ | ||
| 259 | ;; TODO: Remove when newer Ractor is used by default. | ||
| 260 | (substitute* "test/erb/test_erb.rb" | ||
| 261 | (("def test_.*ractor.*" def) | ||
| 262 | (string-append def "; omit \"incompatible Ractor usage\"\n")))))))) | ||
| 263 | (native-inputs (list ruby-rake-compiler ruby-test-unit-ruby-core)) | ||
| 255 | (synopsis "Easy to use but powerful templating system") | 264 | (synopsis "Easy to use but powerful templating system") |
| 256 | (description "ERB is an easy to use, but also very powerful, template | 265 | (description "ERB is an easy to use, but also very powerful, template |
| 257 | processor.") | 266 | processor.") |
| 258 | (home-page "https://github.com/ruby/erb") | 267 | (home-page "https://github.com/ruby/erb") |
| 259 | (license (list license:bsd-2)))) | 268 | (license (list license:ruby license:bsd-2)))) |
| 260 | 269 | ||
| 261 | (define-public ruby-filewatcher | 270 | (define-public ruby-filewatcher |
| 262 | (package | 271 | (package |
