Patchwork [meta-python] python-decorator: add recipe

login
register
mail settings
Submitter rongqing.li@windriver.com
Date July 30, 2014, 6:11 a.m.
Message ID <1406700678-5877-1-git-send-email-rongqing.li@windriver.com>
Download mbox | patch
Permalink /patch/76901/
State Accepted, archived
Headers show

Comments

rongqing.li@windriver.com - July 30, 2014, 6:11 a.m.
From: Roy Li <rongqing.li@windriver.com>

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 .../python/python-decorator_3.4.0.bb               |   22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-python/python/python-decorator_3.4.0.bb

Patch

diff --git a/meta-python/recipes-python/python/python-decorator_3.4.0.bb b/meta-python/recipes-python/python/python-decorator_3.4.0.bb
new file mode 100644
index 0000000..4316630
--- /dev/null
+++ b/meta-python/recipes-python/python/python-decorator_3.4.0.bb
@@ -0,0 +1,22 @@ 
+SUMMARY = "Python decorator utilities"
+HOMEPAGE = "http://pypi.python.org/pypi/decorator/"
+DESCRIPTION = "\
+The aim of the decorator module it to simplify the usage of decorators \
+for the average programmer, and to popularize decorators by showing \
+various non-trivial examples. Of course, as all techniques, decorators \
+can be abused and you should not try to solve every problem with a \
+decorator, just because you can."
+
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://documentation3.py;beginline=848;endline=877;md5=0b56661417fb7b841afc8892e14ba241"
+
+SRCNAME = "decorator"
+
+SRC_URI = "https://pypi.python.org/packages/source/d/decorator/decorator-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+SRC_URI[md5sum] = "1e8756f719d746e2fc0dd28b41251356"
+SRC_URI[sha256sum] = "c20b404cbb7ee5cebd506688e0114e3cd76f5ce233805a51f36e1a7988d9d783"