* [Buildroot] [PATCH 1/2] python-wcwidth: new package
@ 2016-07-12 7:39 yegorslists at googlemail.com
2016-07-12 7:39 ` [Buildroot] [PATCH 2/2] python-prompt-toolkit: " yegorslists at googlemail.com
2016-07-15 12:52 ` [Buildroot] [PATCH 1/2] python-wcwidth: " Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: yegorslists at googlemail.com @ 2016-07-12 7:39 UTC (permalink / raw)
To: buildroot
From: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
package/Config.in | 1 +
package/python-wcwidth/Config.in | 7 +++++++
package/python-wcwidth/python-wcwidth.hash | 3 +++
package/python-wcwidth/python-wcwidth.mk | 14 ++++++++++++++
4 files changed, 25 insertions(+)
create mode 100644 package/python-wcwidth/Config.in
create mode 100644 package/python-wcwidth/python-wcwidth.hash
create mode 100644 package/python-wcwidth/python-wcwidth.mk
diff --git a/package/Config.in b/package/Config.in
index 1910251..07e7887 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -769,6 +769,7 @@ menu "External python modules"
source "package/python-urwid/Config.in"
source "package/python-versiontools/Config.in"
source "package/python-watchdog/Config.in"
+ source "package/python-wcwidth/Config.in"
source "package/python-web2py/Config.in"
source "package/python-webpy/Config.in"
source "package/python-werkzeug/Config.in"
diff --git a/package/python-wcwidth/Config.in b/package/python-wcwidth/Config.in
new file mode 100644
index 0000000..c5cc022
--- /dev/null
+++ b/package/python-wcwidth/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_WCWIDTH
+ bool "python-wcwidth"
+ help
+ This library measures number of Terminal column cells of
+ wide-character codes.
+
+ https://github.com/jquast/wcwidth
diff --git a/package/python-wcwidth/python-wcwidth.hash b/package/python-wcwidth/python-wcwidth.hash
new file mode 100644
index 0000000..a3ab50f
--- /dev/null
+++ b/package/python-wcwidth/python-wcwidth.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/wcwidth/json, sha256 locally computed
+md5 b3b6a0a08f0c8a34d1de8cf44150a4ad wcwidth-0.1.7.tar.gz
+sha256 3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e wcwidth-0.1.7.tar.gz
diff --git a/package/python-wcwidth/python-wcwidth.mk b/package/python-wcwidth/python-wcwidth.mk
new file mode 100644
index 0000000..2dd392a
--- /dev/null
+++ b/package/python-wcwidth/python-wcwidth.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-wcwidth
+#
+################################################################################
+
+PYTHON_WCWIDTH_VERSION = 0.1.7
+PYTHON_WCWIDTH_SOURCE = wcwidth-$(PYTHON_WCWIDTH_VERSION).tar.gz
+PYTHON_WCWIDTH_SITE = https://pypi.python.org/packages/55/11/e4a2bb08bb450fdbd42cc709dd40de4ed2c472cf0ccb9e64af22279c5495
+PYTHON_WCWIDTH_SETUP_TYPE = setuptools
+PYTHON_WCWIDTH_LICENSE = MIT
+PYTHON_WCWIDTH_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))
--
2.8.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] python-prompt-toolkit: new package
2016-07-12 7:39 [Buildroot] [PATCH 1/2] python-wcwidth: new package yegorslists at googlemail.com
@ 2016-07-12 7:39 ` yegorslists at googlemail.com
2016-07-15 12:52 ` [Buildroot] [PATCH 1/2] python-wcwidth: " Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: yegorslists at googlemail.com @ 2016-07-12 7:39 UTC (permalink / raw)
To: buildroot
From: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
package/Config.in | 1 +
package/python-prompt-toolkit/Config.in | 9 +++++++++
package/python-prompt-toolkit/python-prompt-toolkit.hash | 3 +++
package/python-prompt-toolkit/python-prompt-toolkit.mk | 14 ++++++++++++++
4 files changed, 27 insertions(+)
create mode 100644 package/python-prompt-toolkit/Config.in
create mode 100644 package/python-prompt-toolkit/python-prompt-toolkit.hash
create mode 100644 package/python-prompt-toolkit/python-prompt-toolkit.mk
diff --git a/package/Config.in b/package/Config.in
index 07e7887..32c3e1c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -702,6 +702,7 @@ menu "External python modules"
source "package/python-pexpect/Config.in"
source "package/python-pillow/Config.in"
source "package/python-posix-ipc/Config.in"
+ source "package/python-prompt-toolkit/Config.in"
source "package/python-protobuf/Config.in"
source "package/python-psutil/Config.in"
source "package/python-ptyprocess/Config.in"
diff --git a/package/python-prompt-toolkit/Config.in b/package/python-prompt-toolkit/Config.in
new file mode 100644
index 0000000..ccc9ebb
--- /dev/null
+++ b/package/python-prompt-toolkit/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT
+ bool "python-prompt-toolkit"
+ select BR2_PACKAGE_PYTHON_SIX # runtime
+ select BR2_PACKAGE_PYTHON_WCWIDTH # runtime
+ help
+ Library for building powerful interactive command lines in
+ Python.
+
+ https://github.com/jonathanslenders/python-prompt-toolkit
diff --git a/package/python-prompt-toolkit/python-prompt-toolkit.hash b/package/python-prompt-toolkit/python-prompt-toolkit.hash
new file mode 100644
index 0000000..f33e99a
--- /dev/null
+++ b/package/python-prompt-toolkit/python-prompt-toolkit.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/prompt_toolkit/json, sha256 locally computed
+md5 6c4133d099603f496c761491043bf0ef prompt_toolkit-1.0.3.tar.gz
+sha256 805e026f0cbad27467e93f9dd3e3777718d401a62788c1e84ca038e967ad8ba2 prompt_toolkit-1.0.3.tar.gz
diff --git a/package/python-prompt-toolkit/python-prompt-toolkit.mk b/package/python-prompt-toolkit/python-prompt-toolkit.mk
new file mode 100644
index 0000000..634f20e
--- /dev/null
+++ b/package/python-prompt-toolkit/python-prompt-toolkit.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-prompt-toolkit
+#
+################################################################################
+
+PYTHON_PROMPT_TOOLKIT_VERSION = 1.0.3
+PYTHON_PROMPT_TOOLKIT_SOURCE = prompt_toolkit-$(PYTHON_PROMPT_TOOLKIT_VERSION).tar.gz
+PYTHON_PROMPT_TOOLKIT_SITE = https://pypi.python.org/packages/8d/de/412f23919929c01e6b55183e124623f705e4b91796d3d2dce2cb53d595ad
+PYTHON_PROMPT_TOOLKIT_SETUP_TYPE = setuptools
+PYTHON_PROMPT_TOOLKIT_LICENSE = BSD-3c
+PYTHON_PROMPT_TOOLKIT_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.8.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] python-wcwidth: new package
2016-07-12 7:39 [Buildroot] [PATCH 1/2] python-wcwidth: new package yegorslists at googlemail.com
2016-07-12 7:39 ` [Buildroot] [PATCH 2/2] python-prompt-toolkit: " yegorslists at googlemail.com
@ 2016-07-15 12:52 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-07-15 12:52 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 12 Jul 2016 09:39:02 +0200, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> package/Config.in | 1 +
> package/python-wcwidth/Config.in | 7 +++++++
> package/python-wcwidth/python-wcwidth.hash | 3 +++
> package/python-wcwidth/python-wcwidth.mk | 14 ++++++++++++++
> 4 files changed, 25 insertions(+)
> create mode 100644 package/python-wcwidth/Config.in
> create mode 100644 package/python-wcwidth/python-wcwidth.hash
> create mode 100644 package/python-wcwidth/python-wcwidth.mk
Both patches applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-15 12:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-12 7:39 [Buildroot] [PATCH 1/2] python-wcwidth: new package yegorslists at googlemail.com
2016-07-12 7:39 ` [Buildroot] [PATCH 2/2] python-prompt-toolkit: " yegorslists at googlemail.com
2016-07-15 12:52 ` [Buildroot] [PATCH 1/2] python-wcwidth: " Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox