# This file created by conda-build 3.23.3
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Fri Dec 23 11:49:23 2022
# ------------------------------------------------

package:
  name: protobuf
  version: 4.21.12
source:
  patches:
    - patches/0001-do-not-link-msvc-runtime-statically.patch
    - patches/0002-fix-paths-for-include-lib-directories.patch
    - patches/0003-adapt-to-name-of-protobuf-lib-on-windows.patch
    - patches/0004-fix-build-with-python-311.patch
  sha256: 22fdaf641b31655d4b2297f9981fa5203b2866f8332d3c6333f6b0107bb320de
  url: https://github.com/protocolbuffers/protobuf/archive/v21.12/protobuf-v21.12.tar.gz
build:
  number: '0'
  script:
    - cd python
    - /home/conda/feedstock_root/build_artifacts/protobuf_1671796251207/_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 . -vv --install-option="--cpp_implementation"
  string: py310heca2aa9_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.39 he00db2b_1
    - binutils_linux-64 2.39 h5fc0e48_11
    - gcc_impl_linux-64 11.3.0 hab1b70f_19
    - gcc_linux-64 11.3.0 he6f903b_11
    - gxx_impl_linux-64 11.3.0 hab1b70f_19
    - gxx_linux-64 11.3.0 hc203a17_11
    - kernel-headers_linux-64 2.6.32 he073ed8_15
    - ld_impl_linux-64 2.39 hcc3a1bd_1
    - libgcc-devel_linux-64 11.3.0 h210ce93_19
    - libgcc-ng 12.2.0 h65d4601_19
    - libgomp 12.2.0 h65d4601_19
    - libsanitizer 11.3.0 h239ccf8_19
    - libstdcxx-devel_linux-64 11.3.0 h210ce93_19
    - libstdcxx-ng 12.2.0 h46fd767_19
    - sysroot_linux-64 2.12 he073ed8_15
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - bzip2 1.0.8 h7f98852_4
    - ca-certificates 2022.12.7 ha878542_0
    - ld_impl_linux-64 2.39 hcc3a1bd_1
    - libffi 3.4.2 h7f98852_5
    - libgcc-ng 12.2.0 h65d4601_19
    - libgomp 12.2.0 h65d4601_19
    - libnsl 2.0.0 h7f98852_0
    - libprotobuf 3.21.12 h3eb15da_0
    - libsqlite 3.40.0 h753d276_0
    - libstdcxx-ng 12.2.0 h46fd767_19
    - libuuid 2.32.1 h7f98852_1000
    - libzlib 1.2.13 h166bdaf_4
    - ncurses 6.3 h27087fc_1
    - openssl 3.0.7 h0b41bf4_1
    - pip 22.3.1 pyhd8ed1ab_0
    - python 3.10.8 h4a9ceb5_0_cpython
    - readline 8.1.2 h0f457ee_0
    - setuptools 65.6.3 pyhd8ed1ab_0
    - tk 8.6.12 h27826a3_0
    - tzdata 2022g h191b570_0
    - wheel 0.38.4 pyhd8ed1ab_0
    - xz 5.2.6 h166bdaf_0
  run:
    - libgcc-ng >=12
    - libprotobuf 3.21.12.*
    - libprotobuf >=3.21.12,<3.22.0a0
    - libstdcxx-ng >=12
    - python >=3.10,<3.11.0a0
    - python_abi 3.10.* *_cp310
    - 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.internal
    - google.protobuf.pyext
    - 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
