summaryrefslogtreecommitdiffstats
path: root/package/python-wcwidth
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-07-12 09:39:02 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-15 14:40:30 +0200
commit0b3b5ef28bb82a83e93cddcdfde23c0e8521b9b3 (patch)
tree809dec18dd3cb233021eb08e6da4a95ab82c55ea /package/python-wcwidth
parent678102e4f46a149e668aac0167534f53b1cd8643 (diff)
downloadbuildroot-0b3b5ef28bb82a83e93cddcdfde23c0e8521b9b3.tar.gz
buildroot-0b3b5ef28bb82a83e93cddcdfde23c0e8521b9b3.zip
python-wcwidth: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-wcwidth')
-rw-r--r--package/python-wcwidth/Config.in7
-rw-r--r--package/python-wcwidth/python-wcwidth.hash3
-rw-r--r--package/python-wcwidth/python-wcwidth.mk14
3 files changed, 24 insertions, 0 deletions
diff --git a/package/python-wcwidth/Config.in b/package/python-wcwidth/Config.in
new file mode 100644
index 0000000000..c5cc02234b
--- /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 0000000000..a3ab50faed
--- /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 0000000000..2dd392a595
--- /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))
OpenPOWER on IntegriCloud