mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
dev-ml/vchan: update HOMEPAGE
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
78
dev-ml/vchan/files/vchan-6.0.1-ounit2.patch
Normal file
78
dev-ml/vchan/files/vchan-6.0.1-ounit2.patch
Normal file
@@ -0,0 +1,78 @@
|
||||
From 56fe85c077bb3dfe936dcf9eaa96229a223d2028 Mon Sep 17 00:00:00 2001
|
||||
From: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
|
||||
Date: Sat, 16 Apr 2022 20:00:53 +0200
|
||||
Subject: [PATCH] use ounit2
|
||||
|
||||
Signed-off-by: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
|
||||
---
|
||||
.coverage.sh | 2 +-
|
||||
lib_test/dune | 2 +-
|
||||
vchan-unix.opam | 2 +-
|
||||
vchan-xen.opam | 2 +-
|
||||
vchan.opam | 2 +-
|
||||
5 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/.coverage.sh b/.coverage.sh
|
||||
index bd8dcc8..c263bb7 100644
|
||||
--- a/.coverage.sh
|
||||
+++ b/.coverage.sh
|
||||
@@ -11,7 +11,7 @@ if [ -z "$KEEP" ]; then trap "popd; rm -rf $COVERAGE_DIR" EXIT; fi
|
||||
$(which cp) -r ../* .
|
||||
|
||||
eval `opam config env`
|
||||
-opam install -y bisect_ppx oasis ocveralls ounit
|
||||
+opam install -y bisect_ppx oasis ocveralls ounit2
|
||||
|
||||
sed -i 's/BuildDepends:/BuildDepends: bisect_ppx,/g' _oasis
|
||||
oasis setup
|
||||
diff --git a/lib_test/dune b/lib_test/dune
|
||||
index ce2e21b..c8fa076 100644
|
||||
--- a/lib_test/dune
|
||||
+++ b/lib_test/dune
|
||||
@@ -1,6 +1,6 @@
|
||||
(executables
|
||||
(names test)
|
||||
- (libraries cmdliner lwt lwt.unix vchan oUnit))
|
||||
+ (libraries cmdliner lwt lwt.unix vchan ounit2))
|
||||
|
||||
(alias
|
||||
(name runtest)
|
||||
diff --git a/vchan-unix.opam b/vchan-unix.opam
|
||||
index c2d3194..0c948ec 100644
|
||||
--- a/vchan-unix.opam
|
||||
+++ b/vchan-unix.opam
|
||||
@@ -26,7 +26,7 @@ depends: [
|
||||
"xen-gnt"
|
||||
"fmt" {>= "0.8.7"}
|
||||
"cmdliner" {with-test}
|
||||
- "ounit" {with-test}
|
||||
+ "ounit2" {with-test}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
diff --git a/vchan-xen.opam b/vchan-xen.opam
|
||||
index 4bd58f5..a461dd4 100644
|
||||
--- a/vchan-xen.opam
|
||||
+++ b/vchan-xen.opam
|
||||
@@ -21,7 +21,7 @@ depends: [
|
||||
"mirage-xen" {>= "7.0.0"}
|
||||
"xenstore_transport" {>= "1.0.0"}
|
||||
"sexplib"
|
||||
- "ounit" {with-test}
|
||||
+ "ounit2" {with-test}
|
||||
"cmdliner" {with-test}
|
||||
]
|
||||
build: [
|
||||
diff --git a/vchan.opam b/vchan.opam
|
||||
index b7ce1a2..bb42aa9 100644
|
||||
--- a/vchan.opam
|
||||
+++ b/vchan.opam
|
||||
@@ -25,7 +25,7 @@ depends: [
|
||||
"xenstore_transport" {>= "1.0.0"}
|
||||
"sexplib"
|
||||
"cmdliner" {with-test}
|
||||
- "ounit" {with-test}
|
||||
+ "ounit2" {with-test}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
@@ -8,7 +8,10 @@ inherit dune multiprocessing
|
||||
MY_PN="ocaml-${PN}"
|
||||
|
||||
DESCRIPTION="Pure OCaml implementation of the vchan shared-memory communication protocol"
|
||||
HOMEPAGE="https://github.com/mirage/ocaml-vchan"
|
||||
HOMEPAGE="
|
||||
https://github.com/mirage/ocaml-vchan
|
||||
https://opam.ocaml.org/packages/vchan/
|
||||
"
|
||||
SRC_URI="https://github.com/mirage/${MY_PN}/releases/download/v${PV}/${P}.tbz"
|
||||
|
||||
LICENSE="ISC"
|
||||
@@ -17,32 +20,33 @@ KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test unix xen"
|
||||
|
||||
RDEPEND="
|
||||
dev-ml/lwt
|
||||
dev-ml/ppx_sexp_conv
|
||||
dev-ml/io-page
|
||||
dev-ml/mirage-flow
|
||||
dev-ml/xenstore
|
||||
dev-ml/xenstore-clients
|
||||
dev-ml/sexplib
|
||||
dev-ml/cstruct[ppx]
|
||||
dev-ml/lwt:=
|
||||
dev-ml/ppx_sexp_conv:=
|
||||
dev-ml/io-page:=
|
||||
dev-ml/mirage-flow:=
|
||||
dev-ml/xenstore:=
|
||||
dev-ml/xenstore-clients:=
|
||||
dev-ml/sexplib:=
|
||||
dev-ml/cstruct:=[ppx]
|
||||
|
||||
unix? (
|
||||
dev-ml/xen-evtchn[unix]
|
||||
dev-ml/xen-gnt[unix]
|
||||
dev-ml/fmt
|
||||
dev-ml/xen-evtchn:=[unix]
|
||||
dev-ml/xen-gnt:=[unix]
|
||||
dev-ml/fmt:=
|
||||
)
|
||||
xen? ( dev-ml/mirage-xen )
|
||||
xen? ( dev-ml/mirage-xen:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-ml/cmdliner
|
||||
dev-ml/ounit
|
||||
dev-ml/ounit2
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="test? ( unix xen )"
|
||||
PATCHES="${FILESDIR}/${P}-ounit2.patch"
|
||||
|
||||
src_compile() {
|
||||
local pkgs="vchan"
|
||||
|
||||
Reference in New Issue
Block a user