summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2017-04-27 14:33:31 -0700
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-04 21:46:40 +0200
commite816c8243fa6d7a72d5a2dbc01464071d8d68c48 (patch)
tree0f30f0d083986c7e96ca74281864ffd7642f0c84
parentab56ce15c1802f41259718e6d36e35790fd8cb0a (diff)
downloadbuildroot-e816c8243fa6d7a72d5a2dbc01464071d8d68c48.tar.gz
buildroot-e816c8243fa6d7a72d5a2dbc01464071d8d68c48.zip
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>
-rw-r--r--DEVELOPERS3
-rw-r--r--package/Config.in1
-rw-r--r--package/python-decorator/Config.in6
-rw-r--r--package/python-decorator/python-decorator.hash3
-rw-r--r--package/python-decorator/python-decorator.mk13
5 files changed, 26 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index 82eb819ebe..a3da397508 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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/
diff --git a/package/Config.in b/package/Config.in
index acaf43ccc6..e38a9345e1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-decorator/Config.in b/package/python-decorator/Config.in
new file mode 100644
index 0000000000..e7ec00cd69
--- /dev/null
+++ b/package/python-decorator/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_DECORATOR
+ bool "python-decorator"
+ help
+ Better living through Python with decorators
+
+ https://github.com/micheles/decorator
diff --git a/package/python-decorator/python-decorator.hash b/package/python-decorator/python-decorator.hash
new file mode 100644
index 0000000000..293f1ca685
--- /dev/null
+++ b/package/python-decorator/python-decorator.hash
@@ -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
diff --git a/package/python-decorator/python-decorator.mk b/package/python-decorator/python-decorator.mk
new file mode 100644
index 0000000000..c0c43f6096
--- /dev/null
+++ b/package/python-decorator/python-decorator.mk
@@ -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))
OpenPOWER on IntegriCloud