meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch
Ovidiu Panait 066d5af9ce python3-pillow: 5.4.1 -> 6.1
Update python3-pillow to version 6.1 and refresh patches.

License-Update: copyright years

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-15 08:00:06 -07:00

40 lines
902 B
Diff

From 9f3073bf6a7c7c51bb49d25f65c8f75cc704a5ee Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Mon, 18 Mar 2019 23:23:55 -0400
Subject: [PATCH] explicitly set compile options
OE does not support to install egg package, so
explicitly set build_ext options for oe-core's
`setup.py install'
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
setup.cfg | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/setup.cfg b/setup.cfg
index 3ab2e127..e92615f3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -4,3 +4,15 @@ test=pytest
[flake8]
extend-ignore = E203, W503
max-line-length = 88
+
+[build_ext]
+disable-platform-guessing = 1
+enable-zlib = 1
+enable-jpeg = 1
+enable-tiff = 1
+enable-freetype = 1
+enable-lcms = 1
+enable-jpeg2000 = 1
+disable-webp = 1
+disable-webpmux = 1
+disable-imagequant = 1
--
2.20.1