Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pillow 9.0.1 #8

Merged
merged 18 commits into from Mar 3, 2022
1 change: 1 addition & 0 deletions recipe/bld.bat
Expand Up @@ -9,6 +9,7 @@ set ZLIB_ROOT=%LIBRARY_PREFIX%
set TIFF_ROOT=%LIBRARY_PREFIX%
set FREETYPE_ROOT=%LIBRARY_PREFIX%
:: set LCMS_ROOT=%LIBRARY_PREFIX%
set WEBP_ROOT=%LIBRARY_PREFIX%


%PYTHON% -m pip install . --no-deps --ignore-installed --no-cache-dir --global-option="build_ext" --global-option="--enable-webp" -vvv
Expand Down
1 change: 1 addition & 0 deletions recipe/build.sh
Expand Up @@ -7,5 +7,6 @@ export ZLIB_ROOT=$PREFIX
export TIFF_ROOT=$PREFIX
export FREETYPE_ROOT=$PREFIX
export LCMS_ROOT=$PREFIX
export WEBP_ROOT=$PREFIX

$PYTHON -m pip install . --no-deps --ignore-installed --no-cache-dir --global-option="build_ext" --global-option="--enable-webp" -vvv
37 changes: 15 additions & 22 deletions recipe/meta.yaml
@@ -1,18 +1,19 @@
{% set version = "8.4.0" %}
{% set name = "pillow" %}
{% set version = "9.0.1" %}

package:
name: pillow
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/P/Pillow/Pillow-{{ version }}.tar.gz
sha256: b8e2f83c56e141920c39464b852de3719dfbfb6e3c99a2d8da0edf4fb33176ed
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/Pillow-{{ version }}.tar.gz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe then the last "Pillow" could also be {{ name }} ;)

sha256: 6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa
patches: # [unix]
- disable_detect.patch # [unix]

build:
number: 0
skip: true # [py<36]
skip: true # [py<37]
ignore_run_exports:
- tk
- jpeg
Expand All @@ -29,42 +30,34 @@ requirements:
- setuptools
- wheel
# Required by default
- zlib
- jpeg
# Optional dependencies
- zlib
# Optional dependencies
# (also can be incuded libwebp, libimagequant, libraqm,
# libxcb, openjpeg (it causes build errors on win32),
# see https://pillow.readthedocs.io/en/latest/installation.html#external-libraries)
- freetype
- lcms2 # [not win]
- libtiff
- freetype
- libwebp
- tk
- libwebp >=0.3.0
run:
- python
- jpeg
- zlib
- freetype
- jpeg
- libtiff
- olefile
- tk
- libwebp >=0.3.0
- libwebp-base # [osx and arm64]
- tk
- zlib

test:
imports:
- PIL
- PIL.Image
- PIL.ImageCms # [not win]
- PIL._imaging
- PIL._imagingft
- PIL._imagingmath
- PIL._imagingmorph
- PIL._imagingtk # [linux and not (arm or ppc64le or aarch64)]
requires:
- pip
- requests
- aiohttp
- fsspec
commands:
- pip check

Expand All @@ -77,7 +70,7 @@ about:
description: |
Pillow is the friendly PIL fork. PIL is the Python Imaging Library,
adds image processing capabilities to your Python interpreter.
doc_url: http://pillow.readthedocs.io/en/4.2.x/
doc_url: https://pillow.readthedocs.io/en/4.2.x/
doc_source_url: https://github.com/python-pillow/Pillow/blob/4.2.x/docs/index.rst
dev_url: https://github.com/python-pillow/Pillow

Expand Down