[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
96/100: gnu: ruby-terminfo: Update to 0.2.
From: |
guix-commits |
Subject: |
96/100: gnu: ruby-terminfo: Update to 0.2. |
Date: |
Mon, 10 Jul 2023 03:27:40 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit a1e6a360a516b729c7a26864b9744f82cbb54394
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Jul 4 16:17:01 2023 +0100
gnu: ruby-terminfo: Update to 0.2.
* gnu/packages/ruby.scm (ruby-terminfo): Update to 0.2.
[source]: Switch to source tarball.
[arguments]: Update accordingly.
---
gnu/packages/ruby.scm | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2433739750..8eff241b24 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12889,20 +12889,35 @@ about the changes.")
(define-public ruby-terminfo
(package
(name "ruby-terminfo")
- (version "0.1.1")
+ (version "0.2")
(source
(origin
(method url-fetch)
- (uri (rubygems-uri "ruby-terminfo" version))
+ (uri (string-append
+ "http://www.a-k-r.org/" name "/" name "-" version ".tar.gz"))
(sha256
(base32
- "0rl4ic5pzvrpgd42z0c1s2n3j39c9znksblxxvmhkzrc0ckyg2cm"))))
+ "1n59dw351z6nzylgj0gpx4rpz6qhf8lrhzcbp1xqfpqvryhaxrjh"))))
(build-system ruby-build-system)
(arguments
- `(#:test-target "test"
- ;; Rakefile requires old packages and would need modification to
- ;; work with current software.
- #:tests? #f))
+ (list
+ #:test-target "test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'replace-git-ls-files)
+ (replace 'build
+ (lambda _
+ (invoke "ruby" "extconf.rb")
+ (invoke "make")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (for-each (lambda (f)
+ (invoke "ruby" "-I" "test" f))
+ (find-files "test" "^test_.*\\.rb$")))))
+ (replace 'install
+ (lambda _
+ (invoke "make" "install" (string-append "prefix=" #$output)))))))
(inputs
(list ncurses))
(native-inputs
- 74/100: gnu: ruby-net-scp: Fix build., (continued)
- 74/100: gnu: ruby-net-scp: Fix build., guix-commits, 2023/07/10
- 81/100: gnu: ruby-ruby-parser: Update to 3.20.2., guix-commits, 2023/07/10
- 69/100: gnu: ruby-language-server-protocol: Remove ruby-pry-byebug dependency., guix-commits, 2023/07/10
- 71/100: gnu: ruby-net-http-digest-auth: Fix build., guix-commits, 2023/07/10
- 79/100: gnu: ruby-byebug: Fix build., guix-commits, 2023/07/10
- 78/100: gnu: swagger-diff: Update to 2.0.0., guix-commits, 2023/07/10
- 80/100: gnu: Remove ruby-minitest-5.15., guix-commits, 2023/07/10
- 88/100: gnu: Add ruby-rubocop-packaging., guix-commits, 2023/07/10
- 87/100: gnu: ruby-hoe-git: Fix build., guix-commits, 2023/07/10
- 95/100: gnu: ruby-flores: Fix build., guix-commits, 2023/07/10
- 96/100: gnu: ruby-terminfo: Update to 0.2.,
guix-commits <=
- 100/100: gnu: ruby-ruby-memcheck: Update to 1.3.2., guix-commits, 2023/07/10
- 14/100: gnu: ruby-range-compressor: Add ruby-sorted-set as an input., guix-commits, 2023/07/10
- 29/100: gnu: ruby-thor: Update to 1.2.2., guix-commits, 2023/07/10
- 83/100: gnu: ruby-minitest-4: Fix build., guix-commits, 2023/07/10
- 77/100: gnu: ruby-text-hyphen: Update to 1.5.0., guix-commits, 2023/07/10
- 68/100: gnu: ruby-sorbet-runtime: Remove ruby-pry-byebug input., guix-commits, 2023/07/10