summaryrefslogtreecommitdiffstats
path: root/package/python-wrapt
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2018-10-12 10:06:48 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-10-30 21:09:57 +0100
commite97a83b726ec397c2e6a8cecfe09f513c925c3a9 (patch)
treeab938ed7993f845986fa0564fa7756f9cb8c9021 /package/python-wrapt
parentbc6ecbbeefadb185e9d171562afb9f01e250e132 (diff)
downloadbuildroot-e97a83b726ec397c2e6a8cecfe09f513c925c3a9.tar.gz
buildroot-e97a83b726ec397c2e6a8cecfe09f513c925c3a9.zip
python-wrapt: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Reviewed-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-wrapt')
-rw-r--r--package/python-wrapt/Config.in6
-rw-r--r--package/python-wrapt/python-wrapt.hash5
-rw-r--r--package/python-wrapt/python-wrapt.mk14
3 files changed, 25 insertions, 0 deletions
diff --git a/package/python-wrapt/Config.in b/package/python-wrapt/Config.in
new file mode 100644
index 0000000000..da315c9a77
--- /dev/null
+++ b/package/python-wrapt/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_WRAPT
+ bool "python-wrapt"
+ help
+ Module for decorators, wrappers and monkey patching.
+
+ https://github.com/GrahamDumpleton/wrapt
diff --git a/package/python-wrapt/python-wrapt.hash b/package/python-wrapt/python-wrapt.hash
new file mode 100644
index 0000000000..dbf8932956
--- /dev/null
+++ b/package/python-wrapt/python-wrapt.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/wrapt/json
+md5 e1346f31782d50401f81c2345b037076 wrapt-1.10.11.tar.gz
+sha256 d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6 wrapt-1.10.11.tar.gz
+# Locally computed sha256 checksums
+sha256 b6d2e5d228202a11bc5e5988661fc5d8acc1ba4f27256c37e19029131a30b1f2 LICENSE
diff --git a/package/python-wrapt/python-wrapt.mk b/package/python-wrapt/python-wrapt.mk
new file mode 100644
index 0000000000..dd8b9a58e4
--- /dev/null
+++ b/package/python-wrapt/python-wrapt.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-wrapt
+#
+################################################################################
+
+PYTHON_WRAPT_VERSION = 1.10.11
+PYTHON_WRAPT_SOURCE = wrapt-$(PYTHON_WRAPT_VERSION).tar.gz
+PYTHON_WRAPT_SITE = https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d
+PYTHON_WRAPT_SETUP_TYPE = distutils
+PYTHON_WRAPT_LICENSE = BSD-2-Clause
+PYTHON_WRAPT_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud