package/python-decorator: new package

Add 'decorator'[1] package to Buildroot. Needed by 'traitlets'
package, which is added in the next patch.

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

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
[Thomas: download from PyPi, add hash file, add entry in DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017.05.x
Andrey Smirnov 2017-04-27 14:33:31 -07:00 committed by Thomas Petazzoni
parent ab56ce15c1
commit e816c8243f
5 changed files with 26 additions and 0 deletions

View File

@ -71,6 +71,9 @@ F: package/openal/
F: package/p7zip/
F: package/wine/
N: Andrey Smirnov <andrew.smirnov@gmail.com
F: package/python-decorator/
N: Andrew Ruder <andrew.ruder@elecsyscorp.com>
F: package/expect/

View File

@ -698,6 +698,7 @@ menu "External python modules"
source "package/python-daemon/Config.in"
source "package/python-dataproperty/Config.in"
source "package/python-dateutil/Config.in"
source "package/python-decorator/Config.in"
source "package/python-dialog/Config.in"
source "package/python-dialog3/Config.in"
source "package/python-dicttoxml/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_DECORATOR
bool "python-decorator"
help
Better living through Python with decorators
https://github.com/micheles/decorator

View File

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/decorator/json, sha256 locally calculated
md5 73644c8f0bd4983d1b6a34b49adec0ae decorator-4.0.11.tar.gz
sha256 953d6bf082b100f43229cf547f4f97f97e970f5ad645ee7601d55ff87afdfe76 decorator-4.0.11.tar.gz

View File

@ -0,0 +1,13 @@
################################################################################
#
# python-decorator
#
################################################################################
PYTHON_DECORATOR_VERSION = 4.0.11
PYTHON_DECORATOR_SITE = https://pypi.python.org/packages/cc/ac/5a16f1fc0506ff72fcc8fd4e858e3a1c231f224ab79bb7c4c9b2094cc570
PYTHON_DECORATOR_SOURCE = decorator-$(PYTHON_DECORATOR_VERSION).tar.gz
PYTHON_DECORATOR_LICENSE = BSD-2-Clause
PYTHON_DECORATOR_SETUP_TYPE = setuptools
$(eval $(python-package))