Skip to contentSkip to conversation

python3-decorator: Consolidate in a single file

PATCH New Leon Anavi 1 participant 1 message Jun 4, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/1 python3-decorator: Consolidate in a single file

Consolidate inc and bb files into a single bb file.

---
 .../python/python-decorator.inc               | 19 -----------------
 .../python/python3-decorator_4.4.2.bb         | 21 +++++++++++++++++--
 2 files changed, 19 insertions(+), 21 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-decorator.inc
meta-python/recipes-devtools/python/python-decorator.inc deleted +0 -19
deleted file mode 100644
index 3faee3913..000000000
@@ -1,19 +0,0 @@
-SUMMARY = "Python decorator utilities"
-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."
-
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=be2fd2007972bf96c08af3293d728b22"
-
-SRC_URI[md5sum] = "d83c624cce93e6bdfab144821b526e1d"
-SRC_URI[sha256sum] = "e3a62f0520172440ca0dcc823749319382e377f37f140a0b99ef45fecb84bfe7"
-
-inherit pypi
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-stringold \
-    "
meta-python/recipes-devtools/python/python3-decorator_4.4.2.bb +19 -2
index 844cbdc9a..23d0cf218 100644
@@ -1,2 +1,19 @@
-inherit setuptools3
-require python-decorator.inc
+SUMMARY = "Python decorator utilities"
+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."
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=be2fd2007972bf96c08af3293d728b22"
+
+SRC_URI[md5sum] = "d83c624cce93e6bdfab144821b526e1d"
+SRC_URI[sha256sum] = "e3a62f0520172440ca0dcc823749319382e377f37f140a0b99ef45fecb84bfe7"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-stringold \
+    "
Signature · 1 line
2.17.1