mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-ml/pcap-format: update HOMEPAGE
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
34
dev-ml/pcap-format/files/pcap-format-0.5.2-ounit2.patch
Normal file
34
dev-ml/pcap-format/files/pcap-format-0.5.2-ounit2.patch
Normal 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}
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user