Skip to content

Commit

Permalink
[maintenance]: fix dune-project
Browse files Browse the repository at this point in the history
The opam files were hand edited, but they are generated from 'dune-project', so running 'dune build'
would undo any changes.

Fixes #78
Fixes: 42f237c ("opam: update metadata")

No functional change.

Signed-off-by: Edwin Török <[email protected]>
  • Loading branch information
edwintorok authored and lindig committed Nov 22, 2023
1 parent 847fc43 commit 7f89e3f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
(name xapi-stdext-encodings)
(synopsis "Xapi's standard library extension, Encodings")
(depends
(ocaml (>= 4.13))
(ocaml (>= 4.13.0))
(alcotest (and (>= 0.6.0) :with-test))
(odoc :with-doc)
(bechamel :with-test)
Expand All @@ -65,7 +65,7 @@
(name xapi-stdext-std)
(synopsis "Xapi's standard library extension, Stdlib")
(depends
(ocaml (>= 4.08))
(ocaml (>= 4.08.0))
(alcotest :with-test)
(odoc :with-doc)
)
Expand All @@ -87,7 +87,7 @@
(name xapi-stdext-unix)
(synopsis "Xapi's standard library extension, Unix")
(depends
(ocaml (>= 4.12))
(ocaml (>= 4.12.0))
base-unix
(fd-send-recv (>= 2.0.0))
(odoc :with-doc)
Expand Down
2 changes: 1 addition & 1 deletion xapi-stdext-encodings.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ depends: [
"bechamel-notty" {with-test}
"notty" {with-test}
]
available: arch != "arm32" & arch != "x86_32"
build: [
["dune" "subst"] {dev}
[
Expand All @@ -31,3 +30,4 @@ build: [
]
]
dev-repo: "git+https://github.com/xapi-project/stdext.git"
available: arch != "arm32" & arch != "x86_32"
1 change: 1 addition & 0 deletions xapi-stdext-encodings.opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
available: arch != "arm32" & arch != "x86_32"
2 changes: 2 additions & 0 deletions xapi-stdext-unix-opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
depexts: ["linux-headers"] {os-distribution = "alpine"}
available: [ os = "macos" | os = "linux" ]
4 changes: 2 additions & 2 deletions xapi-stdext-unix.opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ depends: [
"odoc" {with-doc}
"xapi-stdext-pervasives" {= version}
]
depexts: ["linux-headers"] {os-distribution = "alpine"}
available: [ os = "macos" | os = "linux" ]
build: [
["dune" "subst"] {dev}
[
Expand All @@ -31,3 +29,5 @@ build: [
]
]
dev-repo: "git+https://github.com/xapi-project/stdext.git"
depexts: ["linux-headers"] {os-distribution = "alpine"}
available: [ os = "macos" | os = "linux" ]
2 changes: 2 additions & 0 deletions xapi-stdext-unix.opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
depexts: ["linux-headers"] {os-distribution = "alpine"}
available: [ os = "macos" | os = "linux" ]

0 comments on commit 7f89e3f

Please sign in to comment.