[Buildroot] [git commit] python-wrapt: new package
Peter Korsgaard
peter at korsgaard.com
Tue Oct 30 20:09:57 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=e97a83b726ec397c2e6a8cecfe09f513c925c3a9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
Reviewed-by: Asaf Kahlon <asafka7 at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/Config.in | 1 +
package/python-wrapt/Config.in | 6 ++++++
package/python-wrapt/python-wrapt.hash | 5 +++++
package/python-wrapt/python-wrapt.mk | 14 ++++++++++++++
4 files changed, 26 insertions(+)
diff --git a/package/Config.in b/package/Config.in
index 50005cdb70..94e19e4a19 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1058,6 +1058,7 @@ menu "External python modules"
source "package/python-websockets/Config.in"
source "package/python-werkzeug/Config.in"
source "package/python-whoosh/Config.in"
+ source "package/python-wrapt/Config.in"
source "package/python-ws4py/Config.in"
source "package/python-wsaccel/Config.in"
source "package/python-xlib/Config.in"
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))
More information about the buildroot
mailing list