Skip to content

Commit c5efca2

Browse files
authored
opam: update xapi-storage-cli metadata (#6427)
Now it's generated by dune and includes the dependency on xapi-client and xapi-types.
2 parents e64b4bc + e7c66de commit c5efca2

File tree

3 files changed

+37
-44
lines changed

3 files changed

+37
-44
lines changed

dune-project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,17 @@
146146

147147
(package
148148
(name xapi-storage-cli)
149+
(depends
150+
cmdliner
151+
re
152+
rpclib
153+
ppx_deriving_rpc
154+
(xapi-client (= :version))
155+
(xapi-idl (= :version))
156+
(xapi-types (= :version))
157+
)
158+
(synopsis "A CLI for xapi storage services")
159+
(description "The CLI allows you to directly manipulate virtual disk images, without them being attached to VMs.")
149160
)
150161

151162
(package

opam/xapi-storage-cli.opam

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,36 @@
11
# This file is generated by dune, edit dune-project instead
2-
32
opam-version: "2.0"
4-
name: "xapi-storage-cli"
5-
maintainer: "[email protected]"
6-
authors: [ "[email protected]" ]
3+
synopsis: "A CLI for xapi storage services"
4+
description:
5+
"The CLI allows you to directly manipulate virtual disk images, without them being attached to VMs."
6+
maintainer: ["Xapi project maintainers"]
7+
authors: ["[email protected]"]
78
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
8-
homepage: "https://github.com/xapi-project/xen-api"
9+
homepage: "https://xapi-project.github.io/"
910
bug-reports: "https://github.com/xapi-project/xen-api/issues"
10-
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
11-
build: [[ "dune" "build" "-p" name "-j" jobs ]]
1211
depends: [
13-
"ocaml"
1412
"dune" {>= "3.15"}
15-
"base-threads"
13+
"cmdliner"
1614
"re"
1715
"rpclib"
1816
"ppx_deriving_rpc"
19-
"xapi-idl"
20-
"cmdliner"
17+
"xapi-client" {= version}
18+
"xapi-idl" {= version}
19+
"xapi-types" {= version}
20+
"odoc" {with-doc}
2121
]
22-
synopsis: "A CLI for xapi storage services"
23-
description: """
24-
The CLI allows you to directly manipulate virtual disk images, without
25-
them being attached to VMs."""
26-
url {
27-
src: "https://github.com/xapi-project/xen-api/archive/master.tar.gz"
28-
}
22+
build: [
23+
["dune" "subst"] {dev}
24+
[
25+
"dune"
26+
"build"
27+
"-p"
28+
name
29+
"-j"
30+
jobs
31+
"@install"
32+
"@runtest" {with-test}
33+
"@doc" {with-doc}
34+
]
35+
]
36+
dev-repo: "git+https://github.com/xapi-project/xen-api.git"

opam/xapi-storage-cli.opam.template

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)