# This file created by conda-build 24.1.2
# meta.yaml template originally from:
# /feedstock/recipe, last modified Wed Jan  8 20:09:21 2025
# ------------------------------------------------

package:
  name: protobuf
  version: 4.25.3
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: d19643d265b978383352b3143f04c0641eea75a75235c111cc01a1350173180e
  url: https://github.com/protocolbuffers/protobuf/archive/refs/tags/v25.3.tar.gz
build:
  number: '1'
  script:
    - cd python
    - export PROTOC=$PREFIX/bin/protoc
    - python setup.py bdist_wheel --cpp_implementation
    - /croot/protobuf_1736366982695/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/bin/python
      -m pip install --no-deps --no-build-isolation -f dist protobuf==4.25.3
  string: py312he36ed58_1
requirements:
  build:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - _sysroot_linux-64_curr_repodata_hack 3 haa98f57_10
    - binutils_impl_linux-64 2.40 h5293946_0
    - binutils_linux-64 2.40.0 hc2dff05_1
    - gcc_impl_linux-64 11.2.0 h1234567_1
    - gcc_linux-64 11.2.0 h5c386dc_1
    - gxx_impl_linux-64 11.2.0 h1234567_1
    - gxx_linux-64 11.2.0 hc2dff05_1
    - kernel-headers_linux-64 3.10.0 h57e8cba_10
    - ld_impl_linux-64 2.40 h12ee557_0
    - libgcc-devel_linux-64 11.2.0 h1234567_1
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libstdcxx-devel_linux-64 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - patch 2.7.6 h7b6447c_1001
    - sysroot_linux-64 2.17 h57e8cba_10
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - bzip2 1.0.8 h5eee18b_6
    - ca-certificates 2024.12.31 h06a4308_0
    - expat 2.6.4 h6a678d5_0
    - ld_impl_linux-64 2.40 h12ee557_0
    - libabseil 20240116.2 cxx17_h6a678d5_0
    - libffi 3.4.4 h6a678d5_1
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libprotobuf 4.25.3 he621ea3_0
    - libstdcxx-ng 11.2.0 h1234567_1
    - libuuid 1.41.5 h5eee18b_0
    - ncurses 6.4 h6a678d5_0
    - openssl 3.0.15 h5eee18b_0
    - pip 24.2 py312h06a4308_0
    - python 3.12.8 h5148396_0
    - readline 8.2 h5eee18b_0
    - setuptools 75.1.0 py312h06a4308_0
    - sqlite 3.45.3 h5eee18b_0
    - tk 8.6.14 h39e8969_0
    - tzdata 2024b h04d1e81_0
    - wheel 0.44.0 py312h06a4308_0
    - xz 5.4.6 h5eee18b_1
    - zlib 1.2.13 h5eee18b_1
  run:
    - libabseil =*=cxx17*
    - libabseil >=20240116.2,<20240116.3.0a0
    - libgcc-ng >=11.2.0
    - libprotobuf >=4.25.3,<4.25.4.0a0
    - libstdcxx-ng >=11.2.0
    - python >=3.12,<3.13.0a0
test:
  commands:
    - pip check
    - 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
  requires:
    - pip
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_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
  flow_run_id: 291dd391-9ee1-4a7f-bafc-3a75120c954b
  recipe-maintainers:
    - JohanMabille
    - conda-forge/libprotobuf
    - dopplershift
    - hajapy
    - jakirkham
    - jjerphan
    - ocefpaf
    - xhochy
    - xylar
  remote_url: git@github.com:AnacondaRecipes/protobuf-feedstock.git
  sha: 81e9dbe8038fc5e94bc94656539156ea728934d9
