Files
Paul Guyot 7dd6f662d7 ocaml-re: update to 1.14.0
Drop the depends_lib on ocaml-seq: upstream no longer requires the
seq compatibility package (minimum OCaml is now 4.12.0, and the
stdlib's built-in Seq module is used directly). Fixes the build
failure where dune could not find library "seq".

The public re.mli/Re module interface gained new functions and
modules between 1.11.0 and 1.14.0 (Re.split_delim, character
classes in Re.Posix, non-raising Re.Group variants, hex/octal
escapes, \Q...\E quoting, Re.Pcre.get_named_substring_opt, the
experimental Re.Stream API), so dependents linking against ocaml-re
need a clean rebuild. Bump revision for all direct depends_lib
dependents:

  ocaml-expect_test_helpers_kernel, ocaml-ocamlformat (main subport
  only; ocaml-ocamlformat-lib does not depend on ocaml-re),
  ocaml-sexp_pretty, ocaml-patdiff, ocaml-core_extended, ocaml-jingoo,
  ocaml-alcotest, ocaml-camlp5-buildscripts,
  ocaml-expect_test_helpers_core, everparse, stanc3, abella, camlp5,
  ocaml-xtmpl

Of these, only ocaml-core_extended re-exports Re types in its own
public interface (lib/selector.mli), but nothing in the ports tree
depends on it, so the cascade stops there.

Also fix two pre-existing non-ASCII characters (curly apostrophes)
in ocaml-patdiff and ocaml-core_extended descriptions while touching
those files.

Closes: https://trac.macports.org/ticket/67356
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-07-01 18:09:03 -04:00

34 lines
1.1 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup ocaml 1.1
name ocaml-re
github.setup ocaml ocaml-re 1.14.0
revision 0
categories ocaml devel
maintainers {landonf @landonf} openmaintainer
license MIT
description Regular expression library for OCaml
long_description A pure OCaml regular expression library with support for \
Perl, POSIX extended, and Emacs-style regular expressions \
as well as shell-style file globbing.
checksums rmd160 909d28e74af264785691c584403c2c25a3a9b712 \
sha256 e32eb4c6f319ff74241da9e1b00032f990241347271baf3adb468faaaa616147 \
size 110936
github.tarball_from archive
depends_test-append port:ocaml-ounit
ocaml.build_type dune
post-destroot {
file rename -- \
${destroot}${prefix}/share/doc/re \
${destroot}${prefix}/share/doc/${name}
}