[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49101] [PATCH v3 2/6] gnu: ocaml4.07-expect: Switch to default OCam
From: |
Xinglu Chen |
Subject: |
[bug#49101] [PATCH v3 2/6] gnu: ocaml4.07-expect: Switch to default OCaml compiler. |
Date: |
Sat, 19 Jun 2021 17:50:35 +0200 |
* gnu/packages/ocaml.scm (ocaml4.07-expect): Rename to ‘ocaml-expect’.
[arguments]: Use default OCaml compiler.
[native-inputs]: Use ‘ocaml-*’ packages instead of ‘ocaml4.07-*’.
[propagated-inputs]: Likewise.
[description]: Make it a full sentence.
---
gnu/packages/ocaml.scm | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 542730699e..d3674ccba8 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3148,9 +3148,9 @@ matching and substitution, similar to the functionality
offered by the Perl
language.")
(license license:lgpl2.1+))); with the OCaml link exception
-(define-public ocaml4.07-expect
+(define-public ocaml-expect
(package
- (name "ocaml4.07-expect")
+ (name "ocaml-expect")
(version "0.0.6")
(source (origin
(method url-fetch)
@@ -3159,21 +3159,20 @@ language.")
(base32
"098qvg9d4yrqzr5ax291y3whrpax0m3sx4gi6is0mblc96r9yqk0"))))
(arguments
- `(#:tests? #f
- #:ocaml ,ocaml-4.07
- #:findlib ,ocaml4.07-findlib))
+ `(#:tests? #f))
(build-system ocaml-build-system)
(native-inputs
- `(("ocamlbuild" ,(package-with-ocaml4.07 ocamlbuild))
- ("ocaml-num" ,(package-with-ocaml4.07 ocaml-num))
- ("ocaml-pcre" ,ocaml4.07-pcre)
- ("ounit" ,(package-with-ocaml4.07 ocaml-ounit))))
+ `(("ocamlbuild" ,ocamlbuild)
+ ("ocaml-num" ,ocaml-num)
+ ("ocaml-pcre" ,ocaml-pcre)
+ ("ounit" ,ocaml-ounit)))
(propagated-inputs
- `(("batteries" ,(package-with-ocaml4.07 ocaml-batteries))))
+ `(("batteries" ,ocaml-batteries)))
(home-page "https://forge.ocamlcore.org/projects/ocaml-expect/")
(synopsis "Simple implementation of expect")
- (description "Help building unitary testing of interactive program. You
-can match the question using a regular expression or a timeout.")
+ (description "This package provides utilities for building unitary testing
+of interactive program. You can match the question using a regular expression
+or a timeout.")
(license license:lgpl2.1+))) ; with the OCaml static compilation exception
(define-public ocaml-stdlib-shims
--
2.32.0
- [bug#49101] [PATCH v2 2/5] gnu: ocaml4.07-expect: Switch to default OCaml compiler., (continued)
[bug#49101] [PATCH v2 4/5] gnu: Add ocaml-mparser-re., Xinglu Chen, 2021/06/19
[bug#49101] [PATCH v2 3/5] gnu: Add ocaml-mparser., Xinglu Chen, 2021/06/19
[bug#49101] [PATCH v2 5/5] gnu: Add ocaml-mparser-pcre., Xinglu Chen, 2021/06/19
[bug#49101] [PATCH v3 0/6] Add ocaml-mparser & friends, Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 1/6] gnu: Add ocaml-pcre., Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 2/6] gnu: ocaml4.07-expect: Switch to default OCaml compiler.,
Xinglu Chen <=
- [bug#49101] [PATCH v3 3/6] gnu: ocaml4.07-pcre: Remove package., Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 6/6] gnu: Add ocaml-mparser-pcre., Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 4/6] gnu: Add ocaml-mparser., Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 5/6] gnu: Add ocaml-mparser-re., Xinglu Chen, 2021/06/19
- bug#49101: [PATCH v3 0/6] Add ocaml-mparser & friends, Julien Lepiller, 2021/06/19