Skip to contentSkip to conversation

Update IPython's dependencies

PATCH New Andrey Smirnov 2 participants 13 messages Jun 12, 2017 – Jun 16, 2017

lore
Share & tools
lore
#0 lore raw

v4 cover Update IPython's dependencies

Hi everyone,

Here's v4 of my IPython related patchset with, hopefully, all of the v3 feedback incorporated.

Change history can be found below.

Changes since [v3]:

- Rebase on latest master, dropping all of the applied patches in the process

- Add *_LICENSE_FILE information to all new packages

- Alphabetize lines added to Config.in as well as DEVELOPERS

- Add # runtime tags where appropriate

- Collect Reviewed-by from Yegor

Changes since [v2]:

- Add fix for setup type for 'enum34'

- Add fix for 'simplegeneric' to avoid dependency on zlib support in Python (missed that in my original patch)

- Convert all of the URL to point to PyPI

- Add MD5 sums from PyPI to all new packages

- Add patch to bump IPython to 5.4.0

- Fix package run-time dependencies to match with what they specify in thier JSON info on PyPI

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

[v3] http://lists.busybox.net/pipermail/buildroot/2017-June/193529.html
[v2] http://lists.busybox.net/pipermail/buildroot/2017-April/190587.html
[v1] http://lists.busybox.net/pipermail/buildroot/2017-April/190423.html

Andrey Smirnov (7):
package/python-traitlets: 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: Add dependecy list
python-ipython: Bump to version 5.4.0

 DEVELOPERS                                                 |  5 +++++
 package/Config.in                                          |  5 +++++
 .../python-backports-shutil-get-terminal-size/Config.in    |  9 +++++++++
 .../python-backports-shutil-get-terminal-size.hash         |  3 +++
 .../python-backports-shutil-get-terminal-size.mk           | 14 ++++++++++++++
 package/python-ipython/Config.in                           |  9 +++++++++
 package/python-ipython/python-ipython.hash                 |  4 ++--
 package/python-ipython/python-ipython.mk                   |  4 ++--
 package/python-pathlib2/Config.in                          | 14 ++++++++++++++
 package/python-pathlib2/python-pathlib2.hash               |  3 +++
 package/python-pathlib2/python-pathlib2.mk                 | 14 ++++++++++++++
 package/python-pickleshare/Config.in                       |  7 +++++++
 package/python-pickleshare/python-pickleshare.hash         |  3 +++
 package/python-pickleshare/python-pickleshare.mk           | 14 ++++++++++++++
 package/python-scandir/Config.in                           |  6 ++++++
 package/python-scandir/python-scandir.hash                 |  3 +++
 package/python-scandir/python-scandir.mk                   | 14 ++++++++++++++
 package/python-traitlets/Config.in                         | 10 ++++++++++
 package/python-traitlets/python-traitlets.hash             |  3 +++
 package/python-traitlets/python-traitlets.mk               | 14 ++++++++++++++
 20 files changed, 154 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-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-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.4
#1 lore raw

PATCH v4 1/7 package/python-traitlets: New package

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

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

---
 DEVELOPERS                                     |  1 +
 package/Config.in                              |  1 +
 package/python-traitlets/Config.in             | 10 ++++++++++
 package/python-traitlets/python-traitlets.hash |  3 +++
 package/python-traitlets/python-traitlets.mk   | 14 ++++++++++++++
 5 files changed, 29 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
DEVELOPERS +1 -0
index 7d8b410..39aed97 100644
@@ -84,6 +84,7 @@ N:	Andrey Smirnov <[email protected]>
 F:	package/python-decorator/
 F:	package/python-ipython-genutils/
 F:	package/python-simplegeneric/
+F:	package/python-traitlets/
 
 N:	Andy Kennedy <[email protected]>
 F:	package/libunwind/
