Skip to contentSkip to conversation

Update IPython's dependencies

PATCH Superseded Andrey Smirnov 2 participants 17 messages Apr 27, 2017 – May 4, 2017

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover Update IPython's dependencies

Hi everyone,

This is second verion of my IPython patch series originally submitted in [v1].

Changes since v1:

- Remove all <pkg>_DEPENDENCIES build-time dependencies from package files

- Use SPDX license names

- Address warnings produced by check-package

Let me know if I missed anything or if there any more issues that need to be addressed.

Thanks,
Andrey Smirnov

[v1] http://lists.busybox.net/pipermail/buildroot/2017-April/190423.html

Andrey Smirnov (10):
package/python-decorator: New package package/python-traitlets: New package package/python-simplegeneric: New package package/python-ipython-genutils: New package package/python-scandir: New package package/python-pathlib2: New package package/python-pickleshare: New package package/python-backports-shutil-get-terminal-size: New package package/python-ipython: Reformat help text to avoid warnings package/python-ipython: Add dependecy list

 package/Config.in                                     |  8 ++++++++
 .../Config.in                                         |  9 +++++++++
 .../python-backports-shutil-get-terminal-size.hash    |  2 ++
 .../python-backports-shutil-get-terminal-size.mk      | 13 +++++++++++++
 package/python-decorator/Config.in                    |  6 ++++++
 package/python-decorator/python-decorator.mk          | 13 +++++++++++++
 package/python-ipython-genutils/Config.in             |  6 ++++++
 .../python-ipython-genutils.hash                      |  3 +++
 .../python-ipython-genutils.mk                        | 13 +++++++++++++
 package/python-ipython/Config.in                      | 19 +++++++++++++++----
 package/python-pathlib2/Config.in                     | 14 ++++++++++++++
 package/python-pathlib2/python-pathlib2.hash          |  2 ++
 package/python-pathlib2/python-pathlib2.mk            | 13 +++++++++++++
 package/python-pickleshare/Config.in                  |  7 +++++++
 package/python-pickleshare/python-pickleshare.hash    |  2 ++
 package/python-pickleshare/python-pickleshare.mk      | 13 +++++++++++++
 package/python-scandir/Config.in                      |  6 ++++++
 package/python-scandir/python-scandir.hash            |  2 ++
 package/python-scandir/python-scandir.mk              | 13 +++++++++++++
 package/python-simplegeneric/Config.in                |  6 ++++++
 .../python-simplegeneric/python-simplegeneric.hash    |  3 +++
 package/python-simplegeneric/python-simplegeneric.mk  | 19 +++++++++++++++++++
 package/python-traitlets/Config.in                    |  8 ++++++++
 package/python-traitlets/python-traitlets.hash        |  2 ++
 package/python-traitlets/python-traitlets.mk          | 13 +++++++++++++
 25 files changed, 211 insertions(+), 4 deletions(-)
 create mode 100644 package/python-backports-shutil-get-terminal-size/Config.in
 create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
 create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
 create mode 100644 package/python-decorator/Config.in
 create mode 100644 package/python-decorator/python-decorator.mk
 create mode 100644 package/python-ipython-genutils/Config.in
 create mode 100644 package/python-ipython-genutils/python-ipython-genutils.hash
 create mode 100644 package/python-ipython-genutils/python-ipython-genutils.mk
 create mode 100644 package/python-pathlib2/Config.in
 create mode 100644 package/python-pathlib2/python-pathlib2.hash
 create mode 100644 package/python-pathlib2/python-pathlib2.mk
 create mode 100644 package/python-pickleshare/Config.in
 create mode 100644 package/python-pickleshare/python-pickleshare.hash
 create mode 100644 package/python-pickleshare/python-pickleshare.mk
 create mode 100644 package/python-scandir/Config.in
 create mode 100644 package/python-scandir/python-scandir.hash
 create mode 100644 package/python-scandir/python-scandir.mk
 create mode 100644 package/python-simplegeneric/Config.in
 create mode 100644 package/python-simplegeneric/python-simplegeneric.hash
 create mode 100644 package/python-simplegeneric/python-simplegeneric.mk
 create mode 100644 package/python-traitlets/Config.in
 create mode 100644 package/python-traitlets/python-traitlets.hash
 create mode 100644 package/python-traitlets/python-traitlets.mk
Signature · 1 line
2.9.3
#1 lore raw

PATCH v2 1/10 package/python-decorator: New package

Add 'decorator'[1] package to Buildroot. Needed by 'traitlets' package, which is added in the next patch.

[1] https://pypi.python.org/pypi/decorator

---
 package/Config.in                            |  1 +
 package/python-decorator/Config.in           |  6 ++++++
 package/python-decorator/python-decorator.mk | 13 +++++++++++++
 3 files changed, 20 insertions(+)
 create mode 100644 package/python-decorator/Config.in
 create mode 100644 package/python-decorator/python-decorator.mk
package/Config.in +1 -0
index 25405c1..eb6d197 100644
@@ -701,6 +701,7 @@ menu "External python modules"
 	source "package/python-daemon/Config.in"
 	source "package/python-dataproperty/Config.in"
 	source "package/python-dateutil/Config.in"
+	source "package/python-decorator/Config.in"
 	source "package/python-dialog/Config.in"
 	source "package/python-dialog3/Config.in"
 	source "package/python-dicttoxml/Config.in"
package/python-decorator/Config.in new file +6 -0
new file mode 100644
index 0000000..e7ec00c
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_DECORATOR
+	bool "python-decorator"
+	help
+	  Better living through Python with decorators
+
+	  https://github.com/micheles/decorator
package/python-decorator/python-decorator.mk new file +13 -0
new file mode 100644
index 0000000..fac03a3
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-decorator
+#
+################################################################################
+
+PYTHON_DECORATOR_VERSION = 4.0.11
+PYTHON_DECORATOR_SITE = https://github.com/micheles/decorator.git
+PYTHON_DECORATOR_SITE_METHOD = git
+PYTHON_DECORATOR_LICENSE = BSD-2-Clause
+PYTHON_DECORATOR_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
2.9.3
#2 lore raw

PATCH v2 1/10 package/python-decorator: New package

Hello,

Quoted 3 lines · Andrey Smirnov
 package/Config.in                            |  1 +
 package/python-decorator/Config.in           |  6 ++++++
 package/python-decorator/python-decorator.mk | 13 +++++++++++++

This was missing an addition to the DEVELOPERS file.

Quoted 6 lines
package/python-decorator/python-decorator.mk new file +0 -0
new file mode 100644
index 0000000..fac03a3

package/python-decorator/python-decorator.mk line 9

Quoted 9 lines
package/python-decorator/python-decorator.mk new file +9 -0
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-decorator
+#
+################################################################################
+
+PYTHON_DECORATOR_VERSION = 4.0.11
+PYTHON_DECORATOR_SITE = https://github.com/micheles/decorator.git
+PYTHON_DECORATOR_SITE_METHOD = git

We prefer downloading from Pypi, so I've changed that.

Also, a hash file was missing, so I've added one.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw

PATCH v2 2/10 package/python-traitlets: New package

In reply to Andrey Smirnov

Add 'traitlets'[1] package to Buildroot. Needed by IPython.

[1] https://pypi.python.org/pypi/traitlets

---
 package/Config.in                              |  1 +
 package/python-traitlets/Config.in             |  8 ++++++++
 package/python-traitlets/python-traitlets.hash |  2 ++
 package/python-traitlets/python-traitlets.mk   | 13 +++++++++++++
 4 files changed, 24 insertions(+)
 create mode 100644 package/python-traitlets/Config.in
 create mode 100644 package/python-traitlets/python-traitlets.hash
 create mode 100644 package/python-traitlets/python-traitlets.mk
package/Config.in +1 -0
index eb6d197..47f43eb 100644
@@ -843,6 +843,7 @@ menu "External python modules"
 	source "package/python-tomako/Config.in"
 	source "package/python-toml/Config.in"
 	source "package/python-tornado/Config.in"
