From 9915fb7e8f87399c0c7dcca04a28ca6d293ae965 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 12 Jun 2017 16:42:10 -0700 Subject: [PATCH] package/python-traitlets: New package Add 'traitlets'[1] package to Buildroot. Needed by IPython. [1] https://pypi.python.org/pypi/traitlets Reviewed-by: Yegor Yefremov Signed-off-by: Andrey Smirnov Signed-off-by: Thomas Petazzoni --- 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 9a11f8bf83..282952b40e 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -84,6 +84,7 @@ N: Andrey Smirnov F: package/python-decorator/ F: package/python-ipython-genutils/ F: package/python-simplegeneric/ +F: package/python-traitlets/ N: Andy Kennedy F: package/libunwind/ diff --git a/package/Config.in b/package/Config.in index 529bd96101..0967de14f7 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 0000000000..f1804e55be --- /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 0000000000..23aa1591c3 --- /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 0000000000..c711bdef0d --- /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.30.2