# This file created by conda-build 3.24.0
# ------------------------------------------------

package:
  name: re2
  version: 2023.06.02
source:
  sha256: 4ccdd5aafaa1bcc24181e6dd3581c3eee0354734bb9f3cb4306273ffa434b94f
  url: http://github.com/google/re2/archive/2023-06-02.tar.gz
build:
  number: 0
  run_exports:
    - libre2-11 >=2023.6.2,<2024.0a0
    - re2
  string: h2873b5e_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - bzip2 1.0.8 h7f98852_4
    - c-ares 1.20.1 hd590300_0
    - ca-certificates 2023.7.22 hbcca054_0
    - cmake 3.27.6 hcfe8598_0
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.2 h659d440_0
    - libcurl 8.4.0 hca28451_0
    - libedit 3.1.20191231 he28a2e2_2
    - libev 4.33 h516909a_1
    - libexpat 2.5.0 hcb278e6_1
    - libgcc-ng 13.2.0 h807b86a_2
    - libgomp 13.2.0 h807b86a_2
    - libnghttp2 1.52.0 h61bc06f_0
    - libssh2 1.11.0 h0841786_0
    - libstdcxx-ng 13.2.0 h7e041cc_2
    - libuv 1.46.0 hd590300_0
    - libzlib 1.2.13 hd590300_5
    - ncurses 6.4 hcb278e6_0
    - openssl 3.1.3 hd590300_0
    - rhash 1.4.4 hd590300_0
    - xz 5.2.6 h166bdaf_0
    - zstd 1.5.5 hfc55251_0
  host:
    - libre2-11 2023.06.02 h7a70373_0
  run:
    - libre2-11 2023.06.02 h7a70373_0
test:
  commands:
    - test -f ${PREFIX}/lib/libre2.so
    - test ! -f ${PREFIX}/lib/libre2.a
    - test -f ${PREFIX}/include/re2/re2.h
    - pkg-config --print-errors --exact-version "11.0.0" re2
    - cd cmake_test
    - cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 .
    - cmake --build .
    - ./re2_example
  files:
    - cmake_test/
  requires:
    - cmake
    - gxx_linux-64 12.*
    - ninja
    - pkg-config
about:
  dev_url: https://github.com/google/re2/
  home: https://github.com/google/re2/
  license: BSD-3-Clause
  license_file: LICENSE
  summary: 'RE2 is a fast, safe, thread-friendly alternative to backtracking regular
    expression

    engines like those used in PCRE, Perl, and Python. It is a C++ library.

    '
extra:
  copy_test_source_files: true
  feedstock-name: re2
  final: true
  recipe-maintainers:
    - h-vetinari
    - isuruf
    - kszucs
    - pitrou
    - scopatz
    - wesm
    - xhochy
