diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-04-20 23:52:34 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-04-20 23:57:00 +0200 |
commit | 17aeb8838a144440b030ae8b700c70a1b9a03356 (patch) | |
tree | e5708fa8a31a2f2b4eb9e4b91944ef0d165390fa /dev-ml | |
parent | dev-ml/io-page: add 2.3.0, 3.0.0 (diff) | |
download | guru-17aeb8838a144440b030ae8b700c70a1b9a03356.tar.gz guru-17aeb8838a144440b030ae8b700c70a1b9a03356.tar.bz2 guru-17aeb8838a144440b030ae8b700c70a1b9a03356.zip |
dev-ml/xenstore: update HOMEPAGE
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/xenstore/files/xenstore-2.1.1-ounit2.patch | 37 | ||||
-rw-r--r-- | 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" |