dev-ml/vhd: update HOMEPAGE

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-16 20:06:28 +02:00
parent 5586288de8
commit 163a65d2fc
2 changed files with 49 additions and 9 deletions

View File

@@ -0,0 +1,36 @@
From 8a0acca0482680b120f6a4f5434dde7d9d240c16 Mon Sep 17 00:00:00 2001
From: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
Date: Sat, 16 Apr 2022 20:05:20 +0200
Subject: [PATCH] use ounit2
Signed-off-by: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
---
vhd-format-lwt.opam | 2 +-
vhd_format_lwt_test/dune | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vhd-format-lwt.opam b/vhd-format-lwt.opam
index 1e57f03..e92913f 100644
--- a/vhd-format-lwt.opam
+++ b/vhd-format-lwt.opam
@@ -11,7 +11,7 @@ depends: [
"cstruct"
"lwt" {>= "3.2.0"}
"mirage-block" {>= "2.0.1"}
- "ounit" {with-test}
+ "ounit2" {with-test}
"vhd-format"
"io-page-unix" {with-test}
"dune" {>= "1.0"}
diff --git a/vhd_format_lwt_test/dune b/vhd_format_lwt_test/dune
index f1ef8ec..43309d7 100644
--- a/vhd_format_lwt_test/dune
+++ b/vhd_format_lwt_test/dune
@@ -1,6 +1,6 @@
(executable
(name parse_test)
- (libraries cstruct disk io-page.unix lwt lwt.unix oUnit vhd-format
+ (libraries cstruct disk io-page.unix lwt lwt.unix ounit2 vhd-format
vhd_format_lwt))
(alias

View File

@@ -8,7 +8,10 @@ inherit dune multiprocessing
MYPN="ocaml-${PN}"
DESCRIPTION="Read and write .vhd-format format data"
HOMEPAGE="https://github.com/mirage/ocaml-vhd-format"
HOMEPAGE="
https://github.com/mirage/ocaml-vhd
https://opam.ocaml.org/packages/vhd-format/
"
SRC_URI="https://github.com/mirage/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
@@ -18,27 +21,28 @@ KEYWORDS="~amd64"
IUSE="lwt ocamlopt test"
RDEPEND="
dev-ml/cstruct
dev-ml/io-page
dev-ml/rresult
dev-ml/uuidm
dev-ml/stdlib-shims
dev-ml/cstruct:=
dev-ml/io-page:=
dev-ml/rresult:=
dev-ml/uuidm:=
dev-ml/stdlib-shims:=
lwt? (
dev-ml/mirage-block
dev-ml/lwt
dev-ml/mirage-block:=
dev-ml/lwt:=
)
"
DEPEND="
${RDEPEND}
test? (
dev-ml/ounit
dev-ml/ounit2
dev-ml/io-page[unix(-)]
)
"
RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( lwt )"
PATCHES="${FILESDIR}/${P}-ounit2.patch"
src_compile() {
local pkgs="vhd-format"