Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 9/9] package/python-ipython: Add dependecy list
Date: Tue, 25 Apr 2017 12:14:23 -0700	[thread overview]
Message-ID: <20170425191423.13294-10-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

List minimal set of packages needed to be installed alongside to be able
to run IPython with Python 3 (not tested on Python 2)

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/python-ipython/Config.in         | 10 ++++++++++
 package/python-ipython/python-ipython.mk | 14 ++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/package/python-ipython/Config.in b/package/python-ipython/Config.in
index 1d92873..a1dfd48 100644
--- a/package/python-ipython/Config.in
+++ b/package/python-ipython/Config.in
@@ -1,4 +1,14 @@
 config BR2_PACKAGE_PYTHON_IPYTHON
+	select BR2_PACKAGE_PYTHON_SIX
+	select BR2_PACKAGE_PYTHON_TRAITLETS
+	select BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS
+	select BR2_PACKAGE_PYTHON_PYGMENTS
+	select BR2_PACKAGE_PYTHON_PEXPECT
+	select BR2_PACKAGE_PYTHON_PTYPROCESS
+	select BR2_PACKAGE_PYTHON_PICKLESHARE
+	select BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT
+	select BR2_PACKAGE_PYTHON_SIMPLEGENERIC
+	select BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE if BR2_PACKAGE_PYTHON
 	bool "python-ipython"
 	help
 	  IPython is a command shell for interactive computing in multiple
diff --git a/package/python-ipython/python-ipython.mk b/package/python-ipython/python-ipython.mk
index e57d69d..f627846 100644
--- a/package/python-ipython/python-ipython.mk
+++ b/package/python-ipython/python-ipython.mk
@@ -10,5 +10,19 @@ PYTHON_IPYTHON_SITE = https://pypi.python.org/packages/6e/cf/c2a3ca5942e2d808457
 PYTHON_IPYTHON_LICENSE = BSD-3-Clause
 PYTHON_IPYTHON_LICENSE_FILES = COPYING.rst
 PYTHON_IPYTHON_SETUP_TYPE = distutils
+PYTHON_IPYTHON_DEPENDS = 	\
+	python-traitlets 	\
+	python-six 		\
+	python-ipython-genutils \
+	python-pygments		\
+	python-pexpect		\
+	python-ptyprocess	\
+	python-pickleshare	\
+	python-prompt-toolkit	\
+	python-simplegeneric
+
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+PYTHON_IPYTHON_DEPENDS += python-backports-shutil-get-terminal-size
+endif
 
 $(eval $(python-package))
-- 
2.9.3

  parent reply	other threads:[~2017-04-25 19:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25 19:14 [Buildroot] [PATCH 0/9] Update IPython's dependencies Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 1/9] package/python-decorator: New package Andrey Smirnov
2017-04-26  7:25   ` Thomas Petazzoni
2017-04-26 18:41     ` Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 2/9] package/python-traitlets: " Andrey Smirnov
2017-04-26  7:26   ` Thomas Petazzoni
2017-04-26 18:47     ` Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 3/9] package/python-simplegeneric: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 4/9] package/python-ipython-genutils: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 5/9] package/python-scandir: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 6/9] package/python-pathlib2: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 7/9] package/python-pickleshare: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 8/9] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
2017-04-25 19:14 ` Andrey Smirnov [this message]
2017-04-26  3:38   ` [Buildroot] [PATCH 9/9] package/python-ipython: Add dependecy list Baruch Siach
2017-04-26 18:48     ` Andrey Smirnov

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=20170425191423.13294-10-andrew.smirnov@gmail.com \
    --to=andrew.smirnov@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