diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-03-19 14:01:00 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-03-19 21:00:06 -0700 |
commit | 6cb4e90fcde2d383ebcf656e489ac84d1db422f1 (patch) | |
tree | c6972e6b28d8c11e7c800af226872566e5fdfe5b /meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch | |
parent | 4ce1fb53568907701b0c9fa63ef96b863269c121 (diff) | |
download | meta-openembedded-contrib-6cb4e90fcde2d383ebcf656e489ac84d1db422f1.tar.gz |
python3-pillow: add 5.4.1
- Set option by modify setup.py
- Do not override do_compile to call `setup.py build_ext', it will
missing options at do_install time which causing host contamination
...
Found webp/demux.h
Found library webpmux at /usr/lib/libwebpmux.so
Found library webpdemux at /usr/lib/libwebpdemux.so
/usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform
...
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch b/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch new file mode 100644 index 0000000000..de89ba0058 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch @@ -0,0 +1,39 @@ +From 52879439f2976662140b76951f43f16e1d5ef08e 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 95900ff..27da313 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -9,3 +9,15 @@ addopts = -vx Tests + + [flake8] + 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.8.1 + |