Skip to content

Commit 76aab20

Browse files
authored
Merge pull request #6043 from dra27/fix-opam-file
Synchronise opam file changes in opam-core.opam
2 parents b1c658a + 44fc175 commit 76aab20

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

master_changes.md

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ users)
7272
## VCS
7373

7474
## Build
75+
* Synchronise opam-core.opam with opam-repository changes [#6043 @dra27]
7576

7677
## Infrastructure
7778

opam-core.opam

+16-11
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
opam-version: "2.0"
22
version: "2.3.0~alpha~dev"
33
synopsis: "Core library for opam 2.2"
4-
description: """
5-
Small standard library extensions, and generic system interaction modules used by opam.
6-
"""
4+
description:
5+
"Small standard library extensions, and generic system interaction modules used by opam."
76
maintainer: "opam-devel@lists.ocaml.org"
87
authors: [
98
"David Allsopp <david@tarides.com>"
@@ -19,16 +18,11 @@ authors: [
1918
"Ralf Treinen <ralf.treinen@pps.jussieu.fr>"
2019
"Frederic Tuong <tuong@users.gforge.inria.fr>"
2120
]
21+
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
2222
homepage: "https://opam.ocaml.org"
2323
bug-reports: "https://github.com/ocaml/opam/issues"
24-
dev-repo: "git+https://github.com/ocaml/opam.git"
25-
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
26-
build: [
27-
["./configure" "--disable-checks" "--prefix" prefix]
28-
["dune" "build" "-p" name "-j" jobs]
29-
]
3024
depends: [
31-
"ocaml" {>= "4.08.0"}
25+
"ocaml" {>= "4.08.0" & (os != "win32" | < "5.0")}
3226
"base-unix"
3327
"ocamlgraph"
3428
"re" {>= "1.9.0"}
@@ -37,5 +31,16 @@ depends: [
3731
"jsonm"
3832
"swhid_core"
3933
"uutf"
34+
(("host-system-mingw" {os = "win32" & os-distribution != "cygwinports"} &
35+
"conf-mingw-w64-gcc-i686" {os = "win32" & os-distribution != "cygwinports"} &
36+
"conf-mingw-w64-gcc-x86_64" {os = "win32" & os-distribution != "cygwinports"}) |
37+
("host-system-msvc" {os = "win32" & os-distribution != "cygwinports"} &
38+
"conf-msvc32" {os = "win32" & os-distribution != "cygwinports"} &
39+
"conf-msvc64" {os = "win32" & os-distribution != "cygwinports"}))
40+
]
41+
conflicts: ["extlib-compat"]
42+
build: [
43+
["./configure" "--disable-checks" "--prefix" prefix]
44+
["dune" "build" "-p" name "-j" jobs]
4045
]
41-
conflicts: "extlib-compat"
46+
dev-repo: "git+https://github.com/ocaml/opam.git"

0 commit comments

Comments
 (0)