Skip to content

Commit

Permalink
Merge pull request #15 from AnacondaRecipes/update-9.3.0-pins
Browse files Browse the repository at this point in the history
remove pinning mess for windows, and tk & jpeg in general
  • Loading branch information
katietz committed Feb 2, 2023
2 parents f14dde6 + 1dbc21a commit ffac337
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions abs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build_parameters:
- "--suppress-variables"
- "--error-overlinking"
42 changes: 17 additions & 25 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,18 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/Pillow-{{ version }}.tar.gz
sha256: c935a22a557a560108d780f9a0fc426dd7459940dc54faa49d83249c8d3e760f
patches:
patches: # [unix]
- disable_detect.patch # [unix]

build:
number: 1
number: 2
skip: true # [py<37]
ignore_run_exports:
- tk
- jpeg
- freetype # [win]
- libtiff # [win]
- libwebp # [win]
- zlib # [win]

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- patch # [unix]
- patch # [not win]
host:
- python
- pip
Expand All @@ -39,26 +32,26 @@ requirements:
- setuptools # [not (win and (py==37 or py==38))]
- wheel
# Required by default
- jpeg
- zlib
- jpeg 9e
- zlib 1.2.13
# 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
- libwebp
- tk
- freetype 2.10.4
- lcms2 2.12 # [not win]
- libtiff 4.2.0
- libwebp 1.2.0
- tk 8.6.12
run:
- python
- freetype
- jpeg
- libtiff
- libwebp >=0.3.0
- libwebp-base # [osx and arm64]
- tk
- zlib
- freetype >=2.10.4,<3.0a0
- jpeg >=9e,<10a
- libtiff >=4.2.0,<5.0a0
- libwebp >=1.2.0,<1.3.0a0
- libwebp-base >=1.2.0,<1.3.0a0 # [osx and arm64]
- tk >=8.6.12,<8.7.0a0
- zlib >=1.2.13,<1.3.0a0

test:
imports:
Expand All @@ -80,7 +73,6 @@ about:
Pillow is the friendly PIL fork. PIL is the Python Imaging Library,
adds image processing capabilities to your Python interpreter.
doc_url: https://pillow.readthedocs.io/
doc_source_url: https://github.com/python-pillow/Pillow/blob/4.2.x/docs/index.rst
dev_url: https://github.com/python-pillow/Pillow

extra:
Expand Down

0 comments on commit ffac337

Please sign in to comment.