public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/vhd/files/, dev-ml/vhd/
@ 2022-04-16 18:27 Alessandro Barbieri
  0 siblings, 0 replies; only message in thread
From: Alessandro Barbieri @ 2022-04-16 18:27 UTC (permalink / raw
  To: gentoo-commits

commit:     163a65d2fcf1d411f4ac156a2f27b4423aa3f4f6
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 16 18:06:28 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 16 18:27:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=163a65d2

dev-ml/vhd: update HOMEPAGE

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-ml/vhd/files/vhd-0.12.2-ounit2.patch | 36 ++++++++++++++++++++++++++++++++
 dev-ml/vhd/vhd-0.12.2.ebuild             | 22 +++++++++++--------
 2 files changed, 49 insertions(+), 9 deletions(-)

diff --git a/dev-ml/vhd/files/vhd-0.12.2-ounit2.patch b/dev-ml/vhd/files/vhd-0.12.2-ounit2.patch
new file mode 100644
index 000000000..d85225cf8
--- /dev/null
+++ b/dev-ml/vhd/files/vhd-0.12.2-ounit2.patch
@@ -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

diff --git a/dev-ml/vhd/vhd-0.12.2.ebuild b/dev-ml/vhd/vhd-0.12.2.ebuild
index 07ba2d35f..aa05722ef 100644
--- a/dev-ml/vhd/vhd-0.12.2.ebuild
+++ b/dev-ml/vhd/vhd-0.12.2.ebuild
@@ -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"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-16 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-16 18:27 [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/vhd/files/, dev-ml/vhd/ Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox