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

commit:     17aeb8838a144440b030ae8b700c70a1b9a03356
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Apr 20 21:52:34 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Apr 20 21:57:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17aeb883

dev-ml/xenstore: update HOMEPAGE

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

 dev-ml/xenstore/files/xenstore-2.1.1-ounit2.patch | 37 +++++++++++++++++++++++
 dev-ml/xenstore/xenstore-2.1.1.ebuild             | 19 +++++++++---
 2 files changed, 51 insertions(+), 5 deletions(-)

diff --git a/dev-ml/xenstore/files/xenstore-2.1.1-ounit2.patch b/dev-ml/xenstore/files/xenstore-2.1.1-ounit2.patch
new file mode 100644
index 000000000..a57254dfe
--- /dev/null
+++ b/dev-ml/xenstore/files/xenstore-2.1.1-ounit2.patch
@@ -0,0 +1,37 @@
+diff --git a/core_test/dune b/core_test/dune
+index 5ad5e2a..cfc32d3 100644
+--- a/core_test/dune
++++ b/core_test/dune
+@@ -1,6 +1,6 @@
+ (executables
+  (names xs_test)
+- (libraries lwt lwt.unix xenstore oUnit)
++ (libraries lwt lwt.unix xenstore ounit2)
+  (flags :standard -safe-string))
+ 
+ (alias
+diff --git a/server_test/dune b/server_test/dune
+index a281f54..a161646 100644
+--- a/server_test/dune
++++ b/server_test/dune
+@@ -1,6 +1,6 @@
+ (executables
+  (names server_test)
+- (libraries lwt lwt.unix xenstore xenstore.server oUnit)
++ (libraries lwt lwt.unix xenstore xenstore.server ounit2)
+  (flags :standard -safe-string))
+ 
+ (alias
+diff --git a/xenstore.opam b/xenstore.opam
+index 4a598e0..f1606bf 100644
+--- a/xenstore.opam
++++ b/xenstore.opam
+@@ -17,7 +17,7 @@ depends: [
+   "cstruct" {>= "3.2.0"}
+   "ppx_cstruct" {>= "3.2.0"}
+   "lwt"
+-  "ounit" {with-test}
++  "ounit2" {with-test}
+ ]
+ build: [
+   ["dune" "subst"] {pinned}

diff --git a/dev-ml/xenstore/xenstore-2.1.1.ebuild b/dev-ml/xenstore/xenstore-2.1.1.ebuild
index c33acdfd8..3e8a0a9f5 100644
--- a/dev-ml/xenstore/xenstore-2.1.1.ebuild
+++ b/dev-ml/xenstore/xenstore-2.1.1.ebuild
@@ -6,16 +6,25 @@ EAPI=8
 inherit dune
 
 DESCRIPTION="A Xenstore protocol implementation in pure OCaml"
-HOMEPAGE="https://github.com/mirage/ocaml-xenstore"
+HOMEPAGE="
+	https://github.com/mirage/ocaml-xenstore
+	https://opam.ocaml.org/packages/xenstore/xenstore.2.0.0/
+"
 SRC_URI="https://github.com/mirage/ocaml-${PN}/releases/download/${PV}/${P}.tbz"
 
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE="ocamlopt"
+IUSE="ocamlopt test"
 
+RDEPEND="
+	dev-ml/cstruct:=
+	dev-ml/lwt:=
+"
 DEPEND="
-	dev-ml/cstruct
-	dev-ml/lwt
+	${RDEPEND}
+	test? ( dev-ml/ounit2 )
 "
-RDEPEND="${DEPEND}"
+
+RESTRICT="!test? ( test )"
+PATCHES="${FILESDIR}/${P}-ounit2.patch"


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

only message in thread, other threads:[~2022-04-20 21:57 UTC | newest]

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

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