From 5f0185d896e47beb09b6ceedde8820ddd147bd0a Mon Sep 17 00:00:00 2001 From: zangrc Date: Wed, 4 Dec 2019 15:18:51 +0800 Subject: python-pyflakes: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-pyflakes.inc | 14 ++++++++++++++ .../recipes-devtools/python/python-pyflakes_0.7.3.bb | 16 ++-------------- .../recipes-devtools/python/python3-pyflakes_0.7.3.bb | 2 ++ 3 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-pyflakes.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-pyflakes_0.7.3.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-pyflakes.inc b/meta-openstack/recipes-devtools/python/python-pyflakes.inc new file mode 100644 index 0000000..df92d80 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-pyflakes.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "passive checker of Python programs" +HOMEPAGE = "https://github.com/dreamhost/cliff" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.rst;md5=1815018ebbbfc8659a9df33681a0936e" + +SRC_URI[md5sum] = "ec94ac11cb110e6e72cca23c104b66b1" +SRC_URI[sha256sum] = "dbd2c940a1030a4f811afc1a04017a44011c0cb54f8f384b66aa624097d9b5e3" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \ + ${PYTHON_PN}-cmd2 \ + ${PYTHON_PN}-pyparsing" diff --git a/meta-openstack/recipes-devtools/python/python-pyflakes_0.7.3.bb b/meta-openstack/recipes-devtools/python/python-pyflakes_0.7.3.bb index 81bca36..78a2e09 100644 --- a/meta-openstack/recipes-devtools/python/python-pyflakes_0.7.3.bb +++ b/meta-openstack/recipes-devtools/python/python-pyflakes_0.7.3.bb @@ -1,14 +1,2 @@ -DESCRIPTION = "passive checker of Python programs" -HOMEPAGE = "https://github.com/dreamhost/cliff" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;md5=1815018ebbbfc8659a9df33681a0936e" - -SRC_URI[md5sum] = "ec94ac11cb110e6e72cca23c104b66b1" -SRC_URI[sha256sum] = "dbd2c940a1030a4f811afc1a04017a44011c0cb54f8f384b66aa624097d9b5e3" - -inherit setuptools pypi - -RDEPENDS_${PN} += "python-prettytable \ - python-cmd2 \ - python-pyparsing" \ No newline at end of file +require python-pyflakes.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-pyflakes_0.7.3.bb b/meta-openstack/recipes-devtools/python/python3-pyflakes_0.7.3.bb new file mode 100644 index 0000000..cc9e864 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-pyflakes_0.7.3.bb @@ -0,0 +1,2 @@ +require python-pyflakes.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf