From 1e6c70dd042b72727e974519ff49b68820305718 Mon Sep 17 00:00:00 2001 From: Daniela Plascencia Date: Tue, 18 Jul 2017 03:30:54 -0700 Subject: python-unidiff: adds Python3 support Extend the recipe for Python3 support. Signed-off-by: Daniela Plascencia Signed-off-by: Martin Jansa --- 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 (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-unidiff.inc b/meta-python/recipes-devtools/python/python-unidiff.inc new file mode 100644 index 0000000000..0402550915 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-unidiff.inc @@ -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 diff --git a/meta-python/recipes-devtools/python/python-unidiff_0.5.4.bb b/meta-python/recipes-devtools/python/python-unidiff_0.5.4.bb index ceb80bdd37..bdb3d27f9a 100644 --- a/meta-python/recipes-devtools/python/python-unidiff_0.5.4.bb +++ b/meta-python/recipes-devtools/python/python-unidiff_0.5.4.bb @@ -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 diff --git a/meta-python/recipes-devtools/python/python3-unidiff_0.5.4.bb b/meta-python/recipes-devtools/python/python3-unidiff_0.5.4.bb new file mode 100644 index 0000000000..0ddc7e2f20 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-unidiff_0.5.4.bb @@ -0,0 +1,2 @@ +require python-unidiff.inc +inherit setuptools3 -- cgit 1.2.3-korg