package/Config.in +1 -0
index 02ae1c3..2341950 100644
@@ -855,6 +855,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 +10 -0
new file mode 100644
index 0000000..f1804e5
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_TRAITLETS
+	bool "python-traitlets"
+	select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON_SIX  # runtime
+	select BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS  # runtime
+	select BR2_PACKAGE_PYTHON_DECORATOR  # runtime
+	help
+	  A configuration system for Python applications.
+
+	  https://pypi.python.org/pypi/traitlets
package/python-traitlets/python-traitlets.hash new file +3 -0
new file mode 100644
index 0000000..23aa159
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/traitlets/json, sha256 locally computed
+md5 3068663f2f38fd939a9eb3a500ccc154 traitlets-4.3.2.tar.gz
+sha256 9c4bd2d267b7153df9152698efb1050a5d84982d3384a37b2c1f7723ba3e7835 traitlets-4.3.2.tar.gz
package/python-traitlets/python-traitlets.mk new file +14 -0
new file mode 100644
index 0000000..c711bde
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-traitlets
+#
+################################################################################
+
+PYTHON_TRAITLETS_VERSION = 4.3.2
+PYTHON_TRAITLETS_SOURCE = traitlets-$(PYTHON_TRAITLETS_VERSION).tar.gz
+PYTHON_TRAITLETS_SITE = https://pypi.python.org/packages/a5/98/7f5ef2fe9e9e071813aaf9cb91d1a732e0a68b6c44a32b38cb8e14c3f069
+PYTHON_TRAITLETS_LICENSE = BSD-3-Clause
+PYTHON_TRAITLETS_LICENSE_FILE = COPYING.md
+PYTHON_TRAITLETS_SETUP_TYPE = distutils
+
+$(eval $(python-package))
Signature · 1 line
2.9.4
#2 lore raw

PATCH v4 1/7 package/python-traitlets: New package

Hello,

Quoted 6 lines · Andrey Smirnov

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

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

Quoted 10 lines
---
 DEVELOPERS                                     |  1 +
 package/Config.in                              |  1 +
 package/python-traitlets/Config.in             | 10 ++++++++++
 package/python-traitlets/python-traitlets.hash |  3 +++
 package/python-traitlets/python-traitlets.mk   | 14 ++++++++++++++
 5 files changed, 29 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

Entire series applied. I fixed some minor nits along the way, I'll reply to the individual patches about them.

Thanks a lot for this contribution!

What about adding a test in the runtime test infrastructure that verifies that ipython runs fine with both python2 and python3 ?

Best regards,

Thomas

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

PATCH v4 1/7 package/python-traitlets: New package

Quoted 20 lines · Thomas Petazzoni

Hello,

Quoted 6 lines · Andrey Smirnov

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

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

Quoted 10 lines
---
 DEVELOPERS                                     |  1 +
 package/Config.in                              |  1 +
 package/python-traitlets/Config.in             | 10 ++++++++++
 package/python-traitlets/python-traitlets.hash |  3 +++
 package/python-traitlets/python-traitlets.mk   | 14 ++++++++++++++
 5 files changed, 29 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
Quoted 2 lines

Entire series applied. I fixed some minor nits along the way, I'll reply to the individual patches about them.

Wonderful, thank you!

Quoted 3 lines

What about adding a test in the runtime test infrastructure that verifies that ipython runs fine with both python2 and python3 ?

I am not very familiar with BR's testing infrastructure, so it will take me some time to figure out, but I'll give it a try and send a patch separately.

Thanks,
Andrey Smirnov

#4 lore raw

PATCH v4 1/7 package/python-traitlets: New package

Hello,

Quoted 6 lines · Andrey Smirnov
Quoted 2 lines

What about adding a test in the runtime test infrastructure that verifies that ipython runs fine with both python2 and python3 ?

I am not very familiar with BR's testing infrastructure, so it will take me some time to figure out, but I'll give it a try and send a patch separately.

A good example for your test is:

support/testing/tests/package/test_python.py

You can run it by doing:

./support/testing/run-tests -o output tests.package.test_python.TestPythonBase

Best regards,

Thomas

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

PATCH v4 2/7 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

---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-scandir/Config.in           |  6 ++++++
 package/python-scandir/python-scandir.hash |  3 +++
 package/python-scandir/python-scandir.mk   | 14 ++++++++++++++
 5 files changed, 25 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
DEVELOPERS +1 -0
index 39aed97..9d0b51d 100644
@@ -83,6 +83,7 @@ F:	package/wine/
 N:	Andrey Smirnov <[email protected]>
 F:	package/python-decorator/
 F:	package/python-ipython-genutils/
+F:	package/python-scandir/
 F:	package/python-simplegeneric/
 F:	package/python-traitlets/
 
package/Config.in +1 -0
index 2341950..9bf2e1f 100644
@@ -832,6 +832,7 @@ menu "External python modules"
 	source "package/python-requests-toolbelt/Config.in"
 	source "package/python-rpi-gpio/Config.in"
 	source "package/python-rtslib-fb/Config.in"
+	source "package/python-scandir/Config.in"
 	source "package/python-scapy3k/Config.in"
 	source "package/python-sdnotify/Config.in"
 	source "package/python-serial/Config.in"
package/python-scandir/Config.in new file +6 -0
new file mode 100644
index 0000000..497f962
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SCANDIR
+	bool "python-scandir"
+	help
+	  scandir, a better directory iterator and faster os.walk()
+
+	  https://pypi.python.org/pypi/scandir
package/python-scandir/python-scandir.hash new file +3 -0
new file mode 100644
index 0000000..aecd9a5
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/scandir/json, sha256 locally computed
+md5 a2713043de681bba6b084be42e7a8a44 scandir-1.5.tar.gz
+sha256 c2612d1a487d80fb4701b4a91ca1b8f8a695b1ae820570815e85e8c8b23f1283 scandir-1.5.tar.gz
package/python-scandir/python-scandir.mk new file +14 -0
new file mode 100644
index 0000000..2ff8ea2
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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_LICENSE_FILE = LICENSE.txt
+PYTHON_SCANDIR_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
2.9.4
#6 lore raw

PATCH v4 3/7 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

---
 DEVELOPERS                                   |  1 +
 package/Config.in                            |  1 +
 package/python-pathlib2/Config.in            | 14 ++++++++++++++
 package/python-pathlib2/python-pathlib2.hash |  3 +++
 package/python-pathlib2/python-pathlib2.mk   | 14 ++++++++++++++
 5 files changed, 33 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
DEVELOPERS +1 -0
index 9d0b51d..5545e3f 100644
@@ -83,6 +83,7 @@ F:	package/wine/
 N:	Andrey Smirnov <[email protected]>
 F:	package/python-decorator/
 F:	package/python-ipython-genutils/
+F:	package/python-pathlib2/
 F:	package/python-scandir/
 F:	package/python-simplegeneric/
 F:	package/python-traitlets/
package/Config.in +1 -0
index 9bf2e1f..5b4e5ee 100644
@@ -776,6 +776,7 @@ menu "External python modules"
 	source "package/python-paho-mqtt/Config.in"
 	source "package/python-pam/Config.in"
 	source "package/python-paramiko/Config.in"
+	source "package/python-pathlib2/Config.in"
 	source "package/python-pathpy/Config.in"
 	source "package/python-pathtools/Config.in"
 	source "package/python-pathvalidate/Config.in"
package/python-pathlib2/Config.in new file +14 -0
new file mode 100644
index 0000000..7297f0a
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PYTHON_PATHLIB2
+	bool "python-pathlib2"
+	depends on BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON_SIX # runtime
+	select BR2_PACKAGE_PYTHON_SCANDIR # runtime
+	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 +3 -0
new file mode 100644
index 0000000..a9c2949
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/pathlib2/json, sha256 locally computed
+md5 6c75bfde898b6c88627621a48ee8de14 pathlib2-2.2.1.tar.gz
+sha256 ce9007df617ef6b7bd8a31cd2089ed0c1fed1f7c23cf2bf1ba140b3dd563175d pathlib2-2.2.1.tar.gz
package/python-pathlib2/python-pathlib2.mk new file +14 -0
new file mode 100644
index 0000000..db2df91
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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_LICENSE_FILE = LICENSE.rst
+PYTHON_PATHLIB2_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
2.9.4
#7 lore raw

PATCH v4 4/7 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

---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/python-pickleshare/Config.in               |  7 +++++++
 package/python-pickleshare/python-pickleshare.hash |  3 +++
 package/python-pickleshare/python-pickleshare.mk   | 14 ++++++++++++++
 5 files changed, 26 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
DEVELOPERS +1 -0
index 5545e3f..e66a31f 100644
@@ -84,6 +84,7 @@ N:	Andrey Smirnov <[email protected]>
 F:	package/python-decorator/
 F:	package/python-ipython-genutils/
 F:	package/python-pathlib2/
+F:	package/python-pickleshare/
 F:	package/python-scandir/
 F:	package/python-simplegeneric/
 F:	package/python-traitlets/