+	source "package/python-traitlets/Config.in"
 	source "package/python-treq/Config.in"
 	source "package/python-twisted/Config.in"
 	source "package/python-txaio/Config.in"
package/python-traitlets/Config.in new file +8 -0
new file mode 100644
index 0000000..ea21c1b
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_TRAITLETS
+	bool "python-traitlets"
+	select BR2_PACKAGE_PYTHON_DECORATOR
+	select BR2_PACKAGE_PYTHON_ENUM if BR2_PACKAGE_PYTHON
+	help
+	  A configuration system for Python applications.
+
+	  https://pypi.python.org/pypi/traitlets
package/python-traitlets/python-traitlets.hash new file +2 -0
new file mode 100644
index 0000000..3b14991
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 370f938ad730d52272ef74f96f831cb21138f6168e46fe582fe256c35cc656ce python-traitlets-4.3.2.tar.gz
package/python-traitlets/python-traitlets.mk new file +13 -0
new file mode 100644
index 0000000..45f393d
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-traitlets
+#
+################################################################################
+
+PYTHON_TRAITLETS_VERSION = 4.3.2
+PYTHON_TRAITLETS_SOURCE = python-traitlets-$(PYTHON_TRAITLETS_VERSION).tar.gz
+PYTHON_TRAITLETS_SITE = $(call github,ipython,traitlets,$(PYTHON_TRAITLETS_VERSION))
+PYTHON_TRAITLETS_LICENSE = BSD-3-Clause
+PYTHON_TRAITLETS_SETUP_TYPE = distutils
+
+$(eval $(python-package))
Signature · 1 line
2.9.3
#4 lore raw

PATCH v2 2/10 package/python-traitlets: New package

Hello,

package/python-traitlets/Config.in line 4

Quoted 4 lines · Andrey Smirnov
package/python-traitlets/Config.in new file +4 -0
+config BR2_PACKAGE_PYTHON_TRAITLETS
+	bool "python-traitlets"
+	select BR2_PACKAGE_PYTHON_DECORATOR
+	select BR2_PACKAGE_PYTHON_ENUM if BR2_PACKAGE_PYTHON

Are you sure?

According to https://pypi.python.org/pypi/traitlets/json:

        "requires_dist": [
            "mock; python_version==\"2.7\" and extra == 'test'", 
            "pytest; extra == 'test'", 
            "enum34; python_version==\"3.3\"", 
            "enum34; python_version==\"2.7\"", 
            "six", 
            "ipython-genutils", 
            "decorator"
        ], 

So it needs python-enum34, not python-enum it seems. It also needs ipython-genutils apparently.

Generally, make sure that if you enable *ONLY* this package, and do a build, you can "import traitlets" without error on the target.

package/python-traitlets/python-traitlets.hash line 2

Quoted 8 lines
package/python-traitlets/python-traitlets.hash new file +2 -0
new file mode 100644
index 0000000..3b14991
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 370f938ad730d52272ef74f96f831cb21138f6168e46fe582fe256c35cc656ce python-traitlets-4.3.2.tar.gz

Please also add md5 from https://pypi.python.org/pypi/traitlets/json.

Quoted 6 lines
package/python-traitlets/python-traitlets.mk new file +0 -0
new file mode 100644
index 0000000..45f393d

package/python-traitlets/python-traitlets.mk line 9

Quoted 9 lines
package/python-traitlets/python-traitlets.mk new file +9 -0
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-traitlets
+#
+################################################################################
+
+PYTHON_TRAITLETS_VERSION = 4.3.2
+PYTHON_TRAITLETS_SOURCE = python-traitlets-$(PYTHON_TRAITLETS_VERSION).tar.gz
+PYTHON_TRAITLETS_SITE = $(call github,ipython,traitlets,$(PYTHON_TRAITLETS_VERSION))

Please use the tarball from https://pypi.python.org/pypi/traitlets/json.

And add an entry to the DEVELOPERS file.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#5 lore raw

PATCH v2 3/10 package/python-simplegeneric: New package

In reply to Andrey Smirnov

