summaryrefslogtreecommitdiffstats
path: root/package/python-cached-property/python-cached-property.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2018-03-09 20:16:56 +0100
committerPeter Korsgaard <peter@korsgaard.com>2018-03-10 08:36:11 +0100
commitaa2a309b603044db39f7b8e0c54ad5c4159f04c6 (patch)
tree135d76a6821dcdd1e9c5aa53ffc01ad8d6654ba7 /package/python-cached-property/python-cached-property.mk
parent8b46a14d174235b284e2ae72610dcb967e590d12 (diff)
downloadbuildroot-aa2a309b603044db39f7b8e0c54ad5c4159f04c6.tar.gz
buildroot-aa2a309b603044db39f7b8e0c54ad5c4159f04c6.zip
package: add python-cached-property
A decorator for caching properties in classes. [Peter: Correct license as pointed out by Yegor] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-cached-property/python-cached-property.mk')
-rw-r--r--package/python-cached-property/python-cached-property.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/python-cached-property/python-cached-property.mk b/package/python-cached-property/python-cached-property.mk
new file mode 100644
index 0000000000..3e1363853f
--- /dev/null
+++ b/package/python-cached-property/python-cached-property.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-cached-property
+#
+################################################################################
+
+PYTHON_CACHED_PROPERTY_VERSION = 1.4.0
+PYTHON_CACHED_PROPERTY_SOURCE = cached-property-$(PYTHON_CACHED_PROPERTY_VERSION).tar.gz
+PYTHON_CACHED_PROPERTY_SITE = https://pypi.python.org/packages/ce/87/72b7a5a0504ad8d5d5ea6804ac5b24ce4f07869f61c47ea00cd4382320ba
+PYTHON_CACHED_PROPERTY_SETUP_TYPE = setuptools
+PYTHON_CACHED_PROPERTY_LICENSE = BSD-3-Clause
+PYTHON_CACHED_PROPERTY_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud