# This file created by conda-build 3.23.3
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Sat Feb  4 05:04:40 2023
# ------------------------------------------------

package:
  name: pillow
  version: 9.4.0
source:
  patches:
    - patches/0001-Build-without-USE_WIN32_FILEIO.patch
    - patches/0002-Do-not-quote-PILLOW_VERSION.patch
    - patches/0003-add-WEBP_ROOT-XCB_ROOT.patch
    - patches/0004-Added-patch-to-fix-failing-Windows-test.patch
    - patches/0005-Relaxed-child-images-check-to-allow-for-libjpeg.patch
  sha256: 494cee55efe8733d9744ba2d96fec067a15e22f37e6aefa14b01cc630e7cfb8c
  url: https://github.com/python-pillow/Pillow/archive/refs/tags/9.4.0.tar.gz
build:
  number: '1'
  string: py310h023d228_1
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
    - 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-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
    - freetype 2.12.1 hca18f0e_1
    - giflib 5.2.1 h36c2ea0_2
    - jpeg 9e h166bdaf_2
    - lcms2 2.14 hfd0df8a_1
    - ld_impl_linux-64 2.40 h41732ed_0
    - lerc 4.0.0 h27087fc_0
    - libdeflate 1.17 h0b41bf4_0
    - 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
    - libpng 1.6.39 h753d276_0
    - libsqlite 3.40.0 h753d276_0
    - libstdcxx-ng 12.2.0 h46fd767_19
    - libtiff 4.5.0 h6adf6a1_2
    - libuuid 2.32.1 h7f98852_1000
    - libwebp 1.2.4 h1daa5a0_1
    - libwebp-base 1.2.4 h166bdaf_0
    - libxcb 1.13 h7f98852_1004
    - libzlib 1.2.13 h166bdaf_4
    - ncurses 6.3 h27087fc_1
    - openjpeg 2.5.0 hfec8fc6_2
    - openssl 3.0.7 h0b41bf4_2
    - pip 23.0 pyhd8ed1ab_0
    - pthread-stubs 0.4 h36c2ea0_1001
    - python 3.10.9 he550d4f_0_cpython
    - readline 8.1.2 h0f457ee_0
    - setuptools 67.1.0 pyhd8ed1ab_0
    - tk 8.6.12 h27826a3_0
    - tzdata 2022g h191b570_0
    - wheel 0.38.4 pyhd8ed1ab_0
    - xorg-libxau 1.0.9 h7f98852_0
    - xorg-libxdmcp 1.1.3 h7f98852_0
    - xz 5.2.6 h166bdaf_0
    - zlib 1.2.13 h166bdaf_4
    - zstd 1.5.2 h3eb15da_6
  run:
    - freetype >=2.12.1,<3.0a0
    - jpeg >=9e,<10a
    - lcms2 >=2.14,<3.0a0
    - libgcc-ng >=12
    - libtiff >=4.5.0,<4.6.0a0
    - libwebp-base >=1.2.4,<2.0a0
    - libxcb >=1.13,<1.14.0a0
    - libzlib >=1.2.13,<1.3.0a0
    - openjpeg >=2.5.0,<3.0a0
    - python >=3.10,<3.11.0a0
    - python_abi 3.10.* *_cp310
    - tk >=8.6.12,<8.7.0a0
test:
  commands:
    - pytest -v -k "not (_not_a_real_test or (test_imageshow and test_show) or test_strip_ycbcr_jpeg_2x2_sampling
      or test_tiff_crashes[Tests/images/crash-81154a65438ba5aaeca73fd502fa4850fbde60f8.tif])"
  files:
    - Tests/images
  imports:
    - PIL
    - PIL.Image
    - PIL.ImageCms
  requires:
    - aiohttp
    - fsspec
    - gcc_linux-64 11.*
    - pytest
    - pytest-timeout
    - requests
    - setuptools
  source_files:
    - Tests/
about:
  dev_url: https://github.com/python-pillow/Pillow/
  home: https://pillow.readthedocs.io
  license: LicenseRef-PIL
  license_file: LICENSE
  summary: Pillow is the friendly PIL fork by Alex Clark and Contributors
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - h-vetinari
    - jakirkham
    - ocefpaf
    - patricksnape
    - pelson
