From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Khem Raj <raj.khem@gmail.com>
Subject: [meta-python][PATCH 1/2] python3-colorclass: Switch to PEP-517 build backend
Date: Fri, 11 Apr 2025 21:17:16 -0700 [thread overview]
Message-ID: <20250412041717.4076589-1-raj.khem@gmail.com> (raw)
Use poetry build system
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../0001-pyproject.toml-Use-poetry-core.patch | 30 +++++++++++++++++++
.../python/python3-colorclass_2.2.2.bb | 3 +-
2 files changed, 32 insertions(+), 1 deletion(-)
create mode 100644 meta-python/recipes-devtools/python/python3-colorclass/0001-pyproject.toml-Use-poetry-core.patch
diff --git a/meta-python/recipes-devtools/python/python3-colorclass/0001-pyproject.toml-Use-poetry-core.patch b/meta-python/recipes-devtools/python/python3-colorclass/0001-pyproject.toml-Use-poetry-core.patch
new file mode 100644
index 0000000000..d3e29d0a15
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-colorclass/0001-pyproject.toml-Use-poetry-core.patch
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb b/meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb
index e605b459ce..498682cd6d 100644
--- a/meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb
+++ b/meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb
@@ -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"
next reply other threads:[~2025-04-12 4:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-12 4:17 Khem Raj [this message]
2025-04-12 4:17 ` [meta-python][PATCH 2/2] python3-robotframework-seriallibrary: Switch to PEP-517 poetry build backend Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250412041717.4076589-1-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.