-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upstream-extra: add opam-dune-lint.0.6 and dependencies
This can be used to keep `dune-project` and `*.opam.template` files up-to-date by finding dependencies that are declared in `dune` files, but not in the `opam` package. It doesn't yet find all such bugs (ocurrent/opam-dune-lint#71), but it is a starting point. It also adds its dependencies for parsing opam files: * ocamlgraph.2.1.0 (I'm surprised we didn't already have this) * opam-core, opam-file-format, opam-format, opam-repository-opam-state 2.2.1 * spdx_licenses.1.2.0, swhid_core.0.1 I had this pinned in my local opam repo for a while too, this is the latest version. Signed-off-by: Edwin Török <[email protected]>
- Loading branch information
1 parent
e9c90b0
commit cd0f79a
Showing
9 changed files
with
370 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
opam-version: "2.0" | ||
synopsis: "A generic graph library for OCaml" | ||
description: "Provides both graph data structures and graph algorithms" | ||
maintainer: ["[email protected]"] | ||
authors: ["Sylvain Conchon" "Jean-Christophe Filliâtre" "Julien Signoles"] | ||
license: "LGPL-2.1-only" | ||
tags: [ | ||
"graph" | ||
"library" | ||
"algorithms" | ||
"directed graph" | ||
"vertice" | ||
"edge" | ||
"persistent" | ||
"imperative" | ||
] | ||
homepage: "https://github.com/backtracking/ocamlgraph/" | ||
doc: "https://backtracking.github.io/ocamlgraph" | ||
bug-reports: "https://github.com/backtracking/ocamlgraph/issues/new" | ||
depends: [ | ||
"ocaml" {>= "4.08.0"} | ||
"stdlib-shims" | ||
"dune" {>= "2.0"} | ||
"graphics" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/backtracking/ocamlgraph.git" | ||
url { | ||
src: | ||
"https://github.com/backtracking/ocamlgraph/releases/download/2.1.0/ocamlgraph-2.1.0.tbz" | ||
checksum: [ | ||
"sha256=0f962c36f9253df2393955af41b074b6a426b2f92a9def795b2005b57d302d65" | ||
"sha512=8ee77bc1ef27bef41171b5718a73342dca8adc4b4592ff835038cd21e8c91152a0f9500b4034f664d1db7a09dab1efcc3be5d7c59260d6b33710b82a1fb2f196" | ||
] | ||
} | ||
x-commit-hash: "9ebfbb119b50d98b31f34be4983cd4f842460ea0" |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
opam-version: "2.0" | ||
synopsis: "Core library for opam 2.2" | ||
description: | ||
"Small standard library extensions, and generic system interaction modules used by opam." | ||
maintainer: "[email protected]" | ||
authors: [ | ||
"David Allsopp <[email protected]>" | ||
"Vincent Bernardoff <[email protected]>" | ||
"Raja Boujbel <[email protected]>" | ||
"Kate Deplaix <[email protected]>" | ||
"Roberto Di Cosmo <[email protected]>" | ||
"Thomas Gazagnaire <[email protected]>" | ||
"Louis Gesbert <[email protected]>" | ||
"Fabrice Le Fessant <[email protected]>" | ||
"Anil Madhavapeddy <[email protected]>" | ||
"Guillem Rieu <[email protected]>" | ||
"Ralf Treinen <[email protected]>" | ||
"Frederic Tuong <[email protected]>" | ||
] | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
homepage: "https://opam.ocaml.org" | ||
bug-reports: "https://github.com/ocaml/opam/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08.0" & (os != "win32" | < "5.0")} | ||
"base-unix" | ||
"ocamlgraph" | ||
"re" {>= "1.9.0"} | ||
"dune" {>= "2.0.0"} | ||
"sha" {>= "1.13"} | ||
"jsonm" | ||
"swhid_core" | ||
"uutf" | ||
(("host-system-mingw" {os = "win32" & os-distribution != "cygwinports"} & | ||
"conf-mingw-w64-gcc-i686" | ||
{os = "win32" & os-distribution != "cygwinports"} & | ||
"conf-mingw-w64-gcc-x86_64" | ||
{os = "win32" & os-distribution != "cygwinports"}) | | ||
("host-system-msvc" {os = "win32" & os-distribution != "cygwinports"} & | ||
"conf-msvc32" {os = "win32" & os-distribution != "cygwinports"} & | ||
"conf-msvc64" {os = "win32" & os-distribution != "cygwinports"})) | ||
] | ||
conflicts: ["extlib-compat"] | ||
build: [ | ||
["./configure" "--disable-checks" "--prefix" prefix] | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
dev-repo: "git+https://github.com/ocaml/opam.git" | ||
url { | ||
src: "https://github.com/ocaml/opam/archive/refs/tags/2.2.1.tar.gz" | ||
checksum: [ | ||
"md5=d9b85326877d02ffee49caee2384f170" | ||
"sha512=17d7d83b9de118332c121b9d3aa2e48f62a6270ea23e730a536b0f4ff060df85238c7c4ab53a89bcc3b3193d52d14358831bd9bed30a4ac699e44e4c3003b8b0" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
opam-version: "2.0" | ||
synopsis: "Ensure dune and opam dependencies are consistent" | ||
description: | ||
"opam-dune-lint checks that all ocamlfind libraries listed as dune dependencies have corresponding opam dependencies listed in the opam files. If not, it offers to add them (either to your opam files, or to your dune-project if you're generating your opam files from that)." | ||
maintainer: ["[email protected]" "Tim McGilchrist <[email protected]>"] | ||
authors: ["[email protected]"] | ||
license: "ISC" | ||
homepage: "https://github.com/ocurrent/opam-dune-lint" | ||
bug-reports: "https://github.com/ocurrent/opam-dune-lint/issues" | ||
depends: [ | ||
"dune" {>= "3.10"} | ||
"fpath" {>= "0.7.3"} | ||
"astring" {>= "0.8.5"} | ||
"sexplib" {>= "v0.14.0"} | ||
"cmdliner" {>= "1.1.0"} | ||
"stdune" {>= "3.10.0"} | ||
"ocaml" {>= "4.08.0"} | ||
"bos" {>= "0.2.0"} | ||
"fmt" {>= "0.8.9"} | ||
"opam-state" {>= "2.1.0" & (< "2.2.0~beta3" | >= "2.2.0")} | ||
"opam-format" | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/ocurrent/opam-dune-lint.git" | ||
flags: plugin | ||
url { | ||
src: | ||
"https://github.com/ocurrent/opam-dune-lint/releases/download/v0.6/opam-dune-lint-0.6.tbz" | ||
checksum: [ | ||
"sha256=24af97827d2f85d9cf210be8c892818114aa3812daaec2e187a07dd1a3308feb" | ||
"sha512=61deaf9420646a9bfd9fa73ae890b2c71f65f03adcd7e883a45014124de3a4ab5fea448615fb15e96da3852cdac1ca0ecd34abeec7498f48964ddb8e1aa55b2f" | ||
] | ||
} | ||
x-commit-hash: "55408399f0cacc09f4b4c04e88a6c954e7642e80" |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
opam-version: "2.0" | ||
synopsis: "Parser and printer for the opam file syntax" | ||
maintainer: "Louis Gesbert <[email protected]>" | ||
authors: "Louis Gesbert <[email protected]>" | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
homepage: "https://opam.ocaml.org" | ||
bug-reports: "https://github.com/ocaml/opam-file-format/issues" | ||
depends: [ | ||
"ocaml" {>= "3.09.0"} | ||
"alcotest" {with-test} | ||
] | ||
depopts: ["dune"] | ||
conflicts: [ | ||
"dune" {< "1.3.0"} | ||
] | ||
build: [ | ||
[make "byte" {!ocaml:native} "all" {ocaml:native}] {!dune:installed} | ||
["dune" "build" "-p" name "-j" jobs "@install" "@doc" {with-doc}] | ||
{dune:installed} | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test & dune:installed} | ||
] | ||
install: [make "install" "PREFIX=%{prefix}%"] {!dune:installed} | ||
dev-repo: "git+https://github.com/ocaml/opam-file-format" | ||
url { | ||
src: | ||
"https://github.com/ocaml/opam-file-format/archive/refs/tags/2.1.6.tar.gz" | ||
checksum: [ | ||
"md5=706ce5fc3e77db746a4c8b11d79cefef" | ||
"sha512=89148dceacc523bcd3b65ecc60cbef2270a9618f7d97c5655060adef5c99986fa37910c9622d328a6371a0409a371158cec919f5100cf6d85110cd7cfdf2bb85" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
opam-version: "2.0" | ||
synopsis: "Format library for opam 2.2" | ||
description: "Definition of opam datastructures and its file interface." | ||
maintainer: "[email protected]" | ||
authors: [ | ||
"David Allsopp <[email protected]>" | ||
"Vincent Bernardoff <[email protected]>" | ||
"Raja Boujbel <[email protected]>" | ||
"Kate Deplaix <[email protected]>" | ||
"Roberto Di Cosmo <[email protected]>" | ||
"Thomas Gazagnaire <[email protected]>" | ||
"Louis Gesbert <[email protected]>" | ||
"Fabrice Le Fessant <[email protected]>" | ||
"Anil Madhavapeddy <[email protected]>" | ||
"Guillem Rieu <[email protected]>" | ||
"Ralf Treinen <[email protected]>" | ||
"Frederic Tuong <[email protected]>" | ||
] | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
homepage: "https://opam.ocaml.org" | ||
bug-reports: "https://github.com/ocaml/opam/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08.0"} | ||
"opam-core" {= version} | ||
"opam-file-format" {>= "2.1.4"} | ||
"re" {>= "1.9.0"} | ||
"dune" {>= "2.0.0"} | ||
] | ||
build: [ | ||
["./configure" "--disable-checks" "--prefix" prefix] | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
dev-repo: "git+https://github.com/ocaml/opam.git" | ||
url { | ||
src: "https://github.com/ocaml/opam/archive/refs/tags/2.2.1.tar.gz" | ||
checksum: [ | ||
"md5=d9b85326877d02ffee49caee2384f170" | ||
"sha512=17d7d83b9de118332c121b9d3aa2e48f62a6270ea23e730a536b0f4ff060df85238c7c4ab53a89bcc3b3193d52d14358831bd9bed30a4ac699e44e4c3003b8b0" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
opam-version: "2.0" | ||
synopsis: "Repository library for opam 2.2" | ||
description: | ||
"This library includes repository and remote sources handling, including curl/wget, rsync, git, mercurial, darcs backends." | ||
maintainer: "[email protected]" | ||
authors: [ | ||
"David Allsopp <[email protected]>" | ||
"Vincent Bernardoff <[email protected]>" | ||
"Raja Boujbel <[email protected]>" | ||
"Kate Deplaix <[email protected]>" | ||
"Roberto Di Cosmo <[email protected]>" | ||
"Thomas Gazagnaire <[email protected]>" | ||
"Louis Gesbert <[email protected]>" | ||
"Fabrice Le Fessant <[email protected]>" | ||
"Anil Madhavapeddy <[email protected]>" | ||
"Guillem Rieu <[email protected]>" | ||
"Ralf Treinen <[email protected]>" | ||
"Frederic Tuong <[email protected]>" | ||
] | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
homepage: "https://opam.ocaml.org" | ||
bug-reports: "https://github.com/ocaml/opam/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08.0"} | ||
"opam-format" {= version} | ||
"dune" {>= "2.0.0"} | ||
] | ||
build: [ | ||
["./configure" "--disable-checks" "--prefix" prefix] | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
dev-repo: "git+https://github.com/ocaml/opam.git" | ||
url { | ||
src: "https://github.com/ocaml/opam/archive/refs/tags/2.2.1.tar.gz" | ||
checksum: [ | ||
"md5=d9b85326877d02ffee49caee2384f170" | ||
"sha512=17d7d83b9de118332c121b9d3aa2e48f62a6270ea23e730a536b0f4ff060df85238c7c4ab53a89bcc3b3193d52d14358831bd9bed30a4ac699e44e4c3003b8b0" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
opam-version: "2.0" | ||
synopsis: "State library for opam 2.2" | ||
description: | ||
"Handling of the ~/.opam hierarchy, repository and switch states." | ||
maintainer: "[email protected]" | ||
authors: [ | ||
"David Allsopp <[email protected]>" | ||
"Vincent Bernardoff <[email protected]>" | ||
"Raja Boujbel <[email protected]>" | ||
"Kate Deplaix <[email protected]>" | ||
"Roberto Di Cosmo <[email protected]>" | ||
"Thomas Gazagnaire <[email protected]>" | ||
"Louis Gesbert <[email protected]>" | ||
"Fabrice Le Fessant <[email protected]>" | ||
"Anil Madhavapeddy <[email protected]>" | ||
"Guillem Rieu <[email protected]>" | ||
"Ralf Treinen <[email protected]>" | ||
"Frederic Tuong <[email protected]>" | ||
] | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
homepage: "https://opam.ocaml.org" | ||
bug-reports: "https://github.com/ocaml/opam/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08.0"} | ||
"opam-repository" {= version} | ||
"re" {>= "1.9.0"} | ||
"spdx_licenses" {>= "1.0.0"} | ||
"dune" {>= "2.0.0"} | ||
] | ||
build: [ | ||
["./configure" "--disable-checks" "--prefix" prefix] | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
dev-repo: "git+https://github.com/ocaml/opam.git" | ||
url { | ||
src: "https://github.com/ocaml/opam/archive/refs/tags/2.2.1.tar.gz" | ||
checksum: [ | ||
"md5=d9b85326877d02ffee49caee2384f170" | ||
"sha512=17d7d83b9de118332c121b9d3aa2e48f62a6270ea23e730a536b0f4ff060df85238c7c4ab53a89bcc3b3193d52d14358831bd9bed30a4ac699e44e4c3003b8b0" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
opam-version: "2.0" | ||
synopsis: "A library providing a strict SPDX License Expression parser" | ||
description: """\ | ||
An OCaml library aiming to provide an up-to-date and strict SPDX License Expression parser. | ||
It implements the format described in: https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-expressions/ | ||
See https://spdx.org/licenses/ for more details.""" | ||
maintainer: "Kate <[email protected]>" | ||
authors: "Kate <[email protected]>" | ||
license: "MIT" | ||
homepage: "https://github.com/kit-ty-kate/spdx_licenses" | ||
bug-reports: "https://github.com/kit-ty-kate/spdx_licenses/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "2.3"} | ||
"alcotest" {with-test & >= "1.4.0"} | ||
] | ||
build: ["dune" "build" "-p" name "-j" jobs] | ||
run-test: ["dune" "runtest" "-p" name "-j" jobs] | ||
dev-repo: "git+https://github.com/kit-ty-kate/spdx_licenses.git" | ||
url { | ||
src: | ||
"https://github.com/kit-ty-kate/spdx_licenses/releases/download/v1.2.0/spdx_licenses-1.2.0.tar.gz" | ||
checksum: [ | ||
"md5=b581124aeebd7facb856d8b942cb58a5" | ||
"sha512=188cb1fd9be76dfc9e26f155a0062ce000a3798e12e2208634db03f54ca7ebb9b3b16787114233f36e2a69bcba08572790c4931790e39590b13d48306b37931c" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml library to work with swhids" | ||
description: """ | ||
swhid_core is an OCaml library to with with Software Heritage persistent identifiers (swhids). | ||
This is the core library, for most use cases you should use the swhid library instead. | ||
""" | ||
maintainer: "Léo Andrès <[email protected]>" | ||
authors: [ | ||
"Léo Andrès <[email protected]>" | ||
"Dario Pinto <[email protected]>" | ||
] | ||
license: "ISC" | ||
homepage: "https://github.com/ocamlpro/swhid_core" | ||
bug-reports: "https://github.com/ocamlpro/swhid_core/issues" | ||
depends: [ | ||
"ocaml" {>= "4.03"} | ||
"dune" {>= "1.11"} | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/ocamlpro/swhid_core.git" | ||
url { | ||
src: "https://github.com/OCamlPro/swhid_core/archive/refs/tags/0.1.tar.gz" | ||
checksum: [ | ||
"sha256=8718b4eb97c9f0acd6d9162a9efa2f6af82474a0bd186f622fda3294f773bccf" | ||
"sha512=ec72cc946c662dc8230f4ef8c85bb41df56c3f46bc49276feca434199cd482f11901be902fc5c243244866d4a167474f18245f83ad0b0cf46eb35406ad1f1b5c" | ||
] | ||
} |