[oe] [meta-python][PATCH V3] python-unidiff: python module for parsing diff data

daniela.plascencia at linux.intel.com daniela.plascencia at linux.intel.com
Wed Oct 19 09:19:38 UTC 2016


From: Daniela Plascencia <daniela.plascencia at linux.intel.com>

The module takes diff data from commands like diff or git-format-patch,
parses it and creates python objects in the form of patch sets. More
info is given on the recipe metadata.

Signed-off-by: Daniela Plascencia <daniela.plascencia at linux.intel.com>
---
 .../recipes-devtools/python/python-unidiff_0.5.2.bb       | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-unidiff_0.5.2.bb

diff --git a/meta-python/recipes-devtools/python/python-unidiff_0.5.2.bb b/meta-python/recipes-devtools/python/python-unidiff_0.5.2.bb
new file mode 100644
index 0000000..3b018c7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-unidiff_0.5.2.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Unified diff parsing/metadata extraction library"
+HOMEPAGE = "http://github.com/matiasb/python-unidiff"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3"
+
+SRC_URI[md5sum] = "20dd70ba5a35bc95bf869322d6852227"
+SRC_URI[sha256sum] = "344330ec3637e96b44dca77e086b205645b55648cf4d2b80fc673200f8a6a7e9"
+
+inherit  pypi setuptools
+
+U = "${D}${LIBDIR}${PYTHON_SITEPACKAGES_DIR}"
+
+do_install_append (){
+    mv ${U}/tests ${U}/unidiff/
+}
-- 
2.6.6



More information about the Openembedded-devel mailing list