commit:     beda9740601df8d5c1dead0b02c239cb5e801b64
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 16 18:22:10 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 16 18:27:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=beda9740

dev-ml/mustache: ounit2 patch

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-ml/mustache/files/mustache-3.1.0-ounit2.patch | 37 +++++++++++++++++++++++
 dev-ml/mustache/mustache-3.1.0.ebuild             |  3 +-
 2 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/dev-ml/mustache/files/mustache-3.1.0-ounit2.patch 
b/dev-ml/mustache/files/mustache-3.1.0-ounit2.patch
new file mode 100644
index 000000000..3dccb1628
--- /dev/null
+++ b/dev-ml/mustache/files/mustache-3.1.0-ounit2.patch
@@ -0,0 +1,37 @@
+From 002360c97f11981aee736292c372057425ef23c0 Mon Sep 17 00:00:00 2001
+From: Alessandro-Barbieri <lssndrbarbi...@gmail.com>
+Date: Sat, 16 Apr 2022 20:20:29 +0200
+Subject: [PATCH] use ounit2
+
+Signed-off-by: Alessandro-Barbieri <lssndrbarbi...@gmail.com>
+---
+ dune-project  | 2 +-
+ mustache.opam | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/dune-project b/dune-project
+index 5f64694..921db30 100644
+--- a/dune-project
++++ b/dune-project
+@@ -27,7 +27,7 @@ Contains the `mustache` command line utility for driving 
logic-less templates.
+ ")
+  (depends
+   (jsonm (>= 1.0.1))
+-  (ounit :with-test)
++  (ounit2 :with-test)
+   (ezjsonm :with-test)
+   (menhir (>= 20180703))
+   (cmdliner (>= 1.0.4))
+diff --git a/mustache.opam b/mustache.opam
+index d5fedca..51e5a0a 100644
+--- a/mustache.opam
++++ b/mustache.opam
+@@ -18,7 +18,7 @@ bug-reports: 
"https://github.com/rgrinberg/ocaml-mustache/issues";
+ depends: [
+   "dune" {>= "2.7"}
+   "jsonm" {>= "1.0.1"}
+-  "ounit" {with-test}
++  "ounit2" {with-test}
+   "ezjsonm" {with-test}
+   "menhir" {>= "20180703"}
+   "cmdliner" {>= "1.0.4"}

diff --git a/dev-ml/mustache/mustache-3.1.0.ebuild 
b/dev-ml/mustache/mustache-3.1.0.ebuild
index 6861c6c4f..592fe964b 100644
--- a/dev-ml/mustache/mustache-3.1.0.ebuild
+++ b/dev-ml/mustache/mustache-3.1.0.ebuild
@@ -26,7 +26,8 @@ DEPEND="
 "
 RDEPEND="
        ${DEPEND}
-       test? ( dev-ml/ounit )
+       test? ( dev-ml/ounit2 )
 "
 
 RESTRICT="!test? ( test )"
+PATCHES="${FILESDIR}/${P}-ounit2.patch"

Reply via email to