[git commit] package/python-traitlets: New package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[git commit] package/python-traitlets: New package

Thomas Petazzoni-2
commit: https://git.buildroot.net/buildroot/commit/?id=9915fb7e8f87399c0c7dcca04a28ca6d293ae965
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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

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

Reviewed-by: Yegor Yefremov <[hidden email]>
Signed-off-by: Andrey Smirnov <[hidden email]>
Signed-off-by: Thomas Petazzoni <[hidden email]>
---
 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(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index 9a11f8b..282952b 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -84,6 +84,7 @@ N: Andrey Smirnov <[hidden email]>
 F: package/python-decorator/
 F: package/python-ipython-genutils/
 F: package/python-simplegeneric/
+F: package/python-traitlets/
 
 N: Andy Kennedy <[hidden email]>
 F: package/libunwind/
diff --git a/package/Config.in b/package/Config.in
index 529bd96..0967de1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -852,6 +852,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))
_______________________________________________
buildroot mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot