Update opam file according to opam-repository reviews

This commit is contained in:
Louis Gesbert 2024-05-06 14:17:01 +02:00
parent 8ad3b68d5f
commit 51ba370f06
2 changed files with 18 additions and 25 deletions

View File

@ -4,7 +4,7 @@ synopsis:
"Compiler and library for the literate programming language for tax code specification" "Compiler and library for the literate programming language for tax code specification"
description: description:
"Catala is a domain-specific language for deriving faithful-by-construction algorithms from legislative texts. See https://catala-lang.org for more information" "Catala is a domain-specific language for deriving faithful-by-construction algorithms from legislative texts. See https://catala-lang.org for more information"
maintainer: ["contact@catala-lang.org"] maintainer: "contact@catala-lang.org"
authors: [ authors: [
"Denis Merigoux" "Denis Merigoux"
"Nicolas Chataing" "Nicolas Chataing"
@ -19,7 +19,7 @@ homepage: "https://github.com/CatalaLang/catala"
bug-reports: "https://github.com/CatalaLang/catala/issues" bug-reports: "https://github.com/CatalaLang/catala/issues"
depends: [ depends: [
"ocolor" {>= "1.3.0"} "ocolor" {>= "1.3.0"}
"bindlib" {>= "5.0.1"} "bindlib" {>= "6.0"}
"cmdliner" {>= "1.1.0"} "cmdliner" {>= "1.1.0"}
"cppo" {>= "1"} "cppo" {>= "1"}
"dates_calc" {>= "0.0.4"} "dates_calc" {>= "0.0.4"}
@ -30,11 +30,11 @@ depends: [
"ocaml" {>= "4.14.0"} "ocaml" {>= "4.14.0"}
"ocamlfind" {!= "1.9.5"} "ocamlfind" {!= "1.9.5"}
"ocamlgraph" {>= "1.8.8"} "ocamlgraph" {>= "1.8.8"}
"re" {>= "1.9.0"} "re" {>= "1.10"}
"sedlex" {>= "2.4"} "sedlex" {>= "2.4"}
"uutf" {>= "1.0.3"} "uutf" {>= "1.0.3"}
"ubase" {>= "0.05"} "ubase" {>= "0.05"}
"unionFind" {>= "20200320"} "unionFind" {>= "20220109"}
"visitors" {>= "20200210"} "visitors" {>= "20200210"}
"zarith" {>= "1.12"} "zarith" {>= "1.12"}
"zarith_stubs_js" {>= "v0.14.1"} "zarith_stubs_js" {>= "v0.14.1"}
@ -48,6 +48,7 @@ depends: [
"conf-python-3-dev" {cataladevmode} "conf-python-3-dev" {cataladevmode}
"cpdf" {cataladevmode} "cpdf" {cataladevmode}
"conf-diffutils" {cataladevmode} "conf-diffutils" {cataladevmode}
"conf-pandoc" {cataladevmode}
"z3" {catalaz3mode} "z3" {catalaz3mode}
"conf-ninja" "conf-ninja"
] ]
@ -57,28 +58,20 @@ conflicts: [
"base" {>= "v0.16.0"} "base" {>= "v0.16.0"}
] ]
build: [ build: [
[ "dune"
"dune" "build"
"build" "-p"
"-p" name
name "-j"
"-j" jobs
jobs "@install"
"@install" "@runtest" {with-test}
"@runtest" {with-test} "@doc" {with-doc}
"@doc" {with-doc}
]
] ]
dev-repo: "git+https://github.com/CatalaLang/catala.git" dev-repo: "git+https://github.com/CatalaLang/catala.git"
depexts: [ depexts: [
["groff"] { with-doc } ["groff"] { with-doc }
["python3-pip" "pandoc"] ["python3-pip"] {cataladevmode & os-family = "debian"}
# "latexmk" ["py3-pip" "py3-pygments"] {cataladevmode & os-distribution = "alpine"}
{cataladevmode & os-family = "debian"} ["python-pygments"] {cataladevmode & os-family = "arch"}
["py3-pip" "py3-pygments" "pandoc-cli"]
# "texlive-xetex" "texmf-dist-latexextra" "texmf-dist-pictures"
{cataladevmode & os-distribution = "alpine"}
["python-pygments" "pandoc"]
# "latex-mk"
{cataladevmode & os-family = "arch"}
] ]

View File

@ -53,7 +53,7 @@
(executable (executable
(name catala) (name catala)
(modes native js) (modes exe js)
(flags (flags
(:standard (:standard
(:include custom_linking.sexp) (:include custom_linking.sexp)