From a05bf9478d6764601775da7a3ae567aee1fef848 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Wed, 20 Apr 2022 23:54:13 +0200 Subject: [PATCH] dev-ml/qmp: add 0.18.0, drop 0.17.0 Signed-off-by: Alessandro Barbieri --- dev-ml/qmp/Manifest | 2 +- dev-ml/qmp/files/qmp-0.18.0-ounit2.patch | 37 +++++++++++++++++++ .../{qmp-0.17.0.ebuild => qmp-0.18.0.ebuild} | 0 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 dev-ml/qmp/files/qmp-0.18.0-ounit2.patch rename dev-ml/qmp/{qmp-0.17.0.ebuild => qmp-0.18.0.ebuild} (100%) diff --git a/dev-ml/qmp/Manifest b/dev-ml/qmp/Manifest index c636da4f02..337ca5f8c3 100644 --- a/dev-ml/qmp/Manifest +++ b/dev-ml/qmp/Manifest @@ -1 +1 @@ -DIST qmp-0.17.0.tar.gz 24131 BLAKE2B bcf594c77cdcc4d6810008a841db25240bca350a2e6bd2e71919207aa6c96d7649836a916c3e38b262607dc17312ac79dce1ff97e6b5d45efb155808ff756bd1 SHA512 b8e295cb0664b6e74a5c3c536132e71185c484d008d319b0eb802959d1e11322c958739e73cf24809a323fdf8b55a9b01431d8f4d1b1e95d5d42f38645ad8892 +DIST qmp-0.18.0.tar.gz 24630 BLAKE2B 3953fda549d913e032e1b2f70dfd50215f56b4faf253ea65f961ad62d93be954fd902ca3bfb1b1ead487999267d2cec37df1ebb66108a58071858e7290576d84 SHA512 2fab5ba1b2ee81fb738a827dcd037be400704613c68cd37fccb18693b8332fa9904a30e425aadbd72407958f2dacbb89b244ec64572c2510554f524034d459b2 diff --git a/dev-ml/qmp/files/qmp-0.18.0-ounit2.patch b/dev-ml/qmp/files/qmp-0.18.0-ounit2.patch new file mode 100644 index 0000000000..926a68c34e --- /dev/null +++ b/dev-ml/qmp/files/qmp-0.18.0-ounit2.patch @@ -0,0 +1,37 @@ +diff --git a/README.md b/README.md +index cc6df4b..0595368 100644 +--- a/README.md ++++ b/README.md +@@ -8,7 +8,7 @@ OCaml implementation of the Qemu Monitor Protocol (QMP) + Install the dependencies using OPAM: + + ```sh +-opam install yojson cmdliner dune ounit ++opam install yojson cmdliner dune ounit2 + ``` + + Build the library, tests, and CLI: +diff --git a/lib_test/dune b/lib_test/dune +index acc68b9..a587594 100644 +--- a/lib_test/dune ++++ b/lib_test/dune +@@ -6,5 +6,5 @@ + + (executable + (name messages) +- (libraries libqmp oUnit) ++ (libraries libqmp ounit2) + ) +diff --git a/qmp.opam b/qmp.opam +index 2e21b12..571b58f 100644 +--- a/qmp.opam ++++ b/qmp.opam +@@ -17,7 +17,7 @@ depends: [ + "dune" {build} + "yojson" + "cmdliner" +- "ounit" {with-test} ++ "ounit2" {with-test} + ] + dev-repo: "git://github.com/xapi-project/ocaml-qmp" + synopsis: "OCaml implementation of a Qemu Message Protocol (QMP) client" diff --git a/dev-ml/qmp/qmp-0.17.0.ebuild b/dev-ml/qmp/qmp-0.18.0.ebuild similarity index 100% rename from dev-ml/qmp/qmp-0.17.0.ebuild rename to dev-ml/qmp/qmp-0.18.0.ebuild