diff mbox series

[23/37] python3-beartype: use python_setuptools_build_meta build class

Message ID 20240723145137.74198-23-ross.burton@arm.com
State Accepted, archived
Commit 6eec9c50f72e016a6a14616ef4eb00a367196b88
Headers show
Series [01/37] python3: add dependency on -compression to -core | expand

Commit Message

Ross Burton July 23, 2024, 2:51 p.m. UTC
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-beartype_0.18.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joao Marcos Costa July 26, 2024, 7:48 a.m. UTC | #1
Hello, Ross

On 7/23/24 16:51, Ross Burton wrote:
> This package can be built using pep517 classes now.
>
> Signed-off-by: Ross Burton<ross.burton@arm.com>
> ---
>   meta/recipes-devtools/python/python3-beartype_0.18.5.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
> index 00554dd60c5..95d947c90ee 100644
> --- a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
> +++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
> @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM ="file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e"
>   
>   SRC_URI[sha256sum] = "264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b7046ffff1381927"
>   
> -inherit setuptools3 pypi
> +inherit pypi python_setuptools_build_meta
>   
>   RDEPENDS:${PN} += "python3-numbers python3-io"

Could this patch be causing such an error in the autobuilder?

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6663/steps/11/logs/stdio
Ross Burton July 26, 2024, 9:50 a.m. UTC | #2
> On 26 Jul 2024, at 08:48, Joao Marcos Costa <joaomarcos.costa@bootlin.com> wrote:
> 
> Hello, Ross
> On 7/23/24 16:51, Ross Burton wrote:
>> This package can be built using pep517 classes now.
>> 
>> Signed-off-by: Ross Burton <ross.burton@arm.com>
>> ---
>> meta/recipes-devtools/python/python3-beartype_0.18.5.bb | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
>> index 00554dd60c5..95d947c90ee 100644
>> --- a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
>> +++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
>> @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e"
>> 
>> SRC_URI[sha256sum] = "264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b7046ffff1381927"
>> 
>> -inherit setuptools3 pypi
>> +inherit pypi python_setuptools_build_meta
>> 
>> RDEPENDS:${PN} += "python3-numbers python3-io"
>> 
> Could this patch be causing such an error in the autobuilder?
> https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6663/steps/11/logs/stdio

No, that was a different issue that RP already fixed.

Ross
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
index 00554dd60c5..95d947c90ee 100644
--- a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
+++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e"
 
 SRC_URI[sha256sum] = "264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b7046ffff1381927"
 
-inherit setuptools3 pypi
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += "python3-numbers python3-io"