* [Buildroot] [PATCH v4 0/7] Update IPython's dependencies
@ 2017-06-12 23:42 Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 1/7] package/python-traitlets: New package Andrey Smirnov
` (6 more replies)
0 siblings, 7 replies; 13+ messages in thread
From: Andrey Smirnov @ 2017-06-12 23:42 UTC (permalink / raw)
To: buildroot
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
--
2.9.4
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 1/7] package/python-traitlets: New package
2017-06-12 23:42 [Buildroot] [PATCH v4 0/7] Update IPython's dependencies Andrey Smirnov
@ 2017-06-12 23:42 ` Andrey Smirnov
2017-06-15 21:12 ` Thomas Petazzoni
2017-06-12 23:42 ` [Buildroot] [PATCH v4 2/7] package/python-scandir: " Andrey Smirnov
` (5 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Andrey Smirnov @ 2017-06-12 23:42 UTC (permalink / raw)
To: buildroot
Add 'traitlets'[1] package to Buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/traitlets
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/DEVELOPERS b/DEVELOPERS
index 7d8b410..39aed97 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -84,6 +84,7 @@ N: Andrey Smirnov <andrew.smirnov@gmail.com>
F: package/python-decorator/
F: package/python-ipython-genutils/
F: package/python-simplegeneric/
+F: package/python-traitlets/
N: Andy Kennedy <andy.kennedy@adtran.com>
F: package/libunwind/
diff --git a/package/Config.in b/package/Config.in
index 02ae1c3..2341950 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-traitlets/Config.in b/package/python-traitlets/Config.in
new file mode 100644
index 0000000..f1804e5
--- /dev/null
+++ b/package/python-traitlets/Config.in
@@ -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
diff --git a/package/python-traitlets/python-traitlets.hash b/package/python-traitlets/python-traitlets.hash
new file mode 100644
index 0000000..23aa159
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.hash
@@ -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
diff --git a/package/python-traitlets/python-traitlets.mk b/package/python-traitlets/python-traitlets.mk
new file mode 100644
index 0000000..c711bde
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.mk
@@ -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))
--
2.9.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 2/7] package/python-scandir: New package
2017-06-12 23:42 [Buildroot] [PATCH v4 0/7] Update IPython's dependencies Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 1/7] package/python-traitlets: New package Andrey Smirnov
@ 2017-06-12 23:42 ` Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 3/7] package/python-pathlib2: " Andrey Smirnov
` (4 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Andrey Smirnov @ 2017-06-12 23:42 UTC (permalink / raw)
To: buildroot
Add 'scandir'[1] package to buildroot. Needed by 'pathlib2'.
[1] https://pypi.python.org/pypi/scandir
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/DEVELOPERS b/DEVELOPERS
index 39aed97..9d0b51d 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -83,6 +83,7 @@ F: package/wine/
N: Andrey Smirnov <andrew.smirnov@gmail.com>
F: package/python-decorator/
F: package/python-ipython-genutils/
+F: package/python-scandir/
F: package/python-simplegeneric/
F: package/python-traitlets/
diff --git a/package/Config.in b/package/Config.in
index 2341950..9bf2e1f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-scandir/Config.in b/package/python-scandir/Config.in
new file mode 100644
index 0000000..497f962
--- /dev/null
+++ b/package/python-scandir/Config.in
@@ -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
diff --git a/package/python-scandir/python-scandir.hash b/package/python-scandir/python-scandir.hash
new file mode 100644
index 0000000..aecd9a5
--- /dev/null
+++ b/package/python-scandir/python-scandir.hash
@@ -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
diff --git a/package/python-scandir/python-scandir.mk b/package/python-scandir/python-scandir.mk
new file mode 100644
index 0000000..2ff8ea2
--- /dev/null
+++ b/package/python-scandir/python-scandir.mk
@@ -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))
--
2.9.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 3/7] package/python-pathlib2: New package
2017-06-12 23:42 [Buildroot] [PATCH v4 0/7] Update IPython's dependencies Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 1/7] package/python-traitlets: New package Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 2/7] package/python-scandir: " Andrey Smirnov
@ 2017-06-12 23:42 ` Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 4/7] package/python-pickleshare: " Andrey Smirnov
` (3 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Andrey Smirnov @ 2017-06-12 23:42 UTC (permalink / raw)
To: buildroot
Add 'pathlib2'[1] package to Buildroot. Needed by 'pickleshare'
package, which is added in the next patch.
[1] https://pypi.python.org/pypi/pathlib2
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/DEVELOPERS b/DEVELOPERS
index 9d0b51d..5545e3f 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -83,6 +83,7 @@ F: package/wine/
N: Andrey Smirnov <andrew.smirnov@gmail.com>
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/
diff --git a/package/Config.in b/package/Config.in
index 9bf2e1f..5b4e5ee 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-pathlib2/Config.in b/package/python-pathlib2/Config.in
new file mode 100644
index 0000000..7297f0a
--- /dev/null
+++ b/package/python-pathlib2/Config.in
@@ -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
diff --git a/package/python-pathlib2/python-pathlib2.hash b/package/python-pathlib2/python-pathlib2.hash
new file mode 100644
index 0000000..a9c2949
--- /dev/null
+++ b/package/python-pathlib2/python-pathlib2.hash
@@ -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
diff --git a/package/python-pathlib2/python-pathlib2.mk b/package/python-pathlib2/python-pathlib2.mk
new file mode 100644
index 0000000..db2df91
--- /dev/null
+++ b/package/python-pathlib2/python-pathlib2.mk
@@ -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))
--
2.9.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 4/7] package/python-pickleshare: New package
2017-06-12 23:42 [Buildroot] [PATCH v4 0/7] Update IPython's dependencies Andrey Smirnov
` (2 preceding siblings ...)
2017-06-12 23:42 ` [Buildroot] [PATCH v4 3/7] package/python-pathlib2: " Andrey Smirnov
@ 2017-06-12 23:42 ` Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 5/7] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
` (2 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Andrey Smirnov @ 2017-06-12 23:42 UTC (permalink / raw)
To: buildroot
Add 'pickleshare'[1] package to buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/pickleshare
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/DEVELOPERS b/DEVELOPERS
index 5545e3f..e66a31f 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -84,6 +84,7 @@ N: Andrey Smirnov <andrew.smirnov@gmail.com>
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/
diff --git a/package/Config.in b/package/Config.in
index 5b4e5ee..3ca3876 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-pickleshare/Config.in b/package/python-pickleshare/Config.in
new file mode 100644
index 0000000..35a2663
--- /dev/null
+++ b/package/python-pickleshare/Config.in
@@ -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
diff --git a/package/python-pickleshare/python-pickleshare.hash b/package/python-pickleshare/python-pickleshare.hash
new file mode 100644
index 0000000..6e3d408
--- /dev/null
+++ b/package/python-pickleshare/python-pickleshare.hash
@@ -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
diff --git a/package/python-pickleshare/python-pickleshare.mk b/package/python-pickleshare/python-pickleshare.mk
new file mode 100644
index 0000000..b2a5e88
--- /dev/null
+++ b/package/python-pickleshare/python-pickleshare.mk
@@ -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))
--
2.9.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 5/7] package/python-backports-shutil-get-terminal-size: New package
2017-06-12 23:42 [Buildroot] [PATCH v4 0/7] Update IPython's dependencies Andrey Smirnov
` (3 preceding siblings ...)
2017-06-12 23:42 ` [Buildroot] [PATCH v4 4/7] package/python-pickleshare: " Andrey Smirnov
@ 2017-06-12 23:42 ` Andrey Smirnov
2017-06-15 21:13 ` Thomas Petazzoni
2017-06-12 23:42 ` [Buildroot] [PATCH v4 6/7] package/python-ipython: Add dependecy list Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 7/7] python-ipython: Bump to version 5.4.0 Andrey Smirnov
6 siblings, 1 reply; 13+ messages in thread
From: Andrey Smirnov @ 2017-06-12 23:42 UTC (permalink / raw)
To: buildroot
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
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/DEVELOPERS b/DEVELOPERS
index e66a31f..6289df6 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -81,6 +81,7 @@ F: package/p7zip/
F: package/wine/
N: Andrey Smirnov <andrew.smirnov@gmail.com>
+F: package/python-backports-shutil-get-terminal-size/
F: package/python-decorator/
F: package/python-ipython-genutils/
F: package/python-pathlib2/
diff --git a/package/Config.in b/package/Config.in
index 3ca3876..0e8e291 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-backports-shutil-get-terminal-size/Config.in b/package/python-backports-shutil-get-terminal-size/Config.in
new file mode 100644
index 0000000..24bf3b7
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/Config.in
@@ -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
diff --git a/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
new file mode 100644
index 0000000..c1b65e5
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
@@ -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
diff --git a/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
new file mode 100644
index 0000000..68ac9a0
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
@@ -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))
--
2.9.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 6/7] package/python-ipython: Add dependecy list
2017-06-12 23:42 [Buildroot] [PATCH v4 0/7] Update IPython's dependencies Andrey Smirnov
` (4 preceding siblings ...)
2017-06-12 23:42 ` [Buildroot] [PATCH v4 5/7] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
@ 2017-06-12 23:42 ` Andrey Smirnov
2017-06-15 21:13 ` Thomas Petazzoni
2017-06-12 23:42 ` [Buildroot] [PATCH v4 7/7] python-ipython: Bump to version 5.4.0 Andrey Smirnov
6 siblings, 1 reply; 13+ messages in thread
From: Andrey Smirnov @ 2017-06-12 23:42 UTC (permalink / raw)
To: buildroot
List minimal set of packages needed to be installed alongside to be able
to run IPython 5.2.2 with Python 2/3.
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/python-ipython/Config.in | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/package/python-ipython/Config.in b/package/python-ipython/Config.in
index b87f2bc..da196be 100644
--- a/package/python-ipython/Config.in
+++ b/package/python-ipython/Config.in
@@ -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
--
2.9.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 7/7] python-ipython: Bump to version 5.4.0
2017-06-12 23:42 [Buildroot] [PATCH v4 0/7] Update IPython's dependencies Andrey Smirnov
` (5 preceding siblings ...)
2017-06-12 23:42 ` [Buildroot] [PATCH v4 6/7] package/python-ipython: Add dependecy list Andrey Smirnov
@ 2017-06-12 23:42 ` Andrey Smirnov
6 siblings, 0 replies; 13+ messages in thread
From: Andrey Smirnov @ 2017-06-12 23:42 UTC (permalink / raw)
To: buildroot
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/python-ipython/python-ipython.hash | 4 ++--
package/python-ipython/python-ipython.mk | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/python-ipython/python-ipython.hash b/package/python-ipython/python-ipython.hash
index a223408..af1ed94 100644
--- a/package/python-ipython/python-ipython.hash
+++ b/package/python-ipython/python-ipython.hash
@@ -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
diff --git a/package/python-ipython/python-ipython.mk b/package/python-ipython/python-ipython.mk
index e57d69d..5d92546 100644
--- a/package/python-ipython/python-ipython.mk
+++ b/package/python-ipython/python-ipython.mk
@@ -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
--
2.9.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 1/7] package/python-traitlets: New package
2017-06-12 23:42 ` [Buildroot] [PATCH v4 1/7] package/python-traitlets: New package Andrey Smirnov
@ 2017-06-15 21:12 ` Thomas Petazzoni
2017-06-15 23:25 ` Andrey Smirnov
0 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2017-06-15 21:12 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 12 Jun 2017 16:42:10 -0700, Andrey Smirnov wrote:
> Add 'traitlets'[1] package to Buildroot. Needed by IPython.
>
> [1] https://pypi.python.org/pypi/traitlets
>
> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
> 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 5/7] package/python-backports-shutil-get-terminal-size: New package
2017-06-12 23:42 ` [Buildroot] [PATCH v4 5/7] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
@ 2017-06-15 21:13 ` Thomas Petazzoni
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2017-06-15 21:13 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 12 Jun 2017 16:42:14 -0700, Andrey Smirnov wrote:
> 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
>
> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
> 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.
> +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.
> + 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 6/7] package/python-ipython: Add dependecy list
2017-06-12 23:42 ` [Buildroot] [PATCH v4 6/7] package/python-ipython: Add dependecy list Andrey Smirnov
@ 2017-06-15 21:13 ` Thomas Petazzoni
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2017-06-15 21:13 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 12 Jun 2017 16:42:15 -0700, Andrey Smirnov wrote:
> 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
Alphabetic sorting is better, so I've fixed this when applying.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 1/7] package/python-traitlets: New package
2017-06-15 21:12 ` Thomas Petazzoni
@ 2017-06-15 23:25 ` Andrey Smirnov
2017-06-16 7:08 ` Thomas Petazzoni
0 siblings, 1 reply; 13+ messages in thread
From: Andrey Smirnov @ 2017-06-15 23:25 UTC (permalink / raw)
To: buildroot
On Thu, Jun 15, 2017 at 2:12 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Mon, 12 Jun 2017 16:42:10 -0700, Andrey Smirnov wrote:
>> Add 'traitlets'[1] package to Buildroot. Needed by IPython.
>>
>> [1] https://pypi.python.org/pypi/traitlets
>>
>> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
>> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
>> ---
>> 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.
Wonderful, thank you!
> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH v4 1/7] package/python-traitlets: New package
2017-06-15 23:25 ` Andrey Smirnov
@ 2017-06-16 7:08 ` Thomas Petazzoni
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2017-06-16 7:08 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 15 Jun 2017 16:25:28 -0700, Andrey Smirnov wrote:
> > 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-06-16 7:08 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12 23:42 [Buildroot] [PATCH v4 0/7] Update IPython's dependencies Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 1/7] package/python-traitlets: New package Andrey Smirnov
2017-06-15 21:12 ` Thomas Petazzoni
2017-06-15 23:25 ` Andrey Smirnov
2017-06-16 7:08 ` Thomas Petazzoni
2017-06-12 23:42 ` [Buildroot] [PATCH v4 2/7] package/python-scandir: " Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 3/7] package/python-pathlib2: " Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 4/7] package/python-pickleshare: " Andrey Smirnov
2017-06-12 23:42 ` [Buildroot] [PATCH v4 5/7] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
2017-06-15 21:13 ` Thomas Petazzoni
2017-06-12 23:42 ` [Buildroot] [PATCH v4 6/7] package/python-ipython: Add dependecy list Andrey Smirnov
2017-06-15 21:13 ` Thomas Petazzoni
2017-06-12 23:42 ` [Buildroot] [PATCH v4 7/7] python-ipython: Bump to version 5.4.0 Andrey Smirnov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox