mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 13:56:29 +00:00
python3-robotframework-seriallibrary: Switch to PEP-517 poetry build backend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
c63c99ab38
commit
cb4cd9e3e5
@ -0,0 +1,31 @@
|
|||||||
|
From 29ca728481a275cc46fdf4f32b3aac5706aa0904 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Fri, 11 Apr 2025 21:03:43 -0700
|
||||||
|
Subject: [PATCH] pyproject.toml: Replace install_requires
|
||||||
|
|
||||||
|
install_requires is used with setuptools, with poetry it needs
|
||||||
|
to use poetry.dependencies
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
poetry.core.constraints.version.exceptions.ParseConstraintError: Could not parse version constraint: robotframework
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/whosaysni/robotframework-seriallibrary/pull/25]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
pyproject.toml | 6 ++----
|
||||||
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index be9f51a..0ade7ee 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -24,7 +24,5 @@ packages = [
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
-install_requires=["robotframework", "pyserial"]
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-
|
||||||
|
+robotframework = ">=4.0"
|
||||||
|
+pyserial = ">=3.0"
|
||||||
@ -3,11 +3,12 @@ HOMEPAGE = "https://github.com/whosaysni/robotframework-seriallibrary"
|
|||||||
LICENSE = "Apache-2.0"
|
LICENSE = "Apache-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=ad407cda031a6aaf51a1fecaaa6e7d29"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=ad407cda031a6aaf51a1fecaaa6e7d29"
|
||||||
|
|
||||||
|
SRC_URI += "file://0001-pyproject.toml-Replace-install_requires.patch"
|
||||||
SRC_URI[sha256sum] = "f20befe5c1106dd8ddca9f60a2f18bf5ec7d5f06f6f09a03fa66bae54777e6bb"
|
SRC_URI[sha256sum] = "f20befe5c1106dd8ddca9f60a2f18bf5ec7d5f06f6f09a03fa66bae54777e6bb"
|
||||||
|
|
||||||
PYPI_PACKAGE = "robotframework-seriallibrary"
|
PYPI_PACKAGE = "robotframework-seriallibrary"
|
||||||
|
|
||||||
inherit pypi setuptools3
|
inherit pypi python_poetry_core
|
||||||
|
|
||||||
RDEPENDS:${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
python3-pyserial \
|
python3-pyserial \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user