[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/13: gnu: ruby-concurrent: Adjust for 'replace-git-ls-files'.
From: |
Ben Woodcroft |
Subject: |
03/13: gnu: ruby-concurrent: Adjust for 'replace-git-ls-files'. |
Date: |
Wed, 10 Aug 2016 11:57:34 +0000 (UTC) |
benwoodcroft pushed a commit to branch wip-rails
in repository guix.
commit db69fe4835519dc2240c3d869d5a424540e2bd55
Author: Ben Woodcroft <address@hidden>
Date: Sun Jul 24 10:21:21 2016 +1000
gnu: ruby-concurrent: Adjust for 'replace-git-ls-files'.
* gnu/packages/ruby.scm (ruby-concurrent)[arguments]: Adjust for new build
phase 'replace-git-ls-files'.
---
gnu/packages/ruby.scm | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 52cdef1..46588dd 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4120,21 +4120,18 @@ call.")
`(#:test-target "spec"
#:phases
(modify-phases %standard-phases
- (add-before 'build 'remove-git-lsfiles-and-extra-gemspecs
- (lambda _
- (for-each (lambda (file)
- (substitute* file
- (("git ls-files") "find * |sort")))
- (list "concurrent-ruby.gemspec"
- "support/file_map.rb"))
- #t))
- (add-before 'build 'remove-extra-gemspecs
+ (add-before 'replace-git-ls-files 'remove-extra-gemspecs
(lambda _
;; Delete extra gemspec files so 'first-gemspec' chooses the
;; correct one.
(delete-file "concurrent-ruby-edge.gemspec")
(delete-file "concurrent-ruby-ext.gemspec")
#t))
+ (add-before 'build 'replace-git-ls-files2
+ (lambda _
+ (substitute* "support/file_map.rb"
+ (("git ls-files") "find * |sort"))
+ #t))
(add-before 'check 'rake-compile
;; Fix the test error described at
;; https://github.com/ruby-concurrency/concurrent-ruby/pull/408
- branch wip-rails created (now 9a46eda), Ben Woodcroft, 2016/08/10
- 03/13: gnu: ruby-concurrent: Adjust for 'replace-git-ls-files'.,
Ben Woodcroft <=
- 01/13: guix: ruby-build-system: Build compiled gems reproducibly., Ben Woodcroft, 2016/08/10
- 04/13: gnu: Add ruby-asciimath., Ben Woodcroft, 2016/08/10
- 02/13: guix: ruby-build-system: Add replace-git-ls-files., Ben Woodcroft, 2016/08/10
- 09/13: gnu: Add ruby-creole., Ben Woodcroft, 2016/08/10
- 11/13: gnu: Add ruby-erubis., Ben Woodcroft, 2016/08/10
- 07/13: gnu: Add ruby-rack-protection., Ben Woodcroft, 2016/08/10
- 12/13: gnu: Add ruby-ruby-engine., Ben Woodcroft, 2016/08/10
- 06/13: gnu: Add ruby-rack-test., Ben Woodcroft, 2016/08/10
- 10/13: gnu: Add ruby-sporkmonger-rack-mount., Ben Woodcroft, 2016/08/10
- 05/13: gnu: Add ruby-asciidoctor., Ben Woodcroft, 2016/08/10