dev-ml/pcap-format: update HOMEPAGE

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-16 20:17:47 +02:00
parent 2fa221124d
commit 6b86a1a5eb
2 changed files with 41 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
From 463fad03eeb27c7d8613931f4173429ce0e5d3d1 Mon Sep 17 00:00:00 2001
From: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
Date: Sat, 16 Apr 2022 20:16:39 +0200
Subject: [PATCH] use ounit2
Signed-off-by: Alessandro-Barbieri <lssndrbarbieri@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}

View File

@@ -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"