package/Config.in +1 -0
index 5b4e5ee..3ca3876 100644
@@ -781,6 +781,7 @@ menu "External python modules"
 	source "package/python-pathtools/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..35a2663
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PICKLESHARE
+	bool "python-pickleshare"
+	select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON # runtime
+	help
+	  Tiny 'shelve'-like database with concurrency support
+
+	  https://pypi.python.org/pypi/pickleshare
package/python-pickleshare/python-pickleshare.hash new file +3 -0
new file mode 100644
index 0000000..6e3d408
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/pickleshare/json, sha256 locally computed
+md5 6a9e5dd8dfc023031f6b7b3f824cab12 pickleshare-0.7.4.tar.gz
+sha256 84a9257227dfdd6fe1b4be1319096c20eb85ff1e82c7932f36efccfe1b09737b pickleshare-0.7.4.tar.gz
package/python-pickleshare/python-pickleshare.mk new file +14 -0
new file mode 100644
index 0000000..b2a5e88
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pickleshare
+#
+################################################################################
+
+PYTHON_PICKLESHARE_VERSION = 0.7.4
+PYTHON_PICKLESHARE_SOURCE = pickleshare-$(PYTHON_PICKLESHARE_VERSION).tar.gz
+PYTHON_PICKLESHARE_SITE = https://pypi.python.org/packages/69/fe/dd137d84daa0fd13a709e448138e310d9ea93070620c9db5454e234af525
+PYTHON_PICKLESHARE_LICENSE = MIT
+PYTHON_PICKLESHARE_LICENSE_FILE = LICENSE
+PYTHON_PICKLESHARE_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
2.9.4
#8 lore raw

PATCH v4 5/7 package/python-backports-shutil-get-terminal-size: New package

In reply to Andrey Smirnov

Add 'python-backports-shutil-get-terminal-size'[1] package to buildroot. Needed by IPython when building against Python2.

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

---
 DEVELOPERS                                                 |  1 +
 package/Config.in                                          |  1 +
 .../python-backports-shutil-get-terminal-size/Config.in    |  9 +++++++++
 .../python-backports-shutil-get-terminal-size.hash         |  3 +++
 .../python-backports-shutil-get-terminal-size.mk           | 14 ++++++++++++++
 5 files changed, 28 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
DEVELOPERS +1 -0
index e66a31f..6289df6 100644
@@ -81,6 +81,7 @@ F:	package/p7zip/
 F:	package/wine/
 
 N:	Andrey Smirnov <[email protected]>
+F:	package/python-backports-shutil-get-terminal-size/
 F:	package/python-decorator/
 F:	package/python-ipython-genutils/
 F:	package/python-pathlib2/
package/Config.in +1 -0
index 3ca3876..0e8e291 100644
@@ -686,6 +686,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 +3 -0
new file mode 100644
index 0000000..c1b65e5
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/backports.shutil_get_terminal_size/json, sha256 locally computed
+md5 03267762480bd86b50580dc19dff3c66 backports.shutil_get_terminal_size-1.0.0.tar.gz
+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 +14 -0
new file mode 100644
index 0000000..68ac9a0
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_LICENSE_FILE = LICENSE
+
+$(eval $(python-package))
Signature · 1 line
2.9.4
#9 lore raw

PATCH v4 5/7 package/python-backports-shutil-get-terminal-size: New package

Hello,

Quoted 5 lines · Andrey Smirnov

Add 'python-backports-shutil-get-terminal-size'[1] package to buildroot. Needed by IPython when building against Python2.

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

Quoted 8 lines
---
 DEVELOPERS                                                 |  1 +
 package/Config.in                                          |  1 +
 .../python-backports-shutil-get-terminal-size/Config.in    |  9 +++++++++
 .../python-backports-shutil-get-terminal-size.hash         |  3 +++
 .../python-backports-shutil-get-terminal-size.mk           | 14 ++++++++++++++

I think this one is probably the package with one of the longest name in Buildroot.

package/python-backports-shutil-get-terminal-size/Config.in line 5

Quoted 5 lines
package/python-backports-shutil-get-terminal-size/Config.in new file +5 -0
+config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE
+	bool "python-backports-shutil-get-terminal-size"
+	depends on BR2_PACKAGE_PYTHON
+	help
+

Unnecessary empty new line was left here.

package/python-backports-shutil-get-terminal-size/Config.in line 9

