Plone: fixed Pillow

This commit is contained in:
Rok Garbas 2013-08-25 21:57:10 +02:00
parent b0fd3c79f7
commit dd51b43164
2 changed files with 32 additions and 269 deletions

File diff suppressed because it is too large Load diff

View file

@ -103,6 +103,23 @@
},
"Products.CMFCalendar": {
"propagatedBuildInputs": [ "eggtestinfo" ]
},
"Pillow": {
"buildInputs": [
"pkgs.freetype",
"pkgs.libjpeg",
"pkgs.zlib",
"pkgs.libtiff",
"pkgs.libwebp"
],
"configurePhase": [
"sed -i \"setup.py\" \\",
" -e 's|^FREETYPE_ROOT =.*$|FREETYPE_ROOT = _lib_include(\"${pkgs.freetype}\")|g ;",
" s|^JPEG_ROOT =.*$|JPEG_ROOT = _lib_include(\"${pkgs.libjpeg}\")|g ;",
" s|^ZLIB_ROOT =.*$|ZLIB_ROOT = _lib_include(\"${pkgs.zlib}\")|g ;",
" s|^LCMS_ROOT =.*$|LCMS_ROOT = _lib_include(\"${pkgs.libwebp}\")|g ;",
" s|^TIFF_ROOT =.*$|TIFF_ROOT = _lib_include(\"${pkgs.libtiff}\")|g ;'"
]
}
}
},