dev-ml/crc: update HOMEPAGE

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri 2022-04-16 20:25:34 +02:00
parent beda974060
commit c0411779aa
No known key found for this signature in database
GPG Key ID: 4E4140121372C837
2 changed files with 46 additions and 5 deletions

View File

@ -8,7 +8,10 @@ inherit dune
MYPN="ocaml-${PN}" MYPN="ocaml-${PN}"
DESCRIPTION="Library for finding the CRC of parts of various kinds of data in-place" DESCRIPTION="Library for finding the CRC of parts of various kinds of data in-place"
HOMEPAGE="https://github.com/xapi-project/ocaml-crc" HOMEPAGE="
https://github.com/xapi-project/ocaml-crc
https://opam.ocaml.org/packages/crc/
"
SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}" S="${WORKDIR}/${MYPN}-${PV}"
@ -18,13 +21,14 @@ KEYWORDS="~amd64"
IUSE="ocamlopt test" IUSE="ocamlopt test"
DEPEND=" DEPEND="
dev-ml/cstruct dev-ml/cstruct:=
dev-ml/rpc dev-ml/rpc:=
dev-ml/ppx_sexp_conv dev-ml/ppx_sexp_conv:=
" "
RDEPEND=" RDEPEND="
${DEPEND} ${DEPEND}
test? ( dev-ml/ounit ) test? ( dev-ml/ounit2 )
" "
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
PATCHES="${FILESDIR}/${P}-ounit2.patch"

View File

@ -0,0 +1,37 @@
From f34b740604cf6cdb924c056d38ec08be4c781048 Mon Sep 17 00:00:00 2001
From: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
Date: Sat, 16 Apr 2022 20:24:29 +0200
Subject: [PATCH] use ounit2
Signed-off-by: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
---
crc.opam | 2 +-
test/dune | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/crc.opam b/crc.opam
index 74f21a8..7923009 100644
--- a/crc.opam
+++ b/crc.opam
@@ -12,7 +12,7 @@ depends: [
"dune"
"ocaml" {>= "4.00.1"}
"cstruct" {>= "1.0.1"}
- "ounit" {with-test}
+ "ounit2" {with-test}
"odoc" {with-doc}
"ppx_deriving_rpc"
"ppx_sexp_conv" {>= "v0.11.0"}
diff --git a/test/dune b/test/dune
index 769e090..bad69da 100644
--- a/test/dune
+++ b/test/dune
@@ -10,7 +10,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
(executable
(name crc_test)
(flags (:standard))
- (libraries oUnit crc)
+ (libraries ounit2 crc)
(preprocess (pps ppx_deriving_rpc ppx_sexp_conv %s))
)