Quoted 4 lines
package/python-backports-shutil-get-terminal-size/Config.in new file +4 -0
+	  A backport of the get_terminal_size function from Python
+	  3.3's shutil.
+
+	  https://pypi.python.org/pypi/backports.shutil_get_terminal_size

Fixed when applying, of course.

Thomas

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

PATCH v4 6/7 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 5.2.2 with Python 2/3.

---
 package/python-ipython/Config.in | 9 +++++++++
 1 file changed, 9 insertions(+)
package/python-ipython/Config.in +9 -0
index b87f2bc..da196be 100644
@@ -1,5 +1,14 @@
 config BR2_PACKAGE_PYTHON_IPYTHON
 	bool "python-ipython"
+	select BR2_PACKAGE_PYTHON_PEXPECT # runtime
+	select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON  # runtime
+	select BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE if BR2_PACKAGE_PYTHON  # runtime
+	select BR2_PACKAGE_PYTHON_TRAITLETS  # runtime
+	select BR2_PACKAGE_PYTHON_SIMPLEGENERIC  # runtime
+	select BR2_PACKAGE_PYTHON_PYGMENTS  # runtime
+	select BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT # runtime
+	select BR2_PACKAGE_PYTHON_PICKLESHARE # runtime
+	select BR2_PACKAGE_PYTHON_DECORATOR # runtime
 	help
 	  IPython is a command shell for interactive computing in
 	  multiple programming languages, originally developed for the
Signature · 1 line
2.9.4
#11 lore raw

PATCH v4 6/7 package/python-ipython: Add dependecy list

Hello,

package/python-ipython/Config.in line 11

Quoted 11 lines · Andrey Smirnov

config BR2_PACKAGE_PYTHON_IPYTHON

package/python-ipython/Config.in +9 -0
 	bool "python-ipython"
+	select BR2_PACKAGE_PYTHON_PEXPECT # runtime
+	select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON  # runtime
+	select BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE if BR2_PACKAGE_PYTHON  # runtime
+	select BR2_PACKAGE_PYTHON_TRAITLETS  # runtime
+	select BR2_PACKAGE_PYTHON_SIMPLEGENERIC  # runtime
+	select BR2_PACKAGE_PYTHON_PYGMENTS  # runtime
+	select BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT # runtime
+	select BR2_PACKAGE_PYTHON_PICKLESHARE # runtime
+	select BR2_PACKAGE_PYTHON_DECORATOR # runtime

Alphabetic sorting is better, so I've fixed this when applying.

Thanks,

Thomas

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

PATCH v4 7/7 python-ipython: Bump to version 5.4.0

In reply to Andrey Smirnov
---
 package/python-ipython/python-ipython.hash | 4 ++--
 package/python-ipython/python-ipython.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-ipython/python-ipython.hash +2 -2
index a223408..af1ed94 100644
@@ -1,3 +1,3 @@
 # md5 from https://pypi.python.org/pypi/ipython/json, sha256 locally computed
-md5 19e4a46ec7d7a32d068de4c253c9b459 ipython-5.2.2.tar.gz
-sha256 6ee1c89f6031e0c86727820ad394c6eb4d3ac28de48e0df3b9367ccf92e212e2 ipython-5.2.2.tar.gz
+md5 d8cc938f46801060239184a35ec9c5a6 ipython-5.4.0.tar.gz
+sha256 6907826c427c917bf0cdab71ee728288b1f1975c4b94b3ed608b67db3183c974 ipython-5.4.0.tar.gz
package/python-ipython/python-ipython.mk +2 -2
index e57d69d..5d92546 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_IPYTHON_VERSION = 5.2.2
+PYTHON_IPYTHON_VERSION = 5.4.0
 PYTHON_IPYTHON_SOURCE = ipython-$(PYTHON_IPYTHON_VERSION).tar.gz
-PYTHON_IPYTHON_SITE = https://pypi.python.org/packages/6e/cf/c2a3ca5942e2d8084574157a8f818efafb7218204cd9e41166c92c452e07
+PYTHON_IPYTHON_SITE = https://pypi.python.org/packages/36/cd/765f53135bbbbcd691858aba3af124453a230fe0c752f009f69012fce5d5
 PYTHON_IPYTHON_LICENSE = BSD-3-Clause
 PYTHON_IPYTHON_LICENSE_FILES = COPYING.rst
 PYTHON_IPYTHON_SETUP_TYPE = distutils
Signature · 1 line
2.9.4