From: Daniela Plascencia <daniela.plascen...@linux.intel.com> Extend the recipe for Python3 support.
Signed-off-by: Daniela Plascencia <daniela.plascen...@linux.intel.com> --- 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 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 000000000..040255091 --- /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 ceb80bdd3..bdb3d27f9 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 000000000..0ddc7e2f2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-unidiff_0.5.4.bb @@ -0,0 +1,2 @@ +require python-unidiff.inc +inherit setuptools3 -- 2.12.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel