mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-ml/io-page: use ounit2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
34
dev-ml/io-page/files/io-page-2.4.0-ounit2.patch
Normal file
34
dev-ml/io-page/files/io-page-2.4.0-ounit2.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
From d6432606b9d76ce399f47263992d39c306eb2fcf Mon Sep 17 00:00:00 2001
|
||||
From: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
|
||||
Date: Sat, 16 Apr 2022 18:45:58 +0200
|
||||
Subject: [PATCH] switch to ounit2
|
||||
|
||||
Signed-off-by: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
|
||||
---
|
||||
io-page.opam | 2 +-
|
||||
lib_test/dune | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/io-page.opam b/io-page.opam
|
||||
index eca0112..b72af2e 100644
|
||||
--- a/io-page.opam
|
||||
+++ b/io-page.opam
|
||||
@@ -11,7 +11,7 @@ depends: [
|
||||
"ocaml" {>= "4.08.0"}
|
||||
"dune" {>= "2.6"}
|
||||
"cstruct" {>= "2.0.0"}
|
||||
- "ounit" {with-test}
|
||||
+ "ounit2" {with-test}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
diff --git a/lib_test/dune b/lib_test/dune
|
||||
index 9eb6161..f23440b 100644
|
||||
--- a/lib_test/dune
|
||||
+++ b/lib_test/dune
|
||||
@@ -1,4 +1,4 @@
|
||||
(test
|
||||
(name portable)
|
||||
(package io-page)
|
||||
- (libraries io-page oUnit))
|
||||
+ (libraries io-page ounit2))
|
||||
@@ -23,7 +23,7 @@ RDEPEND="
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-ml/ounit )
|
||||
test? ( dev-ml/ounit2 )
|
||||
unix? ( dev-ml/configurator )
|
||||
"
|
||||
|
||||
|
||||
@@ -8,7 +8,10 @@ inherit dune
|
||||
MY_P="${PN}-v${PV}"
|
||||
|
||||
DESCRIPTION="IO memory page library for Mirage backends"
|
||||
HOMEPAGE="https://github.com/mirage/io-page"
|
||||
HOMEPAGE="
|
||||
https://github.com/mirage/io-page
|
||||
https://github.com/mirage/io-page
|
||||
"
|
||||
SRC_URI="https://github.com/mirage/io-page/releases/download/v${PV}/${MY_P}.tbz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
@@ -18,13 +21,14 @@ KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test"
|
||||
|
||||
RDEPEND="
|
||||
dev-ml/bigarray-compat
|
||||
dev-ml/cstruct
|
||||
dev-ml/bigarray-compat:=
|
||||
dev-ml/cstruct:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-ml/ounit )
|
||||
test? ( dev-ml/ounit2 )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
PATCHES="${FILESDIR}/${P}-ounit2.patch"
|
||||
|
||||
Reference in New Issue
Block a user