* [PATCH 1/5] python3-extras: add it for python3-testtools
2018-07-27 9:01 [PATCH 0/5] buildtools-tarball: add python3-testtools and python3-subunit Robert Yang
@ 2018-07-27 9:01 ` Robert Yang
2018-07-27 9:01 ` [PATCH 2/5] python3-pbr: " Robert Yang
` (4 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2018-07-27 9:01 UTC (permalink / raw)
To: openembedded-core
- 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.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
| 12 ++++++++++++
| 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
--git a/meta/recipes-devtools/python/python-extras.inc b/meta/recipes-devtools/python/python-extras.inc
new file mode 100644
index 0000000..8660997
--- /dev/null
+++ b/meta/recipes-devtools/python/python-extras.inc
@@ -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"
--git a/meta/recipes-devtools/python/python3-extras_1.0.0.bb b/meta/recipes-devtools/python/python3-extras_1.0.0.bb
new file mode 100644
index 0000000..76f87f2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-extras_1.0.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-extras.inc
--
2.7.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/5] python3-pbr: add it for python3-testtools
2018-07-27 9:01 [PATCH 0/5] buildtools-tarball: add python3-testtools and python3-subunit Robert Yang
2018-07-27 9:01 ` [PATCH 1/5] python3-extras: add it for python3-testtools Robert Yang
@ 2018-07-27 9:01 ` Robert Yang
2018-07-27 8:57 ` Khem Raj
2018-07-27 9:01 ` [PATCH 3/5] python3-testtools: add it for oeqa Robert Yang
` (3 subsequent siblings)
5 siblings, 1 reply; 10+ messages in thread
From: Robert Yang @ 2018-07-27 9:01 UTC (permalink / raw)
To: openembedded-core
- The python3-testtools RDEPENDS on it.
- It is from meta-python, I extended it to nativesdk.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
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
diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc
new file mode 100644
index 0000000..74f67fb
--- /dev/null
+++ b/meta/recipes-devtools/python/python-pbr.inc
@@ -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"
diff --git a/meta/recipes-devtools/python/python3-pbr_3.1.1.bb b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb
new file mode 100644
index 0000000..97e7361
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pbr.inc
--
2.7.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 2/5] python3-pbr: add it for python3-testtools
2018-07-27 9:01 ` [PATCH 2/5] python3-pbr: " Robert Yang
@ 2018-07-27 8:57 ` Khem Raj
2018-07-27 8:58 ` Robert Yang
0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2018-07-27 8:57 UTC (permalink / raw)
To: Robert Yang; +Cc: Patches and discussions about the oe-core layer
please remove it from meta-python once its in core
On Fri, Jul 27, 2018 at 1:51 AM Robert Yang <liezhi.yang@windriver.com> wrote:
>
> - The python3-testtools RDEPENDS on it.
> - It is from meta-python, I extended it to nativesdk.
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
> 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
>
> diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc
> new file mode 100644
> index 0000000..74f67fb
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python-pbr.inc
> @@ -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"
> diff --git a/meta/recipes-devtools/python/python3-pbr_3.1.1.bb b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb
> new file mode 100644
> index 0000000..97e7361
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-pbr.inc
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/5] python3-pbr: add it for python3-testtools
2018-07-27 8:57 ` Khem Raj
@ 2018-07-27 8:58 ` Robert Yang
0 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2018-07-27 8:58 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
On 07/27/2018 04:57 PM, Khem Raj wrote:
> please remove it from meta-python once its in core
Yes, I will, and also remove others from meta-openstack.
// Robert
> On Fri, Jul 27, 2018 at 1:51 AM Robert Yang <liezhi.yang@windriver.com> wrote:
>>
>> - The python3-testtools RDEPENDS on it.
>> - It is from meta-python, I extended it to nativesdk.
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>> 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
>>
>> diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc
>> new file mode 100644
>> index 0000000..74f67fb
>> --- /dev/null
>> +++ b/meta/recipes-devtools/python/python-pbr.inc
>> @@ -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"
>> diff --git a/meta/recipes-devtools/python/python3-pbr_3.1.1.bb b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb
>> new file mode 100644
>> index 0000000..97e7361
>> --- /dev/null
>> +++ b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb
>> @@ -0,0 +1,2 @@
>> +inherit setuptools3
>> +require python-pbr.inc
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/5] python3-testtools: add it for oeqa
2018-07-27 9:01 [PATCH 0/5] buildtools-tarball: add python3-testtools and python3-subunit Robert Yang
2018-07-27 9:01 ` [PATCH 1/5] python3-extras: add it for python3-testtools Robert Yang
2018-07-27 9:01 ` [PATCH 2/5] python3-pbr: " Robert Yang
@ 2018-07-27 9:01 ` Robert Yang
2018-07-27 9:01 ` [PATCH 4/5] python3-subunit: " Robert Yang
` (2 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2018-07-27 9:01 UTC (permalink / raw)
To: openembedded-core
- 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.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
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
diff --git a/meta/recipes-devtools/python/python-testtools.inc b/meta/recipes-devtools/python/python-testtools.inc
new file mode 100644
index 0000000..0f449f4
--- /dev/null
+++ b/meta/recipes-devtools/python/python-testtools.inc
@@ -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"
diff --git a/meta/recipes-devtools/python/python3-testtools_2.2.0.bb b/meta/recipes-devtools/python/python3-testtools_2.2.0.bb
new file mode 100644
index 0000000..896ecee
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-testtools_2.2.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-testtools.inc
--
2.7.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 4/5] python3-subunit: add it for oeqa
2018-07-27 9:01 [PATCH 0/5] buildtools-tarball: add python3-testtools and python3-subunit Robert Yang
` (2 preceding siblings ...)
2018-07-27 9:01 ` [PATCH 3/5] python3-testtools: add it for oeqa Robert Yang
@ 2018-07-27 9:01 ` Robert Yang
2018-07-27 9:01 ` [PATCH 5/5] buildtools-tarball: add python3-testtools and python3-subunit Robert Yang
2018-07-27 9:05 ` ✗ patchtest: failure for " Patchwork
5 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2018-07-27 9:01 UTC (permalink / raw)
To: openembedded-core
- 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.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
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
diff --git a/meta/recipes-devtools/python/python-subunit.inc b/meta/recipes-devtools/python/python-subunit.inc
new file mode 100644
index 0000000..e2edc20
--- /dev/null
+++ b/meta/recipes-devtools/python/python-subunit.inc
@@ -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"
diff --git a/meta/recipes-devtools/python/python3-subunit_1.1.0.bb b/meta/recipes-devtools/python/python3-subunit_1.1.0.bb
new file mode 100644
index 0000000..2ece445
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-subunit_1.1.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-subunit.inc
--
2.7.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 5/5] buildtools-tarball: add python3-testtools and python3-subunit
2018-07-27 9:01 [PATCH 0/5] buildtools-tarball: add python3-testtools and python3-subunit Robert Yang
` (3 preceding siblings ...)
2018-07-27 9:01 ` [PATCH 4/5] python3-subunit: " Robert Yang
@ 2018-07-27 9:01 ` Robert Yang
2018-07-27 9:05 ` ✗ patchtest: failure for " Patchwork
5 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2018-07-27 9:01 UTC (permalink / raw)
To: openembedded-core
They are required by oeqa.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-core/meta/buildtools-tarball.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index 377733f..7ab7907 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -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 \
--
2.7.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* ✗ patchtest: failure for buildtools-tarball: add python3-testtools and python3-subunit
2018-07-27 9:01 [PATCH 0/5] buildtools-tarball: add python3-testtools and python3-subunit Robert Yang
` (4 preceding siblings ...)
2018-07-27 9:01 ` [PATCH 5/5] buildtools-tarball: add python3-testtools and python3-subunit Robert Yang
@ 2018-07-27 9:05 ` Patchwork
2018-07-27 9:27 ` Robert Yang
5 siblings, 1 reply; 10+ messages in thread
From: Patchwork @ 2018-07-27 9:05 UTC (permalink / raw)
To: Robert Yang; +Cc: openembedded-core
== 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 (openembedded-core@lists.openembedded.org) 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
^ permalink raw reply [flat|nested] 10+ messages in thread