Skip to contentSkip to conversation

python-unidiff: python module for parsing diff data

PATCH New [email protected] 1 participant 1 message Oct 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 python-unidiff: python module for parsing diff data

From: Daniela Plascencia <[email protected]>

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.

---
 .../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
meta-python/recipes-devtools/python/python-unidiff_0.5.2.bb new file +15 -0
new file mode 100644
index 0000000..3b018c7
@@ -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/
+}
Signature · 1 line
2.6.6