Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions base/setuptools_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ build_stages:
handler: bash
bash: |
${PYTHON} -c 'import setuptools; __file__="setup.py"; exec(open(__file__).read())' \
${SETUPTOOLS_PACKAGE_EXTRA_OPTIONS} \
install \
--prefix=. --root=${ARTIFACT} \
--single-version-externally-managed
10 changes: 9 additions & 1 deletion pkgs/pillow.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
extends: [setuptools_package]
dependencies:
build: [png]
build: [zlib, png, freetype, openjpeg]

sources:
- key: tar.gz:q5qmcgfaefplufr7o6bbcdt67tn3cx4k
url: https://pypi.python.org/packages/source/P/Pillow/Pillow-2.8.1.tar.gz

build_stages:
- name: build_ext_options
mode: replace
before: install
handler: bash
bash: |
export SETUPTOOLS_PACKAGE_EXTRA_OPTIONS="build_ext --enable-zlib --enable-freetype --enable-jpeg2000 --include-dirs=${ZLIB_DIR}/include:${PNG_DIR}/include:${FREETYPE_DIR}/include:${OPENJPEG_DIR}/include --library-dirs=${ZLIB_DIR}/lib:${PNG_DIR}/lib:${FREETYPE_DIR}/lib:${OPENJPEG_DIR}/lib"