From 215dfc15581e90794df8a2c4cb498b3af32b843c Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Mon, 29 Jan 2018 08:39:01 -0500 Subject: python-yappi: add a python3 version of the recipe Signed-off-by: Derek Straka Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python-yappi.inc | 16 ++++++++++++++++ .../recipes-devtools/python/python-yappi_0.98.bb | 18 ++---------------- .../recipes-devtools/python/python3-yappi_0.98.bb | 2 ++ 3 files changed, 20 insertions(+), 16 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-yappi.inc create mode 100644 meta-python/recipes-devtools/python/python3-yappi_0.98.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python-yappi.inc b/meta-python/recipes-devtools/python/python-yappi.inc new file mode 100644 index 0000000000..651ce7731b --- /dev/null +++ b/meta-python/recipes-devtools/python/python-yappi.inc @@ -0,0 +1,16 @@ +SUMMARY = "Yet Another Python Profiler" +HOMEPAGE = "http://yappi.googlecode.com/" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=6b131c3041637f6a5175a43112dde05c" + +SRC_URI[md5sum] = "dc56240575c99938a924eaeb7c0d8beb" +SRC_URI[sha256sum] = "5f657129e1b9b952379ffbc009357d0dcdb58c50f3bfe88ffbb992e4b27b263c" + +inherit pypi setuptools + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-threading \ + " diff --git a/meta-python/recipes-devtools/python/python-yappi_0.98.bb b/meta-python/recipes-devtools/python/python-yappi_0.98.bb index 651ce7731b..a3bdde5c2d 100644 --- a/meta-python/recipes-devtools/python/python-yappi_0.98.bb +++ b/meta-python/recipes-devtools/python/python-yappi_0.98.bb @@ -1,16 +1,2 @@ -SUMMARY = "Yet Another Python Profiler" -HOMEPAGE = "http://yappi.googlecode.com/" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=6b131c3041637f6a5175a43112dde05c" - -SRC_URI[md5sum] = "dc56240575c99938a924eaeb7c0d8beb" -SRC_URI[sha256sum] = "5f657129e1b9b952379ffbc009357d0dcdb58c50f3bfe88ffbb992e4b27b263c" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-threading \ - " +require python-yappi.inc +inherit setuptools diff --git a/meta-python/recipes-devtools/python/python3-yappi_0.98.bb b/meta-python/recipes-devtools/python/python3-yappi_0.98.bb new file mode 100644 index 0000000000..07da5b6ebd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yappi_0.98.bb @@ -0,0 +1,2 @@ +require python-yappi.inc +inherit setuptools3 -- cgit 1.2.3-korg