mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
dev-ml/crc: update HOMEPAGE
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
parent
beda974060
commit
c0411779aa
@ -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"
|
||||||
|
37
dev-ml/crc/files/crc-2.1.0-ounit2.patch
Normal file
37
dev-ml/crc/files/crc-2.1.0-ounit2.patch
Normal 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))
|
||||||
|
)
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user