From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/python-pillow: fix wrong install step
Date: Wed, 6 Jul 2016 00:02:07 +0200 [thread overview]
Message-ID: <1467756127-30393-1-git-send-email-angelo.compagnucci@gmail.com> (raw)
This patch changes PYTHON_PILLOW_INSTALL_TARGET_CMDS to actually
install pillow in target directory instead of host.
It also fixes the version for the hash.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
package/python-pillow/python-pillow.hash | 2 +-
package/python-pillow/python-pillow.mk | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/package/python-pillow/python-pillow.hash b/package/python-pillow/python-pillow.hash
index 033692d..bf7828d 100644
--- a/package/python-pillow/python-pillow.hash
+++ b/package/python-pillow/python-pillow.hash
@@ -1,4 +1,4 @@
# https://pypi.python.org/pypi?:action=show_md5&digest=b5a15b03bf402fe254636c015fcf04da
md5 b5a15b03bf402fe254636c015fcf04da Pillow-3.3.0.tar.gz
# sha256 locally computed
-sha256 031e7c9c885a4f343d1ad366c7fd2340449dc70318acb4a28d6411994f0accd1 Pillow-3.2.0.tar.gz
+sha256 031e7c9c885a4f343d1ad366c7fd2340449dc70318acb4a28d6411994f0accd1 Pillow-3.3.0.tar.gz
diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk
index 878fdad..c7ee2b3 100644
--- a/package/python-pillow/python-pillow.mk
+++ b/package/python-pillow/python-pillow.mk
@@ -59,6 +59,11 @@ PYTHON_PILLOW_BUILD_CMDS = cd $(PYTHON_PILLOW_BUILDDIR); \
$(PYTHON_PILLOW_PYTHON_INTERPRETER) setup.py build_ext \
$(PYTHON_PILLOW_BASE_BUILD_OPTS) $(PYTHON_PILLOW_BUILD_OPTS)
-PYTHON_PILLOW_INSTALL_TARGET_CMDS = $(PYTHON_PILLOW_BUILD_CMDS) install
+PYTHON_PILLOW_INSTALL_TARGET_CMDS = cd $(PYTHON_PILLOW_BUILDDIR); \
+ $(PYTHON_PILLOW_BASE_ENV) $(PYTHON_PILLOW_ENV) \
+ $(PYTHON_PILLOW_PYTHON_INTERPRETER) setup.py build_ext \
+ $(PYTHON_PILLOW_BUILD_OPTS) install \
+ $(PYTHON_PILLOW_BASE_INSTALL_TARGET_OPTS) \
+ $(PYTHON_PILLOW_INSTALL_TARGET_OPTS)
$(eval $(python-package))
--
1.9.1
next reply other threads:[~2016-07-05 22:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-05 22:02 Angelo Compagnucci [this message]
2016-07-06 12:46 ` [Buildroot] [PATCH] package/python-pillow: fix wrong install step Thomas Petazzoni
2016-07-06 12:51 ` Angelo Compagnucci
2016-07-06 13:05 ` Thomas Petazzoni
2016-07-06 13:09 ` Angelo Compagnucci
2016-07-06 13:15 ` Thomas Petazzoni
2016-07-06 13:17 ` Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1467756127-30393-1-git-send-email-angelo.compagnucci@gmail.com \
--to=angelo.compagnucci@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox