From a358d080334d72bd436db2fab7a74628f4bcbef5 Mon Sep 17 00:00:00 2001 From: Kate Date: Mon, 7 Apr 2025 02:18:14 +0100 Subject: [PATCH 1/2] 2 packages from kit-ty-kate/opam-build at 0.2.5 --- packages/opam-build/opam-build.0.2.5/opam | 26 +++++++++++++++++++++++ packages/opam-test/opam-test.0.2.5/opam | 26 +++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 packages/opam-build/opam-build.0.2.5/opam create mode 100644 packages/opam-test/opam-test.0.2.5/opam diff --git a/packages/opam-build/opam-build.0.2.5/opam b/packages/opam-build/opam-build.0.2.5/opam new file mode 100644 index 000000000000..4652f095d7ff --- /dev/null +++ b/packages/opam-build/opam-build.0.2.5/opam @@ -0,0 +1,26 @@ +opam-version: "2.0" +synopsis: "An opam plugin to build projects" +maintainer: "Kate " +authors: "Kate " +license: "MIT" +homepage: "https://github.com/kit-ty-kate/opam-build" +bug-reports: "https://github.com/kit-ty-kate/opam-build/issues" +depends: [ + "ocaml" {>= "4.08"} + "dune" {>= "2.0"} + "opam-client" {>= "2.3" & < "2.4"} + "cmdliner" {>= "1.1"} + "xdg" {>= "3.0.0"} +] +available: opam-version >= "2.3" & opam-version < "2.4" +flags: plugin +build: ["dune" "build" "-p" name "-j" jobs] +dev-repo: "git+https://github.com/kit-ty-kate/opam-build.git" +url { + src: + "https://github.com/kit-ty-kate/opam-build/releases/download/v0.2.5/opam-build-0.2.5.tar.gz" + checksum: [ + "md5=7d68bc72a303aafa5d1546fa6bc55d7b" + "sha512=a07acfff1f566c9f4e50fba8b9dae9c25a09acd304e6a5c260602e31eb3932aef02795de16f2616ba78a93db2499114cc6a1371d65dd34c1a45418b16f75886a" + ] +} \ No newline at end of file diff --git a/packages/opam-test/opam-test.0.2.5/opam b/packages/opam-test/opam-test.0.2.5/opam new file mode 100644 index 000000000000..a63033ac4891 --- /dev/null +++ b/packages/opam-test/opam-test.0.2.5/opam @@ -0,0 +1,26 @@ +opam-version: "2.0" +synopsis: "An opam plugin to test projects" +maintainer: "Kate " +authors: "Kate " +license: "MIT" +homepage: "https://github.com/kit-ty-kate/opam-build" +bug-reports: "https://github.com/kit-ty-kate/opam-build/issues" +depends: [ + "ocaml" {>= "4.08"} + "dune" {>= "2.0"} + "opam-client" {>= "2.3" & < "2.4"} + "cmdliner" {>= "1.1"} + "xdg" {>= "3.0.0"} +] +available: opam-version >= "2.3" & opam-version < "2.4" +flags: plugin +build: ["dune" "build" "-p" name "-j" jobs] +dev-repo: "git+https://github.com/kit-ty-kate/opam-build.git" +url { + src: + "https://github.com/kit-ty-kate/opam-build/releases/download/v0.2.5/opam-build-0.2.5.tar.gz" + checksum: [ + "md5=7d68bc72a303aafa5d1546fa6bc55d7b" + "sha512=a07acfff1f566c9f4e50fba8b9dae9c25a09acd304e6a5c260602e31eb3932aef02795de16f2616ba78a93db2499114cc6a1371d65dd34c1a45418b16f75886a" + ] +} \ No newline at end of file From a6fd8b24f72c9295ab609c65dab25c326838bee8 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Mon, 7 Apr 2025 16:08:53 +0200 Subject: [PATCH 2/2] Apply suggestions from code review --- packages/opam-build/opam-build.0.2.5/opam | 3 +++ packages/opam-test/opam-test.0.2.5/opam | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/opam-build/opam-build.0.2.5/opam b/packages/opam-build/opam-build.0.2.5/opam index 4652f095d7ff..ef68db640bf1 100644 --- a/packages/opam-build/opam-build.0.2.5/opam +++ b/packages/opam-build/opam-build.0.2.5/opam @@ -1,6 +1,9 @@ opam-version: "2.0" synopsis: "An opam plugin to build projects" maintainer: "Kate " +description: """ +opam-build allows to build any project easily with just one command: opam build. This will setup a local switch and install all the required dependencies. +""" authors: "Kate " license: "MIT" homepage: "https://github.com/kit-ty-kate/opam-build" diff --git a/packages/opam-test/opam-test.0.2.5/opam b/packages/opam-test/opam-test.0.2.5/opam index a63033ac4891..a821f25e4283 100644 --- a/packages/opam-test/opam-test.0.2.5/opam +++ b/packages/opam-test/opam-test.0.2.5/opam @@ -1,6 +1,9 @@ opam-version: "2.0" synopsis: "An opam plugin to test projects" maintainer: "Kate " +description: """ +opam-test: similar to opam-build, this will setup a local switch and install all the required dependencies, but will also run the tests on top of it. It also circumvents issues with cyclic test dependencies in opam (where the tests require a package that needs the library it is trying to test). Such cyclic dependency is present in packages such as odoc or base. See https://github.com/ocaml/opam/issues/4594 +""" authors: "Kate " license: "MIT" homepage: "https://github.com/kit-ty-kate/opam-build"