ocaml-alcotest/0001-Drop-the-stdlib-shims-...

53 lines
1.4 KiB
Diff

From c21aec01927498729143b5358c88a97d0d08e872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dan.cermak@cgc-instruments.com>
Date: Sat, 4 Apr 2020 00:34:23 +0200
Subject: [PATCH] Drop the stdlib-shims subpackage
We neither need nor want the stdlib-shims package in Fedora. It is a forward
compatibility package for older OCaml installations. Patch it out instead.
Upstream does not want this patch until stdlib-shims is obsolete.
---
alcotest.opam | 1 -
dune-project | 3 +--
src/alcotest/dune | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/alcotest.opam b/alcotest.opam
index 0245e17..b8b399f 100644
--- a/alcotest.opam
+++ b/alcotest.opam
@@ -26,7 +26,6 @@ depends: [
"cmdliner"
"uuidm"
"re"
- "stdlib-shims"
]
build: [
["dune" "subst"] {pinned}
diff --git a/dune-project b/dune-project
index ac7db6e..e746ce9 100644
--- a/dune-project
+++ b/dune-project
@@ -29,8 +29,7 @@ tests to run.
astring
cmdliner
uuidm
- re
- stdlib-shims))
+ re))
(package
(name alcotest-async)
diff --git a/src/alcotest/dune b/src/alcotest/dune
index 99b3174..20ba848 100644
--- a/src/alcotest/dune
+++ b/src/alcotest/dune
@@ -1,3 +1,3 @@
(library
(public_name alcotest)
- (libraries fmt astring cmdliner fmt.cli fmt.tty uuidm re stdlib-shims))
+ (libraries fmt astring cmdliner fmt.cli fmt.tty uuidm re))
--
2.25.1