[Buildroot] [PATCH 9/9] package/python-ipython: Add dependecy list

Baruch Siach baruch at tkos.co.il
Wed Apr 26 03:38:12 UTC 2017


Hi Andrey,

On Tue, Apr 25, 2017 at 12:14:23PM -0700, Andrey Smirnov wrote:
> List minimal set of packages needed to be installed alongside to be able
> to run IPython with Python 3 (not tested on Python 2)

[...]

> 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

Are these run-time only dependencies? If so there is no need to list them in 
<PKG>_DEPENDS, since they are not needed at build time.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the buildroot mailing list