# This file created by conda-build 3.24.0
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Sat Oct  7 21:03:04 2023
# ------------------------------------------------

package:
  name: protobuf
  version: 4.24.4
source:
  patches:
    - patches/0001-do-not-link-msvc-runtime-statically.patch
    - patches/0002-fix-paths-for-include-lib-directories.patch
    - patches/0003-correctly-link-to-protobuf-abseil.patch
    - patches/0004-use-C-17-everywhere.patch
    - patches/0005-set-PROTOBUF_USE_DLLS-on-windows.patch
  sha256: 616bb3536ac1fff3fb1a141450fa28b875e985712170ea7f1bfe5e5fc41e2cd8
  url: https://github.com/protocolbuffers/protobuf/archive/refs/tags/v24.4.tar.gz
build:
  number: '0'
  script:
    - cd python
    - export PROTOC=$PREFIX/bin/protoc
    - python setup.py bdist_wheel --cpp_implementation
    - /home/conda/feedstock_root/build_artifacts/protobuf_1696712696920/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/bin/python
      -m pip install -f dist protobuf==4.24.4
  string: py312h9a107e5_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.40 hf600244_0
    - binutils_linux-64 2.40 hbdbef99_2
    - gcc_impl_linux-64 12.3.0 he2b93b0_2
    - gcc_linux-64 12.3.0 h76fc315_2
    - gxx_impl_linux-64 12.3.0 he2b93b0_2
    - gxx_linux-64 12.3.0 h8a814eb_2
    - kernel-headers_linux-64 2.6.32 he073ed8_16
    - ld_impl_linux-64 2.40 h41732ed_0
    - libgcc-devel_linux-64 12.3.0 h8bca6fd_2
    - libgcc-ng 13.2.0 h807b86a_2
    - libgomp 13.2.0 h807b86a_2
    - libsanitizer 12.3.0 h0f45ef3_2
    - libstdcxx-devel_linux-64 12.3.0 h8bca6fd_2
    - libstdcxx-ng 13.2.0 h7e041cc_2
    - sysroot_linux-64 2.12 he073ed8_16
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - bzip2 1.0.8 h7f98852_4
    - ca-certificates 2023.7.22 hbcca054_0
    - ld_impl_linux-64 2.40 h41732ed_0
    - libabseil 20230802.1 cxx17_h59595ed_0
    - libexpat 2.5.0 hcb278e6_1
    - libffi 3.4.2 h7f98852_5
    - libgcc-ng 13.2.0 h807b86a_2
    - libgomp 13.2.0 h807b86a_2
    - libnsl 2.0.0 hd590300_1
    - libprotobuf 4.24.4 hf27288f_0
    - libsqlite 3.43.0 h2797004_0
    - libstdcxx-ng 13.2.0 h7e041cc_2
    - libuuid 2.38.1 h0b41bf4_0
    - libzlib 1.2.13 hd590300_5
    - ncurses 6.4 hcb278e6_0
    - openssl 3.1.3 hd590300_0
    - pip 23.2.1 pyhd8ed1ab_0
    - python 3.12.0 hab00c5b_0_cpython
    - readline 8.2 h8228510_1
    - setuptools 68.2.2 pyhd8ed1ab_0
    - tk 8.6.13 h2797004_0
    - tzdata 2023c h71feb2d_0
    - wheel 0.41.2 pyhd8ed1ab_0
    - xz 5.2.6 h166bdaf_0
  run:
    - libabseil =*=cxx17*
    - libabseil >=20230802.1,<20230803.0a0
    - libgcc-ng >=12
    - libprotobuf >=4.24.4,<4.24.5.0a0
    - libstdcxx-ng >=12
    - python >=3.12,<3.13.0a0
    - python_abi 3.12.* *_cp312
    - setuptools
test:
  commands:
    - python -c "from google.protobuf.internal import api_implementation; assert api_implementation.Type()
      == 'cpp'"
  imports:
    - google
    - google.protobuf
    - google.protobuf.compiler
    - google.protobuf.descriptor
    - google.protobuf.internal
    - google.protobuf.pyext
    - google.protobuf.pyext._message
    - google.protobuf.util
about:
  description: 'Protocol buffers are Google''s language-neutral, platform-neutral,
    extensible

    mechanism for serializing structured data,think XML, but smaller, faster, and
    simpler.

    '
  dev_url: https://github.com/protocolbuffers/protobuf
  doc_source_url: https://github.com/protocolbuffers/protobuf/blob/master/README.md
  doc_url: https://developers.google.com/protocol-buffers/docs/tutorials
  home: https://developers.google.com/protocol-buffers/
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE
  summary: Protocol Buffers - Google's data interchange format.
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - conda-forge/libprotobuf
    - dopplershift
    - hajapy
    - jakirkham
    - ocefpaf
    - xhochy
    - xylar
