Skip to contentSkip to conversation

python-unidiff: adds Python3 support

PATCH New [email protected] 1 participant 1 message Jul 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-unidiff: adds Python3 support

From: Daniela Plascencia <[email protected]>

Extend the recipe for Python3 support.

---
 meta-python/recipes-devtools/python/python-unidiff.inc       |  9 +++++++++
 meta-python/recipes-devtools/python/python-unidiff_0.5.4.bb  | 11 ++---------
 meta-python/recipes-devtools/python/python3-unidiff_0.5.4.bb |  2 ++
 3 files changed, 13 insertions(+), 9 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-unidiff.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-unidiff_0.5.4.bb
meta-python/recipes-devtools/python/python-unidiff.inc new file +9 -0
new file mode 100644
index 000000000..040255091
@@ -0,0 +1,9 @@
+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] = "c8099edf89d2e3bac16123766625a38b"
+SRC_URI[sha256sum] = "a7baf71846a68c5305a7d6005dfb5eca8798f13861176355a285cbda3206824d"
+
+inherit pypi
meta-python/recipes-devtools/python/python-unidiff_0.5.4.bb +2 -9
index ceb80bdd3..bdb3d27f9 100644
@@ -1,9 +1,2 @@
-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] = "c8099edf89d2e3bac16123766625a38b"
-SRC_URI[sha256sum] = "a7baf71846a68c5305a7d6005dfb5eca8798f13861176355a285cbda3206824d"
-
-inherit  pypi setuptools
+require python-unidiff.inc
+inherit setuptools
meta-python/recipes-devtools/python/python3-unidiff_0.5.4.bb new file +2 -0
new file mode 100644
index 000000000..0ddc7e2f2
@@ -0,0 +1,2 @@
+require python-unidiff.inc
+inherit setuptools3
Signature · 1 line
2.12.3