commit: 6b86a1a5eb03281dc1965c4452709b2274136d2e Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sat Apr 16 18:17:47 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=6b86a1a5
dev-ml/pcap-format: update HOMEPAGE Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> .../files/pcap-format-0.5.2-ounit2.patch | 34 ++++++++++++++++++++++ dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild | 10 +++++-- 2 files changed, 41 insertions(+), 3 deletions(-) diff --git a/dev-ml/pcap-format/files/pcap-format-0.5.2-ounit2.patch b/dev-ml/pcap-format/files/pcap-format-0.5.2-ounit2.patch new file mode 100644 index 000000000..1f04a8690 --- /dev/null +++ b/dev-ml/pcap-format/files/pcap-format-0.5.2-ounit2.patch @@ -0,0 +1,34 @@ +From 463fad03eeb27c7d8613931f4173429ce0e5d3d1 Mon Sep 17 00:00:00 2001 +From: Alessandro-Barbieri <lssndrbarbi...@gmail.com> +Date: Sat, 16 Apr 2022 20:16:39 +0200 +Subject: [PATCH] use ounit2 + +Signed-off-by: Alessandro-Barbieri <lssndrbarbi...@gmail.com> +--- + lib_test/dune | 2 +- + pcap-format.opam | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib_test/dune b/lib_test/dune +index 9eedff0..0a72894 100644 +--- a/lib_test/dune ++++ b/lib_test/dune +@@ -1,4 +1,4 @@ + (test + (name test) + (deps dhcp.pcap) +- (libraries pcap-format oUnit)) ++ (libraries pcap-format ounit2)) +diff --git a/pcap-format.opam b/pcap-format.opam +index 36a471f..87156b8 100644 +--- a/pcap-format.opam ++++ b/pcap-format.opam +@@ -11,7 +11,7 @@ depends: [ + "dune" {>= "1.0"} + "cstruct" {>= "1.9.0"} + "ppx_cstruct" {> "0"} +- "ounit" {with-test} ++ "ounit2" {with-test} + ] + build: [ + ["dune" "subst"] {dev} diff --git a/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild b/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild index 4be1c548d..29435bdcd 100644 --- a/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild +++ b/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild @@ -6,7 +6,10 @@ EAPI=8 inherit dune DESCRIPTION="Read and write pcap-formatted network packet traces" -HOMEPAGE="https://github.com/mirage/ocaml-pcap" +HOMEPAGE=" + https://github.com/mirage/ocaml-pcap + https://opam.ocaml.org/packages/pcap-format/ +" SRC_URI="https://github.com/mirage/ocaml-pcap/archive/${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/ocaml-pcap-${PV}" @@ -15,13 +18,14 @@ SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="ocamlopt test" -RDEPEND="dev-ml/cstruct[ppx]" +RDEPEND="dev-ml/cstruct:=[ppx]" DEPEND=" ${RDEPEND} test? ( - dev-ml/ounit + dev-ml/ounit2 dev-ml/mmap ) " RESTRICT="!test? ( test )" +PATCHES="${FILESDIR}/${P}-ounit2.patch"