[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/11: gnu: Add ruby-rubytest.
From: |
Ben Woodcroft |
Subject: |
01/11: gnu: Add ruby-rubytest. |
Date: |
Tue, 26 Jan 2016 06:34:42 +0000 |
benwoodcroft pushed a commit to branch master
in repository guix.
commit 7c8131c76b3a7e5bb0f133c554b46960b3430b70
Author: Ben Woodcroft <address@hidden>
Date: Tue Dec 29 14:13:42 2015 +1000
gnu: Add ruby-rubytest.
* gnu/packages/ruby.scm (ruby-rubytest): New variable.
---
gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f7a20b8..17dfd4a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2994,3 +2994,34 @@ to the @code{STDOUT} and @code{STDERR} streams are
reported, giving extra
detail to ease debugging.")
(home-page "http://github.com/wwood/bioruby-commandeer")
(license license:expat)))
+
+(define-public ruby-rubytest
+ (package
+ (name "ruby-rubytest")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rubytest" version))
+ (sha256
+ (base32
+ "19jydsdnkl81i9dhdcr4dc34j0ilm68ff2ngnka1hi38xiw4p5qz"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; Disable regular testing to break the cycle rubytest, qed, brass,
+ ;; rubytest, as well as the cycle rubytest, qed, ansi, rubytest. Instead
+ ;; simply test that the library can be require'd.
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero? (system* "ruby" "-Ilib" "-r" "rubytest")))))))
+ (propagated-inputs
+ `(("ruby-ansi" ,ruby-ansi)))
+ (synopsis "Universal test harness for Ruby")
+ (description
+ "Rubytest is a testing meta-framework for Ruby. It can handle any
+compliant test framework and can run tests from multiple frameworks in a
+single pass.")
+ (home-page "http://rubyworks.github.io/rubytest")
+ (license license:bsd-2)))
- branch master updated (a78d62f -> edf8caa), Ben Woodcroft, 2016/01/26
- 01/11: gnu: Add ruby-rubytest.,
Ben Woodcroft <=
- 02/11: gnu: Add ruby-brass., Ben Woodcroft, 2016/01/26
- 03/11: gnu: Add ruby-qed., Ben Woodcroft, 2016/01/26
- 04/11: gnu: Add ruby-ae., Ben Woodcroft, 2016/01/26
- 05/11: gnu: Add ruby-lemon., Ben Woodcroft, 2016/01/26
- 06/11: gnu: Add ruby-rubytest-cli., Ben Woodcroft, 2016/01/26
- 08/11: gnu: Add ruby-rc4., Ben Woodcroft, 2016/01/26
- 07/11: gnu: Add ruby-hashery., Ben Woodcroft, 2016/01/26
- 09/11: gnu: Add ruby-afm., Ben Woodcroft, 2016/01/26
- 10/11: gnu: Add ruby-ascii85., Ben Woodcroft, 2016/01/26
- 11/11: gnu: Add ruby-ttfunk., Ben Woodcroft, 2016/01/26