diff mbox series

[v2,2/2] python3-meson-python: New recipe

Message ID 20230601080821.2346868-2-zboszor@gmail.com
State New
Headers show
Series [v2,1/2] python_mesonpy: New class | expand

Commit Message

Böszörményi Zoltán June 1, 2023, 8:08 a.m. UTC
This python module adds support for a new PEP517 build backend
used by recent versions of scikit-image, scipy and others.

The previously added python_mesonpy.bbclass uses it

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../python/python3-meson-python_0.13.1.bb     | 22 +++++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-meson-python_0.13.1.bb

Comments

Alexandre Belloni June 1, 2023, 11 a.m. UTC | #1
Hello,

This fails on the autobuilders:

stdio: WARNING: Nothing PROVIDES 'python3-pyproject-metadata-native' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb, virtual:native:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb, /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb DEPENDS on or otherwise requires it). Close matches:
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pyproject-metadata' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-meson-python' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-meson-python-dev' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-pyproject-metadata-native' (but virtual:native:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-pyproject-metadata' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-meson-python' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-meson-python-dev' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)

On 01/06/2023 10:08:21+0200, Zoltan Boszormenyi wrote:
> This python module adds support for a new PEP517 build backend
> used by recent versions of scikit-image, scipy and others.
> 
> The previously added python_mesonpy.bbclass uses it
> 
> Signed-off-by: Zolt�n B�sz�rm�nyi <zboszor@gmail.com>
> ---
>  meta/conf/distro/include/maintainers.inc      |  1 +
>  .../python/python3-meson-python_0.13.1.bb     | 22 +++++++++++++++++++
>  2 files changed, 23 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
> 
> diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
> index 8c4c586414..f2448ee3c9 100644
> --- a/meta/conf/distro/include/maintainers.inc
> +++ b/meta/conf/distro/include/maintainers.inc
> @@ -647,6 +647,7 @@ RECIPE_MAINTAINER:pn-python3-magic = "Joshua Watt <JPEWhacker@gmail.com>"
>  RECIPE_MAINTAINER:pn-python3-mako = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
>  RECIPE_MAINTAINER:pn-python3-markdown = "Alexander Kanavin <alex.kanavin@gmail.com>"
>  RECIPE_MAINTAINER:pn-python3-markupsafe = "Richard Purdie <richard.purdie@linuxfoundation.org>"
> +RECIPE_MAINTAINER:pn-python3-meson-python = "Zolt�n B�sz�rm�nyi <zboszor@gmail.com>"
>  RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling <tim.orling@konsulko.com>"
>  RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling <tim.orling@konsulko.com>"
>  RECIPE_MAINTAINER:pn-python3-numpy = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
> diff --git a/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
> new file mode 100644
> index 0000000000..828a1652fa
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "Meson Python build backend (PEP 517)"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d580b27e67cc0892a5b005b0be114b60"
> +
> +DEPENDS = " \
> +	meson-native ninja-native patchelf-native \
> +	python3-pyproject-metadata-native \
> +"
> +
> +PYPI_PACKAGE = "meson_python"
> +
> +inherit pypi python_mesonpy
> +SRC_URI[sha256sum] = "63b3170001425c42fa4cfedadb9051cbd28925ff8eed7c40d36ba0099e3c7618"
> +
> +DEPENDS:remove:class-native = "python3-meson-python-native"
> +
> +RDEPENDS:${PN} = " \
> +	meson ninja patchelf \
> +	python3-pyproject-metadata \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
> -- 
> 2.40.1
> 

> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#182054): https://lists.openembedded.org/g/openembedded-core/message/182054
> Mute This Topic: https://lists.openembedded.org/mt/99259620/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Böszörményi Zoltán June 1, 2023, 11:39 a.m. UTC | #2
2023. 06. 01. 13:00 keltezéssel, Alexandre Belloni írta:
> Hello,
>
> This fails on the autobuilders:
>
> stdio: WARNING: Nothing PROVIDES 'python3-pyproject-metadata-native'

It works in mickledore.

Was BBCLASSEXTEND removed from python3-pyproject-metadata
in meta-openembedded master? (Looking... No, it wasn't.)

Can you try building python3-pyproject-metadata-native by itself?

>   (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb, virtual:native:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb, /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb DEPENDS on or otherwise requires it). Close matches:
> stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pyproject-metadata' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-meson-python' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-meson-python-dev' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> stdio: WARNING: Nothing RPROVIDES 'python3-pyproject-metadata-native' (but virtual:native:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> stdio: WARNING: Nothing RPROVIDES 'python3-pyproject-metadata' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> stdio: WARNING: Nothing RPROVIDES 'python3-meson-python' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> stdio: WARNING: Nothing RPROVIDES 'python3-meson-python-dev' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
>
> On 01/06/2023 10:08:21+0200, Zoltan Boszormenyi wrote:
>> This python module adds support for a new PEP517 build backend
>> used by recent versions of scikit-image, scipy and others.
>>
>> The previously added python_mesonpy.bbclass uses it
>>
>> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
>> ---
>>   meta/conf/distro/include/maintainers.inc      |  1 +
>>   .../python/python3-meson-python_0.13.1.bb     | 22 +++++++++++++++++++
>>   2 files changed, 23 insertions(+)
>>   create mode 100644 meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
>>
>> diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
>> index 8c4c586414..f2448ee3c9 100644
>> --- a/meta/conf/distro/include/maintainers.inc
>> +++ b/meta/conf/distro/include/maintainers.inc
>> @@ -647,6 +647,7 @@ RECIPE_MAINTAINER:pn-python3-magic = "Joshua Watt <JPEWhacker@gmail.com>"
>>   RECIPE_MAINTAINER:pn-python3-mako = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
>>   RECIPE_MAINTAINER:pn-python3-markdown = "Alexander Kanavin <alex.kanavin@gmail.com>"
>>   RECIPE_MAINTAINER:pn-python3-markupsafe = "Richard Purdie <richard.purdie@linuxfoundation.org>"
>> +RECIPE_MAINTAINER:pn-python3-meson-python = "Zoltán Böszörményi <zboszor@gmail.com>"
>>   RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling <tim.orling@konsulko.com>"
>>   RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling <tim.orling@konsulko.com>"
>>   RECIPE_MAINTAINER:pn-python3-numpy = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
>> diff --git a/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
>> new file mode 100644
>> index 0000000000..828a1652fa
>> --- /dev/null
>> +++ b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
>> @@ -0,0 +1,22 @@
>> +SUMMARY = "Meson Python build backend (PEP 517)"
>> +LICENSE = "MIT"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d580b27e67cc0892a5b005b0be114b60"
>> +
>> +DEPENDS = " \
>> +	meson-native ninja-native patchelf-native \
>> +	python3-pyproject-metadata-native \
>> +"
>> +
>> +PYPI_PACKAGE = "meson_python"
>> +
>> +inherit pypi python_mesonpy
>> +SRC_URI[sha256sum] = "63b3170001425c42fa4cfedadb9051cbd28925ff8eed7c40d36ba0099e3c7618"
>> +
>> +DEPENDS:remove:class-native = "python3-meson-python-native"
>> +
>> +RDEPENDS:${PN} = " \
>> +	meson ninja patchelf \
>> +	python3-pyproject-metadata \
>> +"
>> +
>> +BBCLASSEXTEND = "native nativesdk"
>> -- 
>> 2.40.1
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#182054): https://lists.openembedded.org/g/openembedded-core/message/182054
>> Mute This Topic: https://lists.openembedded.org/mt/99259620/3617179
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>
Alexandre Belloni June 1, 2023, 11:49 a.m. UTC | #3
On 01/06/2023 13:39:13+0200, B�sz�rm�nyi Zolt�n wrote:
> 2023. 06. 01. 13:00 keltez�ssel, Alexandre Belloni �rta:
> > Hello,
> > 
> > This fails on the autobuilders:
> > 
> > stdio: WARNING: Nothing PROVIDES 'python3-pyproject-metadata-native'
> 
> It works in mickledore.
> 
> Was BBCLASSEXTEND removed from python3-pyproject-metadata
> in meta-openembedded master? (Looking... No, it wasn't.)
> 
> Can you try building python3-pyproject-metadata-native by itself?

oe-core doesn't depend on meta-openembedded so our builds doesn't have
it. You should either import the missing recipe or submit your recipe to
meta-openembedded.

> 
> >   (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb, virtual:native:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb, /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb DEPENDS on or otherwise requires it). Close matches:
> > stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pyproject-metadata' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> > stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-meson-python' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> > stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-meson-python-dev' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> > stdio: WARNING: Nothing RPROVIDES 'python3-pyproject-metadata-native' (but virtual:native:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> > stdio: WARNING: Nothing RPROVIDES 'python3-pyproject-metadata' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> > stdio: WARNING: Nothing RPROVIDES 'python3-meson-python' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> > stdio: WARNING: Nothing RPROVIDES 'python3-meson-python-dev' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
> > 
> > On 01/06/2023 10:08:21+0200, Zoltan Boszormenyi wrote:
> > > This python module adds support for a new PEP517 build backend
> > > used by recent versions of scikit-image, scipy and others.
> > > 
> > > The previously added python_mesonpy.bbclass uses it
> > > 
> > > Signed-off-by: Zolt�n B�sz�rm�nyi <zboszor@gmail.com>
> > > ---
> > >   meta/conf/distro/include/maintainers.inc      |  1 +
> > >   .../python/python3-meson-python_0.13.1.bb     | 22 +++++++++++++++++++
> > >   2 files changed, 23 insertions(+)
> > >   create mode 100644 meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
> > > 
> > > diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
> > > index 8c4c586414..f2448ee3c9 100644
> > > --- a/meta/conf/distro/include/maintainers.inc
> > > +++ b/meta/conf/distro/include/maintainers.inc
> > > @@ -647,6 +647,7 @@ RECIPE_MAINTAINER:pn-python3-magic = "Joshua Watt <JPEWhacker@gmail.com>"
> > >   RECIPE_MAINTAINER:pn-python3-mako = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
> > >   RECIPE_MAINTAINER:pn-python3-markdown = "Alexander Kanavin <alex.kanavin@gmail.com>"
> > >   RECIPE_MAINTAINER:pn-python3-markupsafe = "Richard Purdie <richard.purdie@linuxfoundation.org>"
> > > +RECIPE_MAINTAINER:pn-python3-meson-python = "Zolt�n B�sz�rm�nyi <zboszor@gmail.com>"
> > >   RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling <tim.orling@konsulko.com>"
> > >   RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling <tim.orling@konsulko.com>"
> > >   RECIPE_MAINTAINER:pn-python3-numpy = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
> > > diff --git a/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
> > > new file mode 100644
> > > index 0000000000..828a1652fa
> > > --- /dev/null
> > > +++ b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
> > > @@ -0,0 +1,22 @@
> > > +SUMMARY = "Meson Python build backend (PEP 517)"
> > > +LICENSE = "MIT"
> > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=d580b27e67cc0892a5b005b0be114b60"
> > > +
> > > +DEPENDS = " \
> > > +	meson-native ninja-native patchelf-native \
> > > +	python3-pyproject-metadata-native \
> > > +"
> > > +
> > > +PYPI_PACKAGE = "meson_python"
> > > +
> > > +inherit pypi python_mesonpy
> > > +SRC_URI[sha256sum] = "63b3170001425c42fa4cfedadb9051cbd28925ff8eed7c40d36ba0099e3c7618"
> > > +
> > > +DEPENDS:remove:class-native = "python3-meson-python-native"
> > > +
> > > +RDEPENDS:${PN} = " \
> > > +	meson ninja patchelf \
> > > +	python3-pyproject-metadata \
> > > +"
> > > +
> > > +BBCLASSEXTEND = "native nativesdk"
> > > -- 
> > > 2.40.1
> > > 
> > > 
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#182054): https://lists.openembedded.org/g/openembedded-core/message/182054
> > > Mute This Topic: https://lists.openembedded.org/mt/99259620/3617179
> > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > 
> > 
>
Böszörményi Zoltán June 1, 2023, 1:45 p.m. UTC | #4
2023. 06. 01. 13:49 keltezéssel, Alexandre Belloni írta:
> On 01/06/2023 13:39:13+0200, Böszörményi Zoltán wrote:
>> 2023. 06. 01. 13:00 keltezéssel, Alexandre Belloni írta:
>>> Hello,
>>>
>>> This fails on the autobuilders:
>>>
>>> stdio: WARNING: Nothing PROVIDES 'python3-pyproject-metadata-native'
>> It works in mickledore.
>>
>> Was BBCLASSEXTEND removed from python3-pyproject-metadata
>> in meta-openembedded master? (Looking... No, it wasn't.)
>>
>> Can you try building python3-pyproject-metadata-native by itself?
> oe-core doesn't depend on meta-openembedded so our builds doesn't have
> it. You should either import the missing recipe or submit your recipe to
> meta-openembedded.

Thanks, I will send a v3 with this recipe added soon.

>>>    (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb, virtual:native:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb, /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb DEPENDS on or otherwise requires it). Close matches:
>>> stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pyproject-metadata' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
>>> stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-meson-python' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
>>> stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-meson-python-dev' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
>>> stdio: WARNING: Nothing RPROVIDES 'python3-pyproject-metadata-native' (but virtual:native:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
>>> stdio: WARNING: Nothing RPROVIDES 'python3-pyproject-metadata' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
>>> stdio: WARNING: Nothing RPROVIDES 'python3-meson-python' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
>>> stdio: WARNING: Nothing RPROVIDES 'python3-meson-python-dev' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb RDEPENDS on or otherwise requires it)
>>>
>>> On 01/06/2023 10:08:21+0200, Zoltan Boszormenyi wrote:
>>>> This python module adds support for a new PEP517 build backend
>>>> used by recent versions of scikit-image, scipy and others.
>>>>
>>>> The previously added python_mesonpy.bbclass uses it
>>>>
>>>> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
>>>> ---
>>>>    meta/conf/distro/include/maintainers.inc      |  1 +
>>>>    .../python/python3-meson-python_0.13.1.bb     | 22 +++++++++++++++++++
>>>>    2 files changed, 23 insertions(+)
>>>>    create mode 100644 meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
>>>>
>>>> diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
>>>> index 8c4c586414..f2448ee3c9 100644
>>>> --- a/meta/conf/distro/include/maintainers.inc
>>>> +++ b/meta/conf/distro/include/maintainers.inc
>>>> @@ -647,6 +647,7 @@ RECIPE_MAINTAINER:pn-python3-magic = "Joshua Watt <JPEWhacker@gmail.com>"
>>>>    RECIPE_MAINTAINER:pn-python3-mako = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
>>>>    RECIPE_MAINTAINER:pn-python3-markdown = "Alexander Kanavin <alex.kanavin@gmail.com>"
>>>>    RECIPE_MAINTAINER:pn-python3-markupsafe = "Richard Purdie <richard.purdie@linuxfoundation.org>"
>>>> +RECIPE_MAINTAINER:pn-python3-meson-python = "Zoltán Böszörményi <zboszor@gmail.com>"
>>>>    RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling <tim.orling@konsulko.com>"
>>>>    RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling <tim.orling@konsulko.com>"
>>>>    RECIPE_MAINTAINER:pn-python3-numpy = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
>>>> diff --git a/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
>>>> new file mode 100644
>>>> index 0000000000..828a1652fa
>>>> --- /dev/null
>>>> +++ b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
>>>> @@ -0,0 +1,22 @@
>>>> +SUMMARY = "Meson Python build backend (PEP 517)"
>>>> +LICENSE = "MIT"
>>>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d580b27e67cc0892a5b005b0be114b60"
>>>> +
>>>> +DEPENDS = " \
>>>> +	meson-native ninja-native patchelf-native \
>>>> +	python3-pyproject-metadata-native \
>>>> +"
>>>> +
>>>> +PYPI_PACKAGE = "meson_python"
>>>> +
>>>> +inherit pypi python_mesonpy
>>>> +SRC_URI[sha256sum] = "63b3170001425c42fa4cfedadb9051cbd28925ff8eed7c40d36ba0099e3c7618"
>>>> +
>>>> +DEPENDS:remove:class-native = "python3-meson-python-native"
>>>> +
>>>> +RDEPENDS:${PN} = " \
>>>> +	meson ninja patchelf \
>>>> +	python3-pyproject-metadata \
>>>> +"
>>>> +
>>>> +BBCLASSEXTEND = "native nativesdk"
>>>> -- 
>>>> 2.40.1
>>>>
>>>>
>>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>> Links: You receive all messages sent to this group.
>>>> View/Reply Online (#182054): https://lists.openembedded.org/g/openembedded-core/message/182054
>>>> Mute This Topic: https://lists.openembedded.org/mt/99259620/3617179
>>>> Group Owner: openembedded-core+owner@lists.openembedded.org
>>>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
>>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>>
diff mbox series

Patch

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 8c4c586414..f2448ee3c9 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -647,6 +647,7 @@  RECIPE_MAINTAINER:pn-python3-magic = "Joshua Watt <JPEWhacker@gmail.com>"
 RECIPE_MAINTAINER:pn-python3-mako = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER:pn-python3-markdown = "Alexander Kanavin <alex.kanavin@gmail.com>"
 RECIPE_MAINTAINER:pn-python3-markupsafe = "Richard Purdie <richard.purdie@linuxfoundation.org>"
+RECIPE_MAINTAINER:pn-python3-meson-python = "Zoltán Böszörményi <zboszor@gmail.com>"
 RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling <tim.orling@konsulko.com>"
 RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling <tim.orling@konsulko.com>"
 RECIPE_MAINTAINER:pn-python3-numpy = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
diff --git a/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
new file mode 100644
index 0000000000..828a1652fa
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
@@ -0,0 +1,22 @@ 
+SUMMARY = "Meson Python build backend (PEP 517)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d580b27e67cc0892a5b005b0be114b60"
+
+DEPENDS = " \
+	meson-native ninja-native patchelf-native \
+	python3-pyproject-metadata-native \
+"
+
+PYPI_PACKAGE = "meson_python"
+
+inherit pypi python_mesonpy
+SRC_URI[sha256sum] = "63b3170001425c42fa4cfedadb9051cbd28925ff8eed7c40d36ba0099e3c7618"
+
+DEPENDS:remove:class-native = "python3-meson-python-native"
+
+RDEPENDS:${PN} = " \
+	meson ninja patchelf \
+	python3-pyproject-metadata \
+"
+
+BBCLASSEXTEND = "native nativesdk"