In 4.3.0 and 5.2.0, we had a broken way of passing flags to Pillow's
build script. Flags would be passed fine in the compile phase, but would
not be passed at all at the install phase, whichwas the equivalent of
not sending flags at all.
I'm committing straight to stable to 4.3.0-r2 because the build process
is broken.
Closes: https://bugs.gentoo.org/661308
Package-Manager: Portage-2.3.43, Repoman-2.3.10
"${FILESDIR}"/pillow-4.3.0-freetype2.9-test-metrics.patch
)
-python_compile() {
- # raqm not in portage yet
- local args=(
- --disable-raqm
+python_configure_all() {
+ # It's important that these flags are also passed during the install phase
+ # as well. Make sure of that if you change the lines below. See bug 661308.
+ mydistutilsargs=(
+ build_ext
--disable-platform-guessing
$(use_enable truetype freetype)
$(use_enable jpeg)
$(use_enable webp webpmux)
$(use_enable zlib)
)
- distutils-r1_python_compile build_ext "${args[@]}"
}
python_compile_all() {
S="${WORKDIR}/${MY_P}"
-python_compile() {
- local args=(
+python_configure_all() {
+ # It's important that these flags are also passed during the install phase
+ # as well. Make sure of that if you change the lines below. See bug 661308.
+ mydistutilsargs=(
+ build_ext
--disable-platform-guessing
$(use_enable truetype freetype)
$(use_enable jpeg)
$(use_enable webp webpmux)
$(use_enable zlib)
)
- distutils-r1_python_compile build_ext "${args[@]}"
}
python_compile_all() {