* [Buildroot] [PATCH v2 01/10] package/python-decorator: New package
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
2017-05-04 19:49 ` Thomas Petazzoni
2017-04-27 21:33 ` [Buildroot] [PATCH v2 02/10] package/python-traitlets: " Andrey Smirnov
` (8 subsequent siblings)
9 siblings, 1 reply; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
Add 'decorator'[1] package to Buildroot. Needed by 'traitlets'
package, which is added in the next patch.
[1] https://pypi.python.org/pypi/decorator
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index 25405c1..eb6d197 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-decorator/Config.in b/package/python-decorator/Config.in
new file mode 100644
index 0000000..e7ec00c
--- /dev/null
+++ b/package/python-decorator/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_DECORATOR
+ bool "python-decorator"
+ help
+ Better living through Python with decorators
+
+ https://github.com/micheles/decorator
diff --git a/package/python-decorator/python-decorator.mk b/package/python-decorator/python-decorator.mk
new file mode 100644
index 0000000..fac03a3
--- /dev/null
+++ b/package/python-decorator/python-decorator.mk
@@ -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))
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v2 01/10] package/python-decorator: New package
2017-04-27 21:33 ` [Buildroot] [PATCH v2 01/10] package/python-decorator: New package Andrey Smirnov
@ 2017-05-04 19:49 ` Thomas Petazzoni
0 siblings, 0 replies; 17+ messages in thread
From: Thomas Petazzoni @ 2017-05-04 19:49 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 27 Apr 2017 14:33:31 -0700, Andrey Smirnov wrote:
> 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.
> diff --git a/package/python-decorator/python-decorator.mk b/package/python-decorator/python-decorator.mk
> new file mode 100644
> index 0000000..fac03a3
> --- /dev/null
> +++ b/package/python-decorator/python-decorator.mk
> @@ -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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v2 02/10] package/python-traitlets: New package
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
2017-04-27 21:33 ` [Buildroot] [PATCH v2 01/10] package/python-decorator: New package Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
2017-05-04 19:57 ` Thomas Petazzoni
2017-04-27 21:33 ` [Buildroot] [PATCH v2 03/10] package/python-simplegeneric: " Andrey Smirnov
` (7 subsequent siblings)
9 siblings, 1 reply; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
Add 'traitlets'[1] package to Buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/traitlets
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index eb6d197..47f43eb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-traitlets/Config.in b/package/python-traitlets/Config.in
new file mode 100644
index 0000000..ea21c1b
--- /dev/null
+++ b/package/python-traitlets/Config.in
@@ -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
diff --git a/package/python-traitlets/python-traitlets.hash b/package/python-traitlets/python-traitlets.hash
new file mode 100644
index 0000000..3b14991
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 370f938ad730d52272ef74f96f831cb21138f6168e46fe582fe256c35cc656ce python-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..45f393d
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.mk
@@ -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))
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v2 02/10] package/python-traitlets: New package
2017-04-27 21:33 ` [Buildroot] [PATCH v2 02/10] package/python-traitlets: " Andrey Smirnov
@ 2017-05-04 19:57 ` Thomas Petazzoni
0 siblings, 0 replies; 17+ messages in thread
From: Thomas Petazzoni @ 2017-05-04 19:57 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 27 Apr 2017 14:33:32 -0700, Andrey Smirnov wrote:
> +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.
> diff --git a/package/python-traitlets/python-traitlets.hash b/package/python-traitlets/python-traitlets.hash
> new file mode 100644
> index 0000000..3b14991
> --- /dev/null
> +++ b/package/python-traitlets/python-traitlets.hash
> @@ -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.
> diff --git a/package/python-traitlets/python-traitlets.mk b/package/python-traitlets/python-traitlets.mk
> new file mode 100644
> index 0000000..45f393d
> --- /dev/null
> +++ b/package/python-traitlets/python-traitlets.mk
> @@ -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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v2 03/10] package/python-simplegeneric: New package
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
2017-04-27 21:33 ` [Buildroot] [PATCH v2 01/10] package/python-decorator: New package Andrey Smirnov
2017-04-27 21:33 ` [Buildroot] [PATCH v2 02/10] package/python-traitlets: " Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
2017-05-04 20:11 ` Thomas Petazzoni
2017-04-27 21:33 ` [Buildroot] [PATCH v2 04/10] package/python-ipython-genutils: " Andrey Smirnov
` (6 subsequent siblings)
9 siblings, 1 reply; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
Add 'simplegeneric'[1] package to Buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/simplegeneric
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index 47f43eb..1a0702d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-simplegeneric/Config.in b/package/python-simplegeneric/Config.in
new file mode 100644
index 0000000..b5ebfec
--- /dev/null
+++ b/package/python-simplegeneric/Config.in
@@ -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
diff --git a/package/python-simplegeneric/python-simplegeneric.hash b/package/python-simplegeneric/python-simplegeneric.hash
new file mode 100644
index 0000000..24f652c
--- /dev/null
+++ b/package/python-simplegeneric/python-simplegeneric.hash
@@ -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
diff --git a/package/python-simplegeneric/python-simplegeneric.mk b/package/python-simplegeneric/python-simplegeneric.mk
new file mode 100644
index 0000000..a741a21
--- /dev/null
+++ b/package/python-simplegeneric/python-simplegeneric.mk
@@ -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))
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v2 04/10] package/python-ipython-genutils: New package
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
` (2 preceding siblings ...)
2017-04-27 21:33 ` [Buildroot] [PATCH v2 03/10] package/python-simplegeneric: " Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
2017-04-27 21:33 ` [Buildroot] [PATCH v2 05/10] package/python-scandir: " Andrey Smirnov
` (5 subsequent siblings)
9 siblings, 0 replies; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
Add 'ipython_genutils'[1] package to Buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/ipython_genutils
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index 1a0702d..143bccc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-ipython-genutils/Config.in b/package/python-ipython-genutils/Config.in
new file mode 100644
index 0000000..d49442e
--- /dev/null
+++ b/package/python-ipython-genutils/Config.in
@@ -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
diff --git a/package/python-ipython-genutils/python-ipython-genutils.hash b/package/python-ipython-genutils/python-ipython-genutils.hash
new file mode 100644
index 0000000..76a74c9
--- /dev/null
+++ b/package/python-ipython-genutils/python-ipython-genutils.hash
@@ -0,0 +1,3 @@
+# sha256 locally computed.
+
+sha256 424a6ecb33b8c9a8320f8601c533067ed75b491e4bc31621d6278f288497cb1a ipython_genutils-0.2.0.tar.gz
diff --git a/package/python-ipython-genutils/python-ipython-genutils.mk b/package/python-ipython-genutils/python-ipython-genutils.mk
new file mode 100644
index 0000000..e888300
--- /dev/null
+++ b/package/python-ipython-genutils/python-ipython-genutils.mk
@@ -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))
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v2 05/10] package/python-scandir: New package
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
` (3 preceding siblings ...)
2017-04-27 21:33 ` [Buildroot] [PATCH v2 04/10] package/python-ipython-genutils: " Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
2017-05-04 20:18 ` Thomas Petazzoni
2017-04-27 21:33 ` [Buildroot] [PATCH v2 06/10] package/python-pathlib2: " Andrey Smirnov
` (4 subsequent siblings)
9 siblings, 1 reply; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
Add 'scandir'[1] package to buildroot. Needed by 'pathlib2'.
[1] https://pypi.python.org/pypi/scandir
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index 143bccc..c64105e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-scandir/Config.in b/package/python-scandir/Config.in
new file mode 100644
index 0000000..5e8ca0d
--- /dev/null
+++ b/package/python-scandir/Config.in
@@ -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
diff --git a/package/python-scandir/python-scandir.hash b/package/python-scandir/python-scandir.hash
new file mode 100644
index 0000000..a7ee337
--- /dev/null
+++ b/package/python-scandir/python-scandir.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+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..cf921ae
--- /dev/null
+++ b/package/python-scandir/python-scandir.mk
@@ -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))
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v2 05/10] package/python-scandir: New package
2017-04-27 21:33 ` [Buildroot] [PATCH v2 05/10] package/python-scandir: " Andrey Smirnov
@ 2017-05-04 20:18 ` Thomas Petazzoni
2017-05-04 20:27 ` Andrey Smirnov
0 siblings, 1 reply; 17+ messages in thread
From: Thomas Petazzoni @ 2017-05-04 20:18 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 27 Apr 2017 14:33:35 -0700, Andrey Smirnov wrote:
> +config BR2_PACKAGE_PYTHON_SCANDIR
> + bool "python-scandir"
> + help
> + A configuration system for Python applications.
This description is bogus.
> + 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v2 05/10] package/python-scandir: New package
2017-05-04 20:18 ` Thomas Petazzoni
@ 2017-05-04 20:27 ` Andrey Smirnov
0 siblings, 0 replies; 17+ messages in thread
From: Andrey Smirnov @ 2017-05-04 20:27 UTC (permalink / raw)
To: buildroot
On Thu, May 4, 2017 at 1:18 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Thu, 27 Apr 2017 14:33:35 -0700, Andrey Smirnov wrote:
>
>> +config BR2_PACKAGE_PYTHON_SCANDIR
>> + bool "python-scandir"
>> + help
>> + A configuration system for Python applications.
>
> This description is bogus.
>
>> + 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.
>
> Please verify the dependencies and licenses as well.
Will do.
Thanks,
Andrey Smirnov
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v2 06/10] package/python-pathlib2: New package
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
` (4 preceding siblings ...)
2017-04-27 21:33 ` [Buildroot] [PATCH v2 05/10] package/python-scandir: " Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
2017-04-27 21:33 ` [Buildroot] [PATCH v2 07/10] package/python-pickleshare: " Andrey Smirnov
` (3 subsequent siblings)
9 siblings, 0 replies; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 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
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index c64105e..d8880df 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-pathlib2/Config.in b/package/python-pathlib2/Config.in
new file mode 100644
index 0000000..71cd27e
--- /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
+ 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
diff --git a/package/python-pathlib2/python-pathlib2.hash b/package/python-pathlib2/python-pathlib2.hash
new file mode 100644
index 0000000..e09496a
--- /dev/null
+++ b/package/python-pathlib2/python-pathlib2.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+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..d3b0d68
--- /dev/null
+++ b/package/python-pathlib2/python-pathlib2.mk
@@ -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))
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v2 07/10] package/python-pickleshare: New package
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
` (5 preceding siblings ...)
2017-04-27 21:33 ` [Buildroot] [PATCH v2 06/10] package/python-pathlib2: " Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
2017-04-27 21:33 ` [Buildroot] [PATCH v2 08/10] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
` (2 subsequent siblings)
9 siblings, 0 replies; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
Add 'pickleshare'[1] package to buildroot. Needed by 'IPython'.
[1] https://pypi.python.org/pypi/pickleshare
Add pickleshare to satisfy IPython's dependency.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index d8880df..a749b78 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-pickleshare/Config.in b/package/python-pickleshare/Config.in
new file mode 100644
index 0000000..a453769
--- /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
+ help
+ A configuration system for Python applications.
+
+ 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..f9f9beb
--- /dev/null
+++ b/package/python-pickleshare/python-pickleshare.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 a9ccf2c87c2224f26dd5b7dfd135f2472e374ae972f8d510b1b940861beb1eb4 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..fa62c62
--- /dev/null
+++ b/package/python-pickleshare/python-pickleshare.mk
@@ -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))
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v2 08/10] package/python-backports-shutil-get-terminal-size: New package
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
` (6 preceding siblings ...)
2017-04-27 21:33 ` [Buildroot] [PATCH v2 07/10] package/python-pickleshare: " Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
2017-04-27 21:33 ` [Buildroot] [PATCH v2 09/10] package/python-ipython: Reformat help text to avoid warnings Andrey Smirnov
2017-04-27 21:33 ` [Buildroot] [PATCH v2 10/10] package/python-ipython: Add dependecy list Andrey Smirnov
9 siblings, 0 replies; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
Add 'scandir'[1] package to buildroot. Needed by 'IPython', when
building against Python2.
[1] https://pypi.python.org/pypi/backports.shutil_get_terminal_size
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index a749b78..87240ef 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
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..0df0cf7
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+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..63cf363
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
@@ -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))
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v2 09/10] package/python-ipython: Reformat help text to avoid warnings
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
` (7 preceding siblings ...)
2017-04-27 21:33 ` [Buildroot] [PATCH v2 08/10] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
2017-05-04 20:19 ` Thomas Petazzoni
2017-04-27 21:33 ` [Buildroot] [PATCH v2 10/10] package/python-ipython: Add dependecy list Andrey Smirnov
9 siblings, 1 reply; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
Reformat help text in Config.in to avoid warnings from
check-package. No content change intended.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/python-ipython/Config.in | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/package/python-ipython/Config.in b/package/python-ipython/Config.in
index 1d92873..b87f2bc 100644
--- a/package/python-ipython/Config.in
+++ b/package/python-ipython/Config.in
@@ -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/
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v2 09/10] package/python-ipython: Reformat help text to avoid warnings
2017-04-27 21:33 ` [Buildroot] [PATCH v2 09/10] package/python-ipython: Reformat help text to avoid warnings Andrey Smirnov
@ 2017-05-04 20:19 ` Thomas Petazzoni
0 siblings, 0 replies; 17+ messages in thread
From: Thomas Petazzoni @ 2017-05-04 20:19 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 27 Apr 2017 14:33:39 -0700, Andrey Smirnov wrote:
> Reformat help text in Config.in to avoid warnings from
> check-package. No content change intended.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
> package/python-ipython/Config.in | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v2 10/10] package/python-ipython: Add dependecy list
2017-04-27 21:33 [Buildroot] [PATCH v2 00/10] Update IPython's dependencies Andrey Smirnov
` (8 preceding siblings ...)
2017-04-27 21:33 ` [Buildroot] [PATCH v2 09/10] package/python-ipython: Reformat help text to avoid warnings Andrey Smirnov
@ 2017-04-27 21:33 ` Andrey Smirnov
9 siblings, 0 replies; 17+ messages in thread
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
List minimal set of packages needed to be installed alongside to be able
to run IPython with Python 2/3.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/python-ipython/Config.in | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/python-ipython/Config.in b/package/python-ipython/Config.in
index b87f2bc..eda8227 100644
--- a/package/python-ipython/Config.in
+++ b/package/python-ipython/Config.in
@@ -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
--
2.9.3
^ permalink raw reply related [flat|nested] 17+ messages in thread