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 <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017.08.x
Andrey Smirnov 2017-06-12 16:42:10 -07:00 committed by Thomas Petazzoni
parent 6b683515bc
commit 9915fb7e8f
5 changed files with 29 additions and 0 deletions

View File

@ -84,6 +84,7 @@ N: Andrey Smirnov <andrew.smirnov@gmail.com>
F: package/python-decorator/
F: package/python-ipython-genutils/
F: package/python-simplegeneric/
F: package/python-traitlets/
N: Andy Kennedy <andy.kennedy@adtran.com>
F: package/libunwind/

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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))