mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01:00
python3-colorclass: Switch to PEP-517 build backend
Use poetry build system Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
b0cc9ddc32
commit
c63c99ab38
|
|
@ -0,0 +1,30 @@
|
|||
From 32a8a6bff42dfa493ae3c4a722109f2d3a32108e Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 11 Apr 2025 19:14:16 -0700
|
||||
Subject: [PATCH] pyproject.toml: Use poetry-core
|
||||
|
||||
Needed for using latest poetry infrastructure
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
pyproject.toml | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 65eaec9..50d26cc 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -58,9 +58,9 @@ documentation = "https://github.com/matthewdeanmartin/colorclass"
|
||||
# per vermin's estimation
|
||||
python = ">=2.6 || >=3.0"
|
||||
|
||||
-[tool.poetry.dev-dependencies]
|
||||
+[tool.poetry.group.dev.dependencies]
|
||||
pytest = "==6.0.1"
|
||||
|
||||
[build-system]
|
||||
-requires = ["poetry>=0.12"]
|
||||
-build-backend = "poetry.masonry.api"
|
||||
+requires = ["poetry-core"]
|
||||
+build-backend = "poetry.core.masonry.api"
|
||||
|
|
@ -4,8 +4,9 @@ LICENSE = "MIT"
|
|||
SECTION = "devel/python"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1b2a533055839e54558a727657c1c73e"
|
||||
|
||||
inherit pypi setuptools3
|
||||
inherit pypi python_poetry_core
|
||||
|
||||
SRC_URI += "file://0001-pyproject.toml-Use-poetry-core.patch"
|
||||
SRC_URI[sha256sum] = "6d4fe287766166a98ca7bc6f6312daf04a0481b1eda43e7173484051c0ab4366"
|
||||
|
||||
PYPI_PACKAGE = "colorclass"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user