Files
guru/dev-ml/ipaddr/files/ipaddr-5.3.0-ounit2.patch
Alessandro Barbieri bff089337c dev-ml/ipaddr: update HOMEPAGE
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-04-16 20:27:38 +02:00

130 lines
3.8 KiB
Diff

From c0352e7e1c2fdbc22e06dedb839831f5694d7429 Mon Sep 17 00:00:00 2001
From: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
Date: Sat, 16 Apr 2022 18:36:24 +0200
Subject: [PATCH] switch to ounit2
Signed-off-by: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
---
README.md | 2 +-
ipaddr-sexp.opam | 2 +-
ipaddr.opam | 4 ++--
lib_test/dune | 8 ++++----
macaddr-sexp.opam | 2 +-
macaddr.opam | 4 ++--
6 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 6e1ec56..4aace13 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ A library for manipulation of IP and MAC address representations.
Features:
- * oUnit-based tests
+ * ounit2-based tests
* IPv4 and IPv6 support
* IPv4 and IPv6 CIDR prefix support
* IPv4 and IPv6 [CIDR-scoped address](http://tools.ietf.org/html/rfc4291#section-2.3) support
diff --git a/ipaddr-sexp.opam b/ipaddr-sexp.opam
index 735ad08..4f4be93 100644
--- a/ipaddr-sexp.opam
+++ b/ipaddr-sexp.opam
@@ -16,7 +16,7 @@ depends: [
"dune" {>= "1.9.0"}
"ipaddr" {= version}
"ipaddr-cstruct" {with-test & = version}
- "ounit" {with-test}
+ "ounit2" {with-test}
"ppx_sexp_conv" {>= "v0.9.0"}
"sexplib0"
]
diff --git a/ipaddr.opam b/ipaddr.opam
index 240d9c8..02f5570 100644
--- a/ipaddr.opam
+++ b/ipaddr.opam
@@ -5,7 +5,7 @@ synopsis: "A library for manipulation of IP (and MAC) address representations"
description: """
Features:
* Depends only on sexplib (conditionalization under consideration)
- * oUnit-based tests
+ * ounit2-based tests
* IPv4 and IPv6 support
* IPv4 and IPv6 CIDR prefix support
* IPv4 and IPv6 [CIDR-scoped address](http://tools.ietf.org/html/rfc4291#section-2.3) support
@@ -32,7 +32,7 @@ depends: [
"macaddr" {= version}
"stdlib-shims"
"domain-name" {>= "0.3.0"}
- "ounit" {with-test}
+ "ounit2" {with-test}
"ppx_sexp_conv" {with-test & >= "v0.9.0"}
]
build: [
diff --git a/lib_test/dune b/lib_test/dune
index 8dd7d27..fc6f285 100644
--- a/lib_test/dune
+++ b/lib_test/dune
@@ -27,22 +27,22 @@
(name test_ipaddr)
(package ipaddr-sexp)
(modules test_ipaddr)
- (libraries ipaddr ipaddr-cstruct test_ipaddr_sexp oUnit))
+ (libraries ipaddr ipaddr-cstruct test_ipaddr_sexp ounit2))
(test
(name test_ipaddr_b128)
(package ipaddr-sexp)
(modules test_ipaddr_b128 ipaddr_internal)
- (libraries ipaddr ipaddr-cstruct test_ipaddr_sexp oUnit))
+ (libraries ipaddr ipaddr-cstruct test_ipaddr_sexp ounit2))
(test
(name test_macaddr)
(package macaddr-sexp)
(modules test_macaddr)
- (libraries macaddr macaddr-cstruct test_macaddr_sexp oUnit))
+ (libraries macaddr macaddr-cstruct test_macaddr_sexp ounit2))
(test
(name test_ppx)
(modules test_ppx)
(package ipaddr-sexp)
- (libraries ipaddr macaddr test_ipaddr_sexp test_macaddr_sexp oUnit))
+ (libraries ipaddr macaddr test_ipaddr_sexp test_macaddr_sexp ounit2))
diff --git a/macaddr-sexp.opam b/macaddr-sexp.opam
index 26e6fcf..e7773fe 100644
--- a/macaddr-sexp.opam
+++ b/macaddr-sexp.opam
@@ -12,7 +12,7 @@ depends: [
"dune" {>= "1.9.0"}
"macaddr" {= version}
"macaddr-cstruct" {with-test & = version}
- "ounit" {with-test}
+ "ounit2" {with-test}
"ppx_sexp_conv" {>= "v0.9.0"}
"sexplib0"
]
diff --git a/macaddr.opam b/macaddr.opam
index 13fcf31..6e2106f 100644
--- a/macaddr.opam
+++ b/macaddr.opam
@@ -10,7 +10,7 @@ bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
depends: [
"ocaml" {>= "4.04.0"}
"dune" {>= "1.9.0"}
- "ounit" {with-test}
+ "ounit2" {with-test}
"ppx_sexp_conv" {with-test & >= "v0.9.0"}
]
conflicts: [ "ipaddr" {< "3.0.0"} ]
@@ -25,7 +25,7 @@ A library for manipulation of MAC address representations.
Features:
- * oUnit-based tests
+ * ounit2-based tests
* MAC-48 (Ethernet) address support
* `Macaddr` is a `Map.OrderedType`
* All types have sexplib serializers/deserializers optionally via the `Macaddr_sexp` library.