gnu: ocaml-dose3: Disable tests to avoid Python 2 dependencies.
* gnu/packages/ocaml.scm (ocaml-dose3)[tests?]: Set to #f. [native-inputs]: Use new style. Remove python-2 and python2-pyyaml.
parent
0fa989172d
commit
cfa04b1c6c
|
@ -24,6 +24,7 @@
|
||||||
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
||||||
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
||||||
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
|
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
|
||||||
|
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -663,7 +664,8 @@ underlying solvers like Cplex, Gurobi, Lpsolver, Glpk, CbC, SCIP or WBO.")
|
||||||
"ocaml-dose3-Install-mli-cmx-etc.patch"))))
|
"ocaml-dose3-Install-mli-cmx-etc.patch"))))
|
||||||
(build-system ocaml-build-system)
|
(build-system ocaml-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:tests? #f ;the test suite requires python 2
|
||||||
|
#:configure-flags
|
||||||
,#~(list (string-append "SHELL="
|
,#~(list (string-append "SHELL="
|
||||||
#+(file-append (canonical-package bash-minimal)
|
#+(file-append (canonical-package bash-minimal)
|
||||||
"/bin/sh")))
|
"/bin/sh")))
|
||||||
|
@ -672,12 +674,10 @@ underlying solvers like Cplex, Gurobi, Lpsolver, Glpk, CbC, SCIP or WBO.")
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list ocaml-graph ocaml-cudf ocaml-extlib ocaml-re))
|
(list ocaml-graph ocaml-cudf ocaml-extlib ocaml-re))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)
|
(list perl
|
||||||
("python" ,python-2) ; for a test script
|
ocaml-extlib
|
||||||
("python2-pyyaml" ,python2-pyyaml) ; for a test script
|
ocamlbuild
|
||||||
("ocaml-extlib" ,ocaml-extlib)
|
ocaml-cppo))
|
||||||
("ocamlbuild" ,ocamlbuild)
|
|
||||||
("ocaml-cppo" ,ocaml-cppo)))
|
|
||||||
(home-page "https://www.mancoosi.org/software/")
|
(home-page "https://www.mancoosi.org/software/")
|
||||||
(synopsis "Package distribution management framework")
|
(synopsis "Package distribution management framework")
|
||||||
(description "Dose3 is a framework made of several OCaml libraries for
|
(description "Dose3 is a framework made of several OCaml libraries for
|
||||||
|
|
Reference in New Issue