mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
dev-ml/xen-evtchn: update HOMEPAGE
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
36
dev-ml/xen-evtchn/files/xen-evtchn-2.1.0-ounit2.patch
Normal file
36
dev-ml/xen-evtchn/files/xen-evtchn-2.1.0-ounit2.patch
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
From b05b3dc57901a2312d48ce88418fde0ea495575f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
|
||||||
|
Date: Sat, 16 Apr 2022 19:05:44 +0200
|
||||||
|
Subject: [PATCH] use ounit2
|
||||||
|
|
||||||
|
Signed-off-by: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
|
||||||
|
---
|
||||||
|
lib_test/dune | 2 +-
|
||||||
|
xen-evtchn-unix.opam | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib_test/dune b/lib_test/dune
|
||||||
|
index bdec54e..57dda23 100644
|
||||||
|
--- a/lib_test/dune
|
||||||
|
+++ b/lib_test/dune
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
(executables
|
||||||
|
(names main)
|
||||||
|
- (libraries xen-evtchn xen-evtchn-unix oUnit lwt.unix))
|
||||||
|
+ (libraries xen-evtchn xen-evtchn-unix ounit2 lwt.unix))
|
||||||
|
|
||||||
|
(alias
|
||||||
|
(name runtest)
|
||||||
|
diff --git a/xen-evtchn-unix.opam b/xen-evtchn-unix.opam
|
||||||
|
index 4a94d81..cbc8250 100644
|
||||||
|
--- a/xen-evtchn-unix.opam
|
||||||
|
+++ b/xen-evtchn-unix.opam
|
||||||
|
@@ -14,7 +14,7 @@ depends: [
|
||||||
|
"lwt-dllist"
|
||||||
|
"lwt"
|
||||||
|
"cmdliner"
|
||||||
|
- "ounit" {with-test}
|
||||||
|
+ "ounit2" {with-test}
|
||||||
|
"conf-xen" {build}
|
||||||
|
]
|
||||||
|
build: [
|
||||||
@@ -8,7 +8,10 @@ inherit dune multiprocessing
|
|||||||
MY_P="${PN}-v${PV}"
|
MY_P="${PN}-v${PV}"
|
||||||
|
|
||||||
DESCRIPTION="Xen event channel interface for Mirage"
|
DESCRIPTION="Xen event channel interface for Mirage"
|
||||||
HOMEPAGE="https://github.com/mirage/ocaml-evtchn"
|
HOMEPAGE="
|
||||||
|
https://github.com/mirage/ocaml-evtchn
|
||||||
|
https://opam.ocaml.org/packages/xen-evtchn/
|
||||||
|
"
|
||||||
SRC_URI="https://github.com/mirage/ocaml-evtchn/releases/download/v${PV}/${MY_P}.tbz"
|
SRC_URI="https://github.com/mirage/ocaml-evtchn/releases/download/v${PV}/${MY_P}.tbz"
|
||||||
S="${WORKDIR}/${MY_P}"
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
@@ -18,19 +21,20 @@ KEYWORDS="~amd64"
|
|||||||
IUSE="ocamlopt test unix"
|
IUSE="ocamlopt test unix"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-ml/lwt
|
dev-ml/lwt:=
|
||||||
dev-ml/lwt-dllist
|
dev-ml/lwt-dllist:=
|
||||||
dev-ml/cmdliner
|
dev-ml/cmdliner:=
|
||||||
|
|
||||||
unix? ( app-emulation/xen )
|
unix? ( app-emulation/xen )
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
test? ( dev-ml/ounit )
|
test? ( dev-ml/ounit2 )
|
||||||
"
|
"
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
REQUIRED_USE="test? ( unix )"
|
REQUIRED_USE="test? ( unix )"
|
||||||
|
PATCHES="${FILESDIR}/${P}-ounit2.patch"
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
local pkgs="xen-evtchn"
|
local pkgs="xen-evtchn"
|
||||||
|
|||||||
Reference in New Issue
Block a user