diff mbox series

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

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

Commit Message

Zoltán Böszörményi June 1, 2023, 7:47 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>
---
 .../python/python3-meson-python_0.13.1.bb     | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-meson-python_0.13.1.bb

Comments

Alexander Kanavin June 1, 2023, 7:48 a.m. UTC | #1
maintainers.inc entry is needed as well.

I hope my test for its presence merges soon :)

Alex

On Thu, 1 Jun 2023 at 09:47, Zoltan Boszormenyi <zboszor@gmail.com> 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>
> ---
>  .../python/python3-meson-python_0.13.1.bb     | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
>
> 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 (#182051): https://lists.openembedded.org/g/openembedded-core/message/182051
> Mute This Topic: https://lists.openembedded.org/mt/99259412/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

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"