From 411eb5db71ed58917df1816db72077c8b62c8a0c Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Sun, 7 Jun 2020 12:57:27 -0700 Subject: [PATCH] [new release] dune-build-info, dune, dune-configurator, dune-action-plugin, dune-private-libs and dune-glob (2.6.0) CHANGES: - Fix a bug where valid lib names in `dune init exec --libs=lib1,lib2` results in an error. (ocaml/dune#3444, fix ocaml/dune#3443, @bikallem) - Add and `enabled_ if` field to the `install` stanza. Enforce the same variable restrictions for `enabled_if` fields in the `executable` and `install` stanzas than in the `library` stanza. When using dune lang < 2.6, the usage of forbidden variables in executables stanzas with only trigger a warning to maintain compatibility. (ocaml/dune#3408 and ocaml/dune#3496, fixes ocaml/dune#3354, @voodoos) - Insert a constraint one the version of dune when the user explicitly specify the dependency on dune in the `dune-project` file (ocaml/dune#3434 , fixes ocaml/dune#3427, @diml) - Generate correct META files for sub-libraries (of the form `lib.foo`) that contain .js runtime files. (ocaml/dune#3445, @hhugo) - Add a `(no-infer ...)` action that prevents inference of targets and dependencies in actions. (ocaml/dune#3456, fixes ocaml/dune#2006, @roddyyaga) - Correctly infer targets for the `diff?` action. (ocaml/dune#3457, fixes ocaml/dune#2990, @greedy) - Fix `$ dune print-rules` crashing (ocaml/dune#3459, fixes ocaml/dune#3440, @rgrinberg) - Simplify js_of_ocaml rules using js_of_ocaml.3.6 (ocaml/dune#3375, @hhugo) - Add a new `ocaml-merlin` subcommand that can be used by Merlin to get configuration directly from dune instead of using `.merlin` files. (ocaml/dune#3395, @voodoos) - Remove experimental variants feature and make default implementations part of the language (ocaml/dune#3491, fixes ocaml/dune#3483, @rgrinberg) --- .../dune-action-plugin.2.6.0/opam | 44 +++++++++++++++ .../dune-build-info.2.6.0/opam | 40 ++++++++++++++ .../dune-configurator.2.6.0/opam | 43 +++++++++++++++ packages/dune-glob/dune-glob.2.6.0/opam | 35 ++++++++++++ .../dune-private-libs.2.6.0/opam | 42 ++++++++++++++ packages/dune/dune.2.6.0/opam | 55 +++++++++++++++++++ 6 files changed, 259 insertions(+) create mode 100644 packages/dune-action-plugin/dune-action-plugin.2.6.0/opam create mode 100644 packages/dune-build-info/dune-build-info.2.6.0/opam create mode 100644 packages/dune-configurator/dune-configurator.2.6.0/opam create mode 100644 packages/dune-glob/dune-glob.2.6.0/opam create mode 100644 packages/dune-private-libs/dune-private-libs.2.6.0/opam create mode 100644 packages/dune/dune.2.6.0/opam diff --git a/packages/dune-action-plugin/dune-action-plugin.2.6.0/opam b/packages/dune-action-plugin/dune-action-plugin.2.6.0/opam new file mode 100644 index 000000000000..7e13bc8d3cd8 --- /dev/null +++ b/packages/dune-action-plugin/dune-action-plugin.2.6.0/opam @@ -0,0 +1,44 @@ +opam-version: "2.0" +synopsis: "[experimental] API for writing dynamic Dune actions" +description: """ + +This library is experimental. No backwards compatibility is implied. + +dune-action-plugin provides an API for writing dynamic Dune actions. +Dynamic dune actions do not need to declare their dependencies +upfront; they are instead discovered automatically during the +execution of the action. +""" +maintainer: ["Jane Street Group, LLC "] +authors: ["Jane Street Group, LLC "] +license: "MIT" +homepage: "https://github.com/ocaml/dune" +doc: "https://dune.readthedocs.io/" +bug-reports: "https://github.com/ocaml/dune/issues" +depends: [ + "dune" {>= "2.5"} + "dune-glob" + "ppx_expect" {with-test} + "dune-private-libs" {= version} +] +dev-repo: "git+https://github.com/ocaml/dune.git" +build: [ + ["dune" "subst"] {pinned} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: "https://github.com/ocaml/dune/releases/download/2.6.0/dune-2.6.0.tbz" + checksum: [ + "sha256=5d73fed74f9e379903691698e3ad3fd39839dacd1350d06df940e954c09d7519" + "sha512=d15cdabba986f18f84c9c3f9d8aa16fdef756260d02aac98c750c035405e568ab71b87fdf6350b106247e85041f226a477ac13b59f4cc2638144917c935f302f" + ] +} diff --git a/packages/dune-build-info/dune-build-info.2.6.0/opam b/packages/dune-build-info/dune-build-info.2.6.0/opam new file mode 100644 index 000000000000..7519f9599d6f --- /dev/null +++ b/packages/dune-build-info/dune-build-info.2.6.0/opam @@ -0,0 +1,40 @@ +opam-version: "2.0" +synopsis: "Embed build informations inside executable" +description: """ +The build-info library allows to access information about how the +executable was built, such as the version of the project at which it +was built or the list of statically linked libraries with their +versions. It supports reporting the version from the version control +system during development to get an precise reference of when the +executable was built. +""" +maintainer: ["Jane Street Group, LLC "] +authors: ["Jane Street Group, LLC "] +license: "MIT" +homepage: "https://github.com/ocaml/dune" +doc: "https://dune.readthedocs.io/" +bug-reports: "https://github.com/ocaml/dune/issues" +depends: [ + "dune" {>= "2.5"} +] +dev-repo: "git+https://github.com/ocaml/dune.git" +build: [ + ["dune" "subst"] {pinned} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: "https://github.com/ocaml/dune/releases/download/2.6.0/dune-2.6.0.tbz" + checksum: [ + "sha256=5d73fed74f9e379903691698e3ad3fd39839dacd1350d06df940e954c09d7519" + "sha512=d15cdabba986f18f84c9c3f9d8aa16fdef756260d02aac98c750c035405e568ab71b87fdf6350b106247e85041f226a477ac13b59f4cc2638144917c935f302f" + ] +} diff --git a/packages/dune-configurator/dune-configurator.2.6.0/opam b/packages/dune-configurator/dune-configurator.2.6.0/opam new file mode 100644 index 000000000000..5c80a9cb68d2 --- /dev/null +++ b/packages/dune-configurator/dune-configurator.2.6.0/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +synopsis: "Helper library for gathering system configuration" +description: """ +dune-configurator is a small library that helps writing OCaml scripts that +test features available on the system, in order to generate config.h +files for instance. +Among other things, dune-configurator allows one to: +- test if a C program compiles +- query pkg-config +- import #define from OCaml header files +- generate config.h file +""" +maintainer: ["Jane Street Group, LLC "] +authors: ["Jane Street Group, LLC "] +license: "MIT" +homepage: "https://github.com/ocaml/dune" +doc: "https://dune.readthedocs.io/" +bug-reports: "https://github.com/ocaml/dune/issues" +depends: [ + "dune" {>= "2.5"} + "dune-private-libs" {= version} +] +dev-repo: "git+https://github.com/ocaml/dune.git" +build: [ + ["dune" "subst"] {pinned} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: "https://github.com/ocaml/dune/releases/download/2.6.0/dune-2.6.0.tbz" + checksum: [ + "sha256=5d73fed74f9e379903691698e3ad3fd39839dacd1350d06df940e954c09d7519" + "sha512=d15cdabba986f18f84c9c3f9d8aa16fdef756260d02aac98c750c035405e568ab71b87fdf6350b106247e85041f226a477ac13b59f4cc2638144917c935f302f" + ] +} diff --git a/packages/dune-glob/dune-glob.2.6.0/opam b/packages/dune-glob/dune-glob.2.6.0/opam new file mode 100644 index 000000000000..94cee2d3f7a5 --- /dev/null +++ b/packages/dune-glob/dune-glob.2.6.0/opam @@ -0,0 +1,35 @@ +opam-version: "2.0" +synopsis: "Glob string matching language supported by dune" +description: + "dune-glob provides a parser and interpreter for globs as understood by dune language." +maintainer: ["Jane Street Group, LLC "] +authors: ["Jane Street Group, LLC "] +license: "MIT" +homepage: "https://github.com/ocaml/dune" +doc: "https://dune.readthedocs.io/" +bug-reports: "https://github.com/ocaml/dune/issues" +depends: [ + "dune" {>= "2.5"} + "dune-private-libs" {= version} +] +dev-repo: "git+https://github.com/ocaml/dune.git" +build: [ + ["dune" "subst"] {pinned} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: "https://github.com/ocaml/dune/releases/download/2.6.0/dune-2.6.0.tbz" + checksum: [ + "sha256=5d73fed74f9e379903691698e3ad3fd39839dacd1350d06df940e954c09d7519" + "sha512=d15cdabba986f18f84c9c3f9d8aa16fdef756260d02aac98c750c035405e568ab71b87fdf6350b106247e85041f226a477ac13b59f4cc2638144917c935f302f" + ] +} diff --git a/packages/dune-private-libs/dune-private-libs.2.6.0/opam b/packages/dune-private-libs/dune-private-libs.2.6.0/opam new file mode 100644 index 000000000000..2a11e652bc2f --- /dev/null +++ b/packages/dune-private-libs/dune-private-libs.2.6.0/opam @@ -0,0 +1,42 @@ +opam-version: "2.0" +synopsis: "Private libraries of Dune" +description: """ +!!!!!!!!!!!!!!!!!!!!!! +!!!!! DO NOT USE !!!!! +!!!!!!!!!!!!!!!!!!!!!! + +This package contains code that is shared between various dune-xxx +packages. However, it is not meant for public consumption and provides +no stability guarantee. +""" +maintainer: ["Jane Street Group, LLC "] +authors: ["Jane Street Group, LLC "] +license: "MIT" +homepage: "https://github.com/ocaml/dune" +doc: "https://dune.readthedocs.io/" +bug-reports: "https://github.com/ocaml/dune/issues" +depends: [ + "dune" {>= "2.5"} + "ocaml" {>= "4.07"} +] +dev-repo: "git+https://github.com/ocaml/dune.git" +build: [ + ["dune" "subst"] {pinned} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: "https://github.com/ocaml/dune/releases/download/2.6.0/dune-2.6.0.tbz" + checksum: [ + "sha256=5d73fed74f9e379903691698e3ad3fd39839dacd1350d06df940e954c09d7519" + "sha512=d15cdabba986f18f84c9c3f9d8aa16fdef756260d02aac98c750c035405e568ab71b87fdf6350b106247e85041f226a477ac13b59f4cc2638144917c935f302f" + ] +} diff --git a/packages/dune/dune.2.6.0/opam b/packages/dune/dune.2.6.0/opam new file mode 100644 index 000000000000..51a462c66822 --- /dev/null +++ b/packages/dune/dune.2.6.0/opam @@ -0,0 +1,55 @@ +opam-version: "2.0" +synopsis: "Fast, portable, and opinionated build system" +description: """ + +dune is a build system that was designed to simplify the release of +Jane Street packages. It reads metadata from "dune" files following a +very simple s-expression syntax. + +dune is fast, has very low-overhead, and supports parallel builds on +all platforms. It has no system dependencies; all you need to build +dune or packages using dune is OCaml. You don't need make or bash +as long as the packages themselves don't use bash explicitly. + +dune supports multi-package development by simply dropping multiple +repositories into the same directory. + +It also supports multi-context builds, such as building against +several opam roots/switches simultaneously. This helps maintaining +packages across several versions of OCaml and gives cross-compilation +for free. +""" +maintainer: ["Jane Street Group, LLC "] +authors: ["Jane Street Group, LLC "] +license: "MIT" +homepage: "https://github.com/ocaml/dune" +doc: "https://dune.readthedocs.io/" +bug-reports: "https://github.com/ocaml/dune/issues" +conflicts: [ + "dune-configurator" {< "2.3.0"} + "odoc" {< "1.3.0"} + "dune-release" {< "1.3.0"} + "js_of_ocaml-compiler" {< "3.6.0"} + "jbuilder" {= "transition"} +] +dev-repo: "git+https://github.com/ocaml/dune.git" +build: [ + # opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path + ["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"} + ["ocaml" "bootstrap.ml" "-j" jobs] + ["./dune.exe" "build" "-p" name "--profile" "dune-bootstrap" "-j" jobs] +] +depends: [ + # Please keep the lower bound in sync with .travis.yml, dune-project + # and min_ocaml_version in bootstrap.ml + ("ocaml" {>= "4.07"} | ("ocaml" {< "4.07~~"} & "ocamlfind-secondary")) + "base-unix" + "base-threads" +] +url { + src: "https://github.com/ocaml/dune/releases/download/2.6.0/dune-2.6.0.tbz" + checksum: [ + "sha256=5d73fed74f9e379903691698e3ad3fd39839dacd1350d06df940e954c09d7519" + "sha512=d15cdabba986f18f84c9c3f9d8aa16fdef756260d02aac98c750c035405e568ab71b87fdf6350b106247e85041f226a477ac13b59f4cc2638144917c935f302f" + ] +}