-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http-lib: generate opam metadata using dune
Use it to drop the dependency on ounit in the metadata Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
- Loading branch information
Showing
4 changed files
with
56 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,45 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
opam-version: "2.0" | ||
maintainer: "xen-api@lists.xen.org" | ||
authors: "xen-api@lists.xen.org" | ||
synopsis: "An HTTP required used by xapi" | ||
description: | ||
"This library allows xapi to perform varios activities related to the HTTP protocol." | ||
maintainer: ["Xapi project maintainers"] | ||
authors: ["xen-api@lists.xen.org"] | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
homepage: "https://xapi-project.github.io/" | ||
bug-reports: "https://github.com/xapi-project/xen-api.git" | ||
dev-repo: "git+https://github.com/xapi-project/xen-api.git" | ||
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
available: [ os = "linux" | os = "macos" ] | ||
bug-reports: "https://github.com/xapi-project/xen-api/issues" | ||
depends: [ | ||
"ocaml" | ||
"dune" | ||
"dune" {>= "3.0"} | ||
"alcotest" {with-test} | ||
"astring" | ||
"base64" {>= "3.1.0"} | ||
"rpclib" | ||
"safe-resources" | ||
"safe-resources" {= version} | ||
"sha" | ||
"stunnel" | ||
"uuid" | ||
"stunnel" {= version} | ||
"uuid" {= version} | ||
"xapi-backtrace" | ||
"xapi-idl" | ||
"xapi-log" | ||
"xapi-stdext-date" | ||
"xapi-stdext-pervasives" | ||
"xapi-stdext-threads" | ||
"xapi-stdext-unix" | ||
"xapi-tracing" | ||
"xml-light2" | ||
"ounit2" {with-test & >= "2.0.0"} | ||
"xapi-idl" {= version} | ||
"xapi-log" {= version} | ||
"xapi-stdext-date" {= version} | ||
"xapi-stdext-pervasives" {= version} | ||
"xapi-stdext-threads" {= version} | ||
"xapi-tracing" {= version} | ||
"xml-light2" {= version} | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
synopsis: "Library required by xapi" | ||
description: """ | ||
These libraries are provided for backwards compatibility only. | ||
No new code should use these libraries.""" | ||
url { | ||
src: | ||
"https://github.com/xapi-project/xen-api/archive/master.tar.gz" | ||
} | ||
dev-repo: "git+https://github.com/xapi-project/xen-api.git" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters