commit: c0411779aa34e74b5fe536629eb4a8805bae713a Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sat Apr 16 18:25:34 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Sat Apr 16 18:27:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0411779
dev-ml/crc: update HOMEPAGE Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-ml/crc/crc-2.1.0.ebuild | 14 ++++++++----- dev-ml/crc/files/crc-2.1.0-ounit2.patch | 37 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 5 deletions(-) diff --git a/dev-ml/crc/crc-2.1.0.ebuild b/dev-ml/crc/crc-2.1.0.ebuild index c2ffd4341..cea103182 100644 --- a/dev-ml/crc/crc-2.1.0.ebuild +++ b/dev-ml/crc/crc-2.1.0.ebuild @@ -8,7 +8,10 @@ inherit dune MYPN="ocaml-${PN}" 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" S="${WORKDIR}/${MYPN}-${PV}" @@ -18,13 +21,14 @@ KEYWORDS="~amd64" IUSE="ocamlopt test" DEPEND=" - dev-ml/cstruct - dev-ml/rpc - dev-ml/ppx_sexp_conv + dev-ml/cstruct:= + dev-ml/rpc:= + dev-ml/ppx_sexp_conv:= " RDEPEND=" ${DEPEND} - test? ( dev-ml/ounit ) + test? ( dev-ml/ounit2 ) " RESTRICT="!test? ( test )" +PATCHES="${FILESDIR}/${P}-ounit2.patch" diff --git a/dev-ml/crc/files/crc-2.1.0-ounit2.patch b/dev-ml/crc/files/crc-2.1.0-ounit2.patch new file mode 100644 index 000000000..c3b049e29 --- /dev/null +++ b/dev-ml/crc/files/crc-2.1.0-ounit2.patch @@ -0,0 +1,37 @@ +From f34b740604cf6cdb924c056d38ec08be4c781048 Mon Sep 17 00:00:00 2001 +From: Alessandro-Barbieri <lssndrbarbi...@gmail.com> +Date: Sat, 16 Apr 2022 20:24:29 +0200 +Subject: [PATCH] use ounit2 + +Signed-off-by: Alessandro-Barbieri <lssndrbarbi...@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)) + ) +