From 98126915497501a6e0d12d719f478e56c5b045b6 Mon Sep 17 00:00:00 2001 From: Nathan Hartman Date: Thu, 13 Feb 2020 14:48:15 -0500 Subject: pep8: Add python3 version Signed-off-by: Nathan Hartman Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-pep8.inc | 14 ++++++++++++++ .../recipes-devtools/python/python-pep8_1.6.2.bb | 14 -------------- .../recipes-devtools/python/python3-pep8_1.7.1.bb | 5 +++++ 3 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-pep8.inc delete mode 100644 meta-openstack/recipes-devtools/python/python-pep8_1.6.2.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-pep8_1.7.1.bb diff --git a/meta-openstack/recipes-devtools/python/python-pep8.inc b/meta-openstack/recipes-devtools/python/python-pep8.inc new file mode 100644 index 0000000..959c3d1 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-pep8.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Python style guide checker" +HOMEPAGE = "https://github.com/dreamhost/cliff" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.rst;md5=d8ebbbe831259ce010179d2f310b0f3e" + +SRC_URI[md5sum] = "a03bb494859e87b42601b61b1b043a0c" +SRC_URI[sha256sum] = "603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \ + ${PYTHON_PN}-cmd2 \ + ${PYTHON_PN}-pyparsing" \ No newline at end of file diff --git a/meta-openstack/recipes-devtools/python/python-pep8_1.6.2.bb b/meta-openstack/recipes-devtools/python/python-pep8_1.6.2.bb deleted file mode 100644 index 7a131d7..0000000 --- a/meta-openstack/recipes-devtools/python/python-pep8_1.6.2.bb +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "Python style guide checker" -HOMEPAGE = "https://github.com/dreamhost/cliff" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;md5=b0d37793ab91ca25ad5c200e9ea22331" - -SRC_URI[md5sum] = "a03bb494859e87b42601b61b1b043a0c" -SRC_URI[sha256sum] = "603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8" - -inherit setuptools3 pypi - -RDEPENDS_${PN} += "python-prettytable \ - python-cmd2 \ - python-pyparsing" \ No newline at end of file diff --git a/meta-openstack/recipes-devtools/python/python3-pep8_1.7.1.bb b/meta-openstack/recipes-devtools/python/python3-pep8_1.7.1.bb new file mode 100644 index 0000000..64fd154 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-pep8_1.7.1.bb @@ -0,0 +1,5 @@ +inherit setuptools3 +require python-pep8.inc + +SRC_URI[md5sum] = "603821d06db945c71d811b5a8d78423c" +SRC_URI[sha256sum] = "fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374" \ No newline at end of file -- cgit v1.2.3-54-g00ecf