Add 'simplegeneric'[1] package to Buildroot. Needed by IPython.

[1] https://pypi.python.org/pypi/simplegeneric

---
 package/Config.in                                     |  1 +
 package/python-simplegeneric/Config.in                |  6 ++++++
 .../python-simplegeneric/python-simplegeneric.hash    |  3 +++
 package/python-simplegeneric/python-simplegeneric.mk  | 19 +++++++++++++++++++
 4 files changed, 29 insertions(+)
 create mode 100644 package/python-simplegeneric/Config.in
 create mode 100644 package/python-simplegeneric/python-simplegeneric.hash
 create mode 100644 package/python-simplegeneric/python-simplegeneric.mk
package/Config.in +1 -0
index 47f43eb..1a0702d 100644
@@ -830,6 +830,7 @@ menu "External python modules"
 	source "package/python-sh/Config.in"
 	source "package/python-shutilwhich/Config.in"
 	source "package/python-simpleaudio/Config.in"
+	source "package/python-simplegeneric/Config.in"
 	source "package/python-simplejson/Config.in"
 	source "package/python-singledispatch/Config.in"
 	source "package/python-sip/Config.in"
package/python-simplegeneric/Config.in new file +6 -0
new file mode 100644
index 0000000..b5ebfec
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SIMPLEGENERIC
+	bool "python-simplegeneric"
+	help
+	  A configuration system for Python applications.
+
+	  https://pypi.python.org/pypi/simplegeneric
package/python-simplegeneric/python-simplegeneric.hash new file +3 -0
new file mode 100644
index 0000000..24f652c
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/simplegeneric, sha256 locally computed
+md5 f9c1fab00fd981be588fc32759f474e3 simplegeneric-0.8.1.zip
+sha256 dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173 simplegeneric-0.8.1.zip
package/python-simplegeneric/python-simplegeneric.mk new file +19 -0
new file mode 100644
index 0000000..a741a21
@@ -0,0 +1,19 @@
+################################################################################
+#
+# python-simplegeneric
+#
+################################################################################
+
+PYTHON_SIMPLEGENERIC_VERSION = 0.8.1
+PYTHON_SIMPLEGENERIC_SOURCE = simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION).zip
+PYTHON_SIMPLEGENERIC_SITE = https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b
+PYTHON_SIMPLEGENERIC_LICENSE = BSD-3-Clause
+PYTHON_SIMPLEGENERIC_SETUP_TYPE = distutils
+
+define PYTHON_SIMPLEGENERIC_EXTRACT_CMDS
+	unzip $(DL_DIR)/$(PYTHON_SIMPLEGENERIC_SOURCE) -d $(@D)
+	mv $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)/* $(@D)
+	rmdir $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)
+endef
+
+$(eval $(python-package))
Signature · 1 line
2.9.3
#6 lore raw

PATCH v2 3/10 package/python-simplegeneric: New package

Hello,

Quoted 4 lines · Andrey Smirnov
 package/Config.in                                     |  1 +
 package/python-simplegeneric/Config.in                |  6 ++++++
 .../python-simplegeneric/python-simplegeneric.hash    |  3 +++
 package/python-simplegeneric/python-simplegeneric.mk  | 19 +++++++++++++++++++

Entry was missing in DEVELOPERS file.

package/python-simplegeneric/python-simplegeneric.mk line 10

Quoted 4 lines
package/python-simplegeneric/python-simplegeneric.mk new file +4 -0
+PYTHON_SIMPLEGENERIC_VERSION = 0.8.1
+PYTHON_SIMPLEGENERIC_SOURCE = simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION).zip
+PYTHON_SIMPLEGENERIC_SITE = https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b
+PYTHON_SIMPLEGENERIC_LICENSE = BSD-3-Clause

This is wrong, license was ZPL-2.1.

Committed with those two issues fixed.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#7 lore raw

PATCH v2 4/10 package/python-ipython-genutils: New package

In reply to Andrey Smirnov

Add 'ipython_genutils'[1] package to Buildroot. Needed by IPython.

[1] https://pypi.python.org/pypi/ipython_genutils

---
 package/Config.in                                           |  1 +
 package/python-ipython-genutils/Config.in                   |  6 ++++++
 .../python-ipython-genutils/python-ipython-genutils.hash    |  3 +++
 package/python-ipython-genutils/python-ipython-genutils.mk  | 13 +++++++++++++
 4 files changed, 23 insertions(+)
 create mode 100644 package/python-ipython-genutils/Config.in
 create mode 100644 package/python-ipython-genutils/python-ipython-genutils.hash
 create mode 100644 package/python-ipython-genutils/python-ipython-genutils.mk
package/Config.in +1 -0
index 1a0702d..143bccc 100644
@@ -735,6 +735,7 @@ menu "External python modules"
 	source "package/python-ipaddress/Config.in"
 	source "package/python-ipy/Config.in"
 	source "package/python-ipython/Config.in"
+	source "package/python-ipython-genutils/Config.in"
 	source "package/python-itsdangerous/Config.in"
 	source "package/python-jinja2/Config.in"
 	source "package/python-jsonschema/Config.in"
package/python-ipython-genutils/Config.in new file +6 -0
new file mode 100644
index 0000000..d49442e
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS
+	bool "python-ipython-genutils"
+	help
+	  IPython vestigial utilities
+
+	  https://pypi.python.org/pypi/ipython_genutils
package/python-ipython-genutils/python-ipython-genutils.hash new file +3 -0
new file mode 100644
index 0000000..76a74c9
@@ -0,0 +1,3 @@
+# sha256 locally computed.
+
+sha256  424a6ecb33b8c9a8320f8601c533067ed75b491e4bc31621d6278f288497cb1a ipython_genutils-0.2.0.tar.gz
package/python-ipython-genutils/python-ipython-genutils.mk new file +13 -0
new file mode 100644
index 0000000..e888300
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-ipython-genutils
+#
+################################################################################
+
+PYTHON_IPYTHON_GENUTILS_VERSION = 0.2.0
+PYTHON_IPYTHON_GENUTILS_SOURCE = ipython_genutils-$(PYTHON_IPYTHON_GENUTILS_VERSION).tar.gz
+PYTHON_IPYTHON_GENUTILS_SITE = $(call github,ipython,ipython_genutils,$(PYTHON_IPYTHON_GENUTILS_VERSION))
+PYTHON_IPYTHON_GENUTILS_LICENSE = BSD-3-Clause
+PYTHON_IPYTHON_GENUTILS_SETUP_TYPE = distutils
+
+$(eval $(python-package))
Signature · 1 line
2.9.3
#8 lore raw

PATCH v2 5/10 package/python-scandir: New package

In reply to Andrey Smirnov

Add 'scandir'[1] package to buildroot. Needed by 'pathlib2'.

[1] https://pypi.python.org/pypi/scandir

---
 package/Config.in                          |  1 +
 package/python-scandir/Config.in           |  6 ++++++
 package/python-scandir/python-scandir.hash |  2 ++
 package/python-scandir/python-scandir.mk   | 13 +++++++++++++
 4 files changed, 22 insertions(+)
 create mode 100644 package/python-scandir/Config.in
 create mode 100644 package/python-scandir/python-scandir.hash
 create mode 100644 package/python-scandir/python-scandir.mk
package/Config.in +1 -0
index 143bccc..c64105e 100644
@@ -823,6 +823,7 @@ menu "External python modules"
 	source "package/python-rpi-gpio/Config.in"
 	source "package/python-rtslib-fb/Config.in"
 	source "package/python-scapy3k/Config.in"
+	source "package/python-scandir/Config.in"
 	source "package/python-sdnotify/Config.in"
 	source "package/python-serial/Config.in"
 	source "package/python-service-identity/Config.in"
package/python-scandir/Config.in new file +6 -0
new file mode 100644
index 0000000..5e8ca0d
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SCANDIR
+	bool "python-scandir"
+	help
+	  A configuration system for Python applications.
+
+	  https://pypi.python.org/pypi/pickleshare
package/python-scandir/python-scandir.hash new file +2 -0
new file mode 100644
index 0000000..a7ee337
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 c2612d1a487d80fb4701b4a91ca1b8f8a695b1ae820570815e85e8c8b23f1283 scandir-1.5.tar.gz
package/python-scandir/python-scandir.mk new file +13 -0
new file mode 100644
index 0000000..cf921ae
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-scandir
+#
+################################################################################
+
+PYTHON_SCANDIR_VERSION = 1.5
+PYTHON_SCANDIR_SOURCE = scandir-$(PYTHON_SCANDIR_VERSION).tar.gz
+PYTHON_SCANDIR_SITE = https://pypi.python.org/packages/bd/f4/3143e0289faf0883228017dbc6387a66d0b468df646645e29e1eb89ea10e
+PYTHON_SCANDIR_LICENSE = BSD-3-Clause
+PYTHON_SCANDIR_SETUP_TYPE = distutils
+
+$(eval $(python-package))
Signature · 1 line
2.9.3
#9 lore raw

PATCH v2 5/10 package/python-scandir: New package

Hello,

package/python-scandir/Config.in line 4

Quoted 4 lines · Andrey Smirnov
package/python-scandir/Config.in new file +4 -0
+config BR2_PACKAGE_PYTHON_SCANDIR
+	bool "python-scandir"
+	help
+	  A configuration system for Python applications.

This description is bogus.

package/python-scandir/Config.in line 6

Quoted 1 line
package/python-scandir/Config.in new file +1 -0
+	  https://pypi.python.org/pypi/pickleshare

This URL is wrong.

And the entry to DEVELOPERS file is missing.

Could you please check your entire series, and verify all those details? Once they are all fixed, could you resubmit an updated version?

Please verify the dependencies and licenses as well.

I'll mark the series as Changes Requested in patchwork in the mean time. I have only applied the python-decorator and python-simplegeneric packages.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#10 lore raw

PATCH v2 5/10 package/python-scandir: New package

Quoted 11 lines · Thomas Petazzoni

Hello,

package/python-scandir/Config.in line 4

Quoted 4 lines · Andrey Smirnov
package/python-scandir/Config.in new file +4 -0
+config BR2_PACKAGE_PYTHON_SCANDIR
+     bool "python-scandir"
+     help
+       A configuration system for Python applications.

This description is bogus.

Quoted 8 lines
Quoted 1 line

+ https://pypi.python.org/pypi/pickleshare

This URL is wrong.

And the entry to DEVELOPERS file is missing.

Could you please check your entire series, and verify all those details? Once they are all fixed, could you resubmit an updated version?

Sorry about that, my bad. I'll re-check the series and submit v3.

Quoted 2 lines

Please verify the dependencies and licenses as well.

Will do.

Thanks,
Andrey Smirnov

#11 lore raw

PATCH v2 6/10 package/python-pathlib2: New package

In reply to Andrey Smirnov

Add 'pathlib2'[1] package to Buildroot. Needed by 'pickleshare' package, which is added in the next patch.

[1] https://pypi.python.org/pypi/pathlib2

---
 package/Config.in                            |  1 +
 package/python-pathlib2/Config.in            | 14 ++++++++++++++
 package/python-pathlib2/python-pathlib2.hash |  2 ++
 package/python-pathlib2/python-pathlib2.mk   | 13 +++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/python-pathlib2/Config.in
 create mode 100644 package/python-pathlib2/python-pathlib2.hash
 create mode 100644 package/python-pathlib2/python-pathlib2.mk
package/Config.in +1 -0
index c64105e..d8880df 100644
@@ -768,6 +768,7 @@ menu "External python modules"
 	source "package/python-paramiko/Config.in"
 	source "package/python-pathpy/Config.in"
 	source "package/python-pathtools/Config.in"
+	source "package/python-pathlib2/Config.in"
 	source "package/python-pathvalidate/Config.in"
 	source "package/python-pexpect/Config.in"
 	source "package/python-pillow/Config.in"
package/python-pathlib2/Config.in new file +14 -0
new file mode 100644
index 0000000..71cd27e
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PYTHON_PATHLIB2
+	bool "python-pathlib2"
+	depends on BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON_SIX
+	select BR2_PACKAGE_PYTHON_SCANDIR
+	help
+	  Object-oriented filesystem paths.
+
+	  The goal of pathlib2 is to provide a backport of standard
+	  pathlib module which tracks the standard library module, so
+	  all the newest features of the standard pathlib can be used
+	  also on older Python versions.
+
+	  https://pypi.python.org/pypi/pathlib2
package/python-pathlib2/python-pathlib2.hash new file +2 -0
new file mode 100644
index 0000000..e09496a
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 ce9007df617ef6b7bd8a31cd2089ed0c1fed1f7c23cf2bf1ba140b3dd563175d pathlib2-2.2.1.tar.gz
package/python-pathlib2/python-pathlib2.mk new file +13 -0
new file mode 100644
index 0000000..d3b0d68
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-pathlib2
+#
+################################################################################
+
+PYTHON_PATHLIB2_VERSION = 2.2.1
+PYTHON_PATHLIB2_SOURCE = pathlib2-$(PYTHON_PATHLIB2_VERSION).tar.gz
+PYTHON_PATHLIB2_SITE = https://pypi.python.org/packages/ab/d8/ac7489d50146f29d0a14f65545698f4545d8a6b739b24b05859942048b56
+PYTHON_PATHLIB2_LICENSE = MIT
+PYTHON_PATHLIB2_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
2.9.3
#12 lore raw

PATCH v2 7/10 package/python-pickleshare: New package

In reply to Andrey Smirnov

Add 'pickleshare'[1] package to buildroot. Needed by 'IPython'.

[1] https://pypi.python.org/pypi/pickleshare

Add pickleshare to satisfy IPython's dependency.

---
 package/Config.in                                  |  1 +
 package/python-pickleshare/Config.in               |  7 +++++++
 package/python-pickleshare/python-pickleshare.hash |  2 ++
 package/python-pickleshare/python-pickleshare.mk   | 13 +++++++++++++
 4 files changed, 23 insertions(+)
 create mode 100644 package/python-pickleshare/Config.in
 create mode 100644 package/python-pickleshare/python-pickleshare.hash
 create mode 100644 package/python-pickleshare/python-pickleshare.mk
package/Config.in +1 -0
index d8880df..a749b78 100644
@@ -771,6 +771,7 @@ menu "External python modules"
 	source "package/python-pathlib2/Config.in"
 	source "package/python-pathvalidate/Config.in"
 	source "package/python-pexpect/Config.in"
+	source "package/python-pickleshare/Config.in"
 	source "package/python-pillow/Config.in"
 	source "package/python-posix-ipc/Config.in"
 	source "package/python-prompt-toolkit/Config.in"
package/python-pickleshare/Config.in new file +7 -0
new file mode 100644
index 0000000..a453769
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PICKLESHARE
+	bool "python-pickleshare"
+	select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON
+	help
+	  A configuration system for Python applications.
+
+	  https://pypi.python.org/pypi/pickleshare
package/python-pickleshare/python-pickleshare.hash new file +2 -0
new file mode 100644
index 0000000..f9f9beb
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 a9ccf2c87c2224f26dd5b7dfd135f2472e374ae972f8d510b1b940861beb1eb4 pickleshare-0.7.4.tar.gz
package/python-pickleshare/python-pickleshare.mk new file +13 -0
new file mode 100644
index 0000000..fa62c62
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-pickleshare
+#
+################################################################################
+
+PYTHON_PICKLESHARE_VERSION = 0.7.4
+PYTHON_PICKLESHARE_SOURCE = pickleshare-$(PYTHON_PICKLESHARE_VERSION).tar.gz
+PYTHON_PICKLESHARE_SITE = $(call github,pickleshare,pickleshare,$(PYTHON_PICKLESHARE_VERSION))
+PYTHON_PICKLESHARE_LICENSE = MIT
+PYTHON_PICKLESHARE_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
2.9.3
#13 lore raw

PATCH v2 8/10 package/python-backports-shutil-get-terminal-size: New package

In reply to Andrey Smirnov

Add 'scandir'[1] package to buildroot. Needed by 'IPython', when building against Python2.

[1] https://pypi.python.org/pypi/backports.shutil_get_terminal_size

---
 package/Config.in                                           |  1 +
 package/python-backports-shutil-get-terminal-size/Config.in |  9 +++++++++
 .../python-backports-shutil-get-terminal-size.hash          |  2 ++
 .../python-backports-shutil-get-terminal-size.mk            | 13 +++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/python-backports-shutil-get-terminal-size/Config.in
 create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
 create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
package/Config.in +1 -0
index a749b78..87240ef 100644
@@ -675,6 +675,7 @@ menu "External python modules"
 	source "package/python-autobahn/Config.in"
 	source "package/python-babel/Config.in"
 	source "package/python-backports-abc/Config.in"
+	source "package/python-backports-shutil-get-terminal-size/Config.in"
 	source "package/python-beautifulsoup4/Config.in"
 	source "package/python-bitstring/Config.in"
 	source "package/python-bottle/Config.in"
package/python-backports-shutil-get-terminal-size/Config.in new file +9 -0
new file mode 100644
index 0000000..24bf3b7
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE
+	bool "python-backports-shutil-get-terminal-size"
+	depends on BR2_PACKAGE_PYTHON
+	help
+
+	  A backport of the get_terminal_size function from Python
+	  3.3's shutil.
+
+	  https://pypi.python.org/pypi/backports.shutil_get_terminal_size
package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash new file +2 -0
new file mode 100644
index 0000000..0df0cf7
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80 backports.shutil_get_terminal_size-1.0.0.tar.gz
package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk new file +13 -0
new file mode 100644
index 0000000..63cf363
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-backports-shutil-get-terminal-size
+#
+################################################################################
+
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION = 1.0.0
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SOURCE = backports.shutil_get_terminal_size-$(PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION).tar.gz
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SITE = https://pypi.python.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SETUP_TYPE = setuptools
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_LICENSE = MIT
+
+$(eval $(python-package))
Signature · 1 line
2.9.3
#14 lore raw

PATCH v2 9/10 package/python-ipython: Reformat help text to avoid warnings

In reply to Andrey Smirnov

Reformat help text in Config.in to avoid warnings from check-package. No content change intended.

---
 package/python-ipython/Config.in | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
package/python-ipython/Config.in +5 -4
index 1d92873..b87f2bc 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_PYTHON_IPYTHON
 	bool "python-ipython"
 	help
-	  IPython is a command shell for interactive computing in multiple
-	  programming languages, originally developed for the Python
-	  programming language, that offers enhanced introspection, rich
-	  media, additional shell syntax, tab completion, and rich history.
+	  IPython is a command shell for interactive computing in
+	  multiple programming languages, originally developed for the
+	  Python programming language, that offers enhanced
+	  introspection, rich media, additional shell syntax, tab
+	  completion, and rich history.
 
 	  http://ipython.org/
Signature · 1 line
2.9.3
#15 lore raw

PATCH v2 9/10 package/python-ipython: Reformat help text to avoid warnings

Hello,

Quoted 7 lines · Andrey Smirnov

Reformat help text in Config.in to avoid warnings from check-package. No content change intended.

---
 package/python-ipython/Config.in | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#16 lore raw

PATCH v2 10/10 package/python-ipython: Add dependecy list

In reply to Andrey Smirnov

List minimal set of packages needed to be installed alongside to be able to run IPython with Python 2/3.

---
 package/python-ipython/Config.in | 10 ++++++++++
 1 file changed, 10 insertions(+)
package/python-ipython/Config.in +10 -0
index b87f2bc..eda8227 100644
@@ -1,5 +1,15 @@
 config BR2_PACKAGE_PYTHON_IPYTHON
 	bool "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
 	help
 	  IPython is a command shell for interactive computing in
 	  multiple programming languages, originally developed for the
Signature · 1 line
2.9.3