diff options
| author | alperak <alperyasinak1@gmail.com> | 2024-08-08 13:06:37 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-08-09 14:25:26 -0700 |
| commit | 09ebd00ca9591b0b525f6c5e3db4b0bad8af5cd6 (patch) | |
| tree | 1fde9448848dbe90fb18818b06b42f5c9c54c51e /meta-python/recipes-devtools/python/python3-aioserial | |
| parent | 953000215ed4b1112a35e0724510400d2b80ccce (diff) | |
| download | meta-openembedded-09ebd00ca9591b0b525f6c5e3db4b0bad8af5cd6.tar.gz | |
python3-aioserial: switch to PEP-517 build backend
- The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as aioserial, it is by default.
- The upstream pyproject.toml says it needs to be built with the Poetry frontend, but that's deprecated behaviour and it should use the Poetry Core API instead.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-aioserial')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-aioserial/0001-use-poetry-core-for-pyproject-base-build.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-aioserial/0001-use-poetry-core-for-pyproject-base-build.patch b/meta-python/recipes-devtools/python/python3-aioserial/0001-use-poetry-core-for-pyproject-base-build.patch new file mode 100644 index 0000000000..139bdb4f52 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aioserial/0001-use-poetry-core-for-pyproject-base-build.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 5798a250b465572d84a024389b173dc996690b03 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: alperak <alperyasinak1@gmail.com> | ||
| 3 | Date: Thu, 8 Aug 2024 12:56:31 +0300 | ||
| 4 | Subject: [PATCH] Use poetry-core for pyproject base build | ||
| 5 | |||
| 6 | https://github.com/python-poetry/poetry-core#why-is-this-required | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | |||
| 10 | Signed-off-by: alperak <alperyasinak1@gmail.com> | ||
| 11 | --- | ||
| 12 | pyproject.toml | 4 ++-- | ||
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 16 | index 6243bff..06bc409 100644 | ||
| 17 | --- a/pyproject.toml | ||
| 18 | +++ b/pyproject.toml | ||
| 19 | @@ -15,5 +15,5 @@ python = "^3.6" | ||
| 20 | pyserial = "*" | ||
| 21 | |||
| 22 | [build-system] | ||
| 23 | -requires = ["poetry>=0.12"] | ||
| 24 | -build-backend = "poetry.masonry.api" | ||
| 25 | +requires = ["poetry-core>=0.12"] | ||
| 26 | +build-backend = "poetry.core.masonry.api" | ||
| 27 | -- | ||
| 28 | 2.25.1 | ||
| 29 | |||
