buildtools-tarball: add python3-testtools and python3-subunit
cover buildtools-tarball: add python3-testtools and python3-subunit
The following changes since commit 364449251ffe4ff2c11acaa258edcec244c38818:
classes/package: fix variable name in comment (2018-07-26 16:55:21 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/bt
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/bt
Robert Yang (5):
python3-extras: add it for python3-testtools
python3-pbr: add it for python3-testtools
python3-testtools: add it for oeqa
python3-subunit: add it for oeqa
buildtools-tarball: add python3-testtools and python3-subunit
meta/recipes-core/meta/buildtools-tarball.bb | 2 ++ meta/recipes-devtools/python/python-extras.inc | 12 ++++++++++ meta/recipes-devtools/python/python-pbr.inc | 14 +++++++++++ meta/recipes-devtools/python/python-subunit.inc | 14 +++++++++++ meta/recipes-devtools/python/python-testtools.inc | 27 ++++++++++++++++++++++ .../python/python3-extras_1.0.0.bb | 2 ++ meta/recipes-devtools/python/python3-pbr_3.1.1.bb | 2 ++ .../python/python3-subunit_1.1.0.bb | 2 ++ .../python/python3-testtools_2.2.0.bb | 2 ++ 9 files changed, 77 insertions(+) create mode 100644 meta/recipes-devtools/python/python-extras.inc create mode 100644 meta/recipes-devtools/python/python-pbr.inc create mode 100644 meta/recipes-devtools/python/python-subunit.inc create mode 100644 meta/recipes-devtools/python/python-testtools.inc create mode 100644 meta/recipes-devtools/python/python3-extras_1.0.0.bb create mode 100644 meta/recipes-devtools/python/python3-pbr_3.1.1.bb create mode 100644 meta/recipes-devtools/python/python3-subunit_1.1.0.bb create mode 100644 meta/recipes-devtools/python/python3-testtools_2.2.0.bb
Signature · 1 line
2.7.4
PATCH 1/5 python3-extras: add it for python3-testtools
- The python3-testtools RDEPENDS on it.
- The original one is python-extras_1.0.0.bb which is from meta-openstack layer, I divided it into python-extras.inc and python3-extras_1.0.0.bb, and extended to nativesdk.
--- meta/recipes-devtools/python/python-extras.inc | 12 ++++++++++++ meta/recipes-devtools/python/python3-extras_1.0.0.bb | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 meta/recipes-devtools/python/python-extras.inc create mode 100644 meta/recipes-devtools/python/python3-extras_1.0.0.bb
meta/recipes-devtools/python/python-extras.inc new file +12 -0
@@ -0,0 +1,12 @@ +DESCRIPTION = "Useful extra bits for Python - things that should be in the standard library" +HOMEPAGE = "https://pypi.python.org/pypi/extras/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6d108f338b2f68fe48ac366c4650bd8b" + +inherit pypi + +SRC_URI[md5sum] = "3a63ad60cf8f0186c9e3a02f55ec5b14" +SRC_URI[sha256sum] = "132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e" + +BBCLASSEXTEND = "nativesdk"
meta/recipes-devtools/python/python3-extras_1.0.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-extras.inc
Signature · 1 line
2.7.4
PATCH 2/5 python3-pbr: add it for python3-testtools
In reply to Robert Yang- The python3-testtools RDEPENDS on it.
- It is from meta-python, I extended it to nativesdk.
--- meta/recipes-devtools/python/python-pbr.inc | 14 ++++++++++++++ meta/recipes-devtools/python/python3-pbr_3.1.1.bb | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 meta/recipes-devtools/python/python-pbr.inc create mode 100644 meta/recipes-devtools/python/python3-pbr_3.1.1.bb
meta/recipes-devtools/python/python-pbr.inc new file +14 -0
@@ -0,0 +1,14 @@ +DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some useful and sensible default behaviors into your setuptools run" +HOMEPAGE = "https://pypi.python.org/pypi/pbr" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +SRC_URI[md5sum] = "4e82c2e07af544c56a5b71c801525b00" +SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-pip" + +BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python3-pbr_3.1.1.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pbr.inc
Signature · 1 line
2.7.4
Re: [PATCH 2/5] python3-pbr: add it for python3-testtools
please remove it from meta-python once its in core
Quoted 48 lines · Robert Yang
- The python3-testtools RDEPENDS on it.
- It is from meta-python, I extended it to nativesdk.Signed-off-by Robert Yang <[email protected]>--- meta/recipes-devtools/python/python-pbr.inc | 14 ++++++++++++++ meta/recipes-devtools/python/python3-pbr_3.1.1.bb | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 meta/recipes-devtools/python/python-pbr.inc create mode 100644 meta/recipes-devtools/python/python3-pbr_3.1.1.bbmeta/recipes-devtools/python/python-pbr.inc new file +14
-0@@ -0,0 +1,14 @@ +DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some useful and sensible default behaviors into your setuptools run" +HOMEPAGE = "https://pypi.python.org/pypi/pbr" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +SRC_URI[md5sum] = "4e82c2e07af544c56a5b71c801525b00" +SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-pip" + +BBCLASSEXTEND = "native nativesdk"meta/recipes-devtools/python/python3-pbr_3.1.1.bb new file +2
-1@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pbr.inc --2.7.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 2/5] python3-pbr: add it for python3-testtools
Quoted 1 line · Khem Raj
please remove it from meta-python once its in core
Yes, I will, and also remove others from meta-openstack.
// Robert
Quoted 50 lines · Robert Yang
Quoted 48 lines
- The python3-testtools RDEPENDS on it.
- It is from meta-python, I extended it to nativesdk.Signed-off-by Robert Yang <[email protected]>--- meta/recipes-devtools/python/python-pbr.inc | 14 ++++++++++++++ meta/recipes-devtools/python/python3-pbr_3.1.1.bb | 2 ++ 2 files changed, 16 insertions(+)create mode 100644 meta/recipes-devtools/python/python-pbr.inc create mode 100644 meta/recipes-devtools/python/python3-pbr_3.1.1.bb
meta/recipes-devtools/python/python-pbr.inc new file +14
-0@@ -0,0 +1,14 @@ +DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some useful and sensible default behaviors into your setuptools run" +HOMEPAGE = "https://pypi.python.org/pypi/pbr" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +SRC_URI[md5sum] = "4e82c2e07af544c56a5b71c801525b00" +SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-pip" + +BBCLASSEXTEND = "native nativesdk"meta/recipes-devtools/python/python3-pbr_3.1.1.bb new file +2
-1@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pbr.inc --2.7.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
PATCH 3/5 python3-testtools: add it for oeqa
In reply to Robert Yang- It is required by oeqa, add it so that we can add nativesdk-python3-testtools to buildtools-tarball.
- The original one is python-testtools_2.3.0.bb which is from meta-openstack layer, I divided it into python-testtools.inc and python3-testtools_2.2.0.bb, and extended to nativesdk.
--- meta/recipes-devtools/python/python-testtools.inc | 27 ++++++++++++++++++++++ .../python/python3-testtools_2.2.0.bb | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 meta/recipes-devtools/python/python-testtools.inc create mode 100644 meta/recipes-devtools/python/python3-testtools_2.2.0.bb
meta/recipes-devtools/python/python-testtools.inc new file +27 -0
@@ -0,0 +1,27 @@ +DESCRIPTION = "Extensions to the Python standard library unit testing framework" +HOMEPAGE = "https://pypi.python.org/pypi/testtools/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a" + +inherit pypi + +SRC_URI[md5sum] = "adef817b07ba24fd6d807fd41a4f1ef4" +SRC_URI[sha256sum] = "80f606607a6e4ce4d0e24e5b786562aa42c581906f3c070607a4265f3da65810" + +DEPENDS += " \ + ${PYTHON_PN}-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + ${PYTHON_PN}-pbr-native \ + " + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-extras \ + ${PYTHON_PN}-pbr \ + ${PYTHON_PN}-six \ + " + +BBCLASSEXTEND = "nativesdk"
meta/recipes-devtools/python/python3-testtools_2.2.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-testtools.inc
Signature · 1 line
2.7.4
PATCH 4/5 python3-subunit: add it for oeqa
In reply to Robert Yang- It is required by oeqa, add it so that we can add nativesdk-python3-subunit to buildtools-tarball.
- The original one is python-subunit_1.1.0.bb which is from meta-openstack layer, I divided it into python-subunit.inc and python3-subunit_1.1.0.bb and extended to nativesdk.
--- meta/recipes-devtools/python/python-subunit.inc | 14 ++++++++++++++ meta/recipes-devtools/python/python3-subunit_1.1.0.bb | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 meta/recipes-devtools/python/python-subunit.inc create mode 100644 meta/recipes-devtools/python/python3-subunit_1.1.0.bb
meta/recipes-devtools/python/python-subunit.inc new file +14 -0
@@ -0,0 +1,14 @@ +DESCRIPTION = "Python implementation of subunit test streaming protocol" +HOMEPAGE = "https://pypi.python.org/pypi/python-subunit/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README;md5=e5b524e1b2c67c88fc64439ee4a850aa" + +PYPI_PACKAGE = "python-subunit" + +SRC_URI[md5sum] = "d2c09c93346077ced675c9f718e6a0f1" +SRC_URI[sha256sum] = "d9a7606e9610828d68c1d2f0f5abbb421e34e518b8f4882c8b2e08176281bf88" + +inherit pypi + +BBCLASSEXTEND = "nativesdk"
meta/recipes-devtools/python/python3-subunit_1.1.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-subunit.inc
Signature · 1 line
2.7.4
PATCH 5/5 buildtools-tarball: add python3-testtools and python3-subunit
In reply to Robert YangThey are required by oeqa.
--- meta/recipes-core/meta/buildtools-tarball.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/meta/buildtools-tarball.bb +2 -0
@@ -10,6 +10,8 @@ TOOLCHAIN_HOST_TASK ?= "\ nativesdk-python3-modules \ nativesdk-python3-misc \ nativesdk-python3-git \ + nativesdk-python3-testtools \ + nativesdk-python3-subunit \ nativesdk-ncurses-terminfo-base \ nativesdk-chrpath \ nativesdk-tar \
Signature · 1 line
2.7.4
✗ patchtest: failure for buildtools-tarball: add python3-testtools and python3-subunit
In reply to Robert Yang== Series Details ==
Series: buildtools-tarball: add python3-testtools and python3-subunit
Revision: 1
URL : https://patchwork.openembedded.org/series/13245/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Issue SUMMARY is missing in newly added recipe [test_summary_presence]
Suggested fix Specify the variable SUMMARY in python3-extras
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
Re: ✗ patchtest: failure for buildtools-tarball: add python3-testtools and python3-subunit
Quoted 10 lines · Patchwork
== Series Details ==
Series: buildtools-tarball: add python3-testtools and python3-subunit
Revision: 1
URL : https://patchwork.openembedded.org/series/13245/
State : failure== Summary ==
Quoted 8 lines
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Issue SUMMARY is missing in newly added recipe [
test_summary_presence]
Suggested fix Specify the variable SUMMARY in python3-extras
I added SUMMARY for all of them, and pushed to repo.
// Robert
Quoted 16 lines
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe