From a70a252402342785111661a1ed74b199da9bf037 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 14 May 2024 17:10:02 +0800 Subject: python3-moteus: upgrade 0.3.67 -> 0.3.68 0001-lib-python-remove-self-import-from-setup.py.patch removed since it's included in 0.3.68 Changelog: =========== Support moteus-c1 Properly detect board hardware when DC input turn-on slew is very slow Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...b-python-remove-self-import-from-setup.py.patch | 32 ---------------------- .../python/python3-moteus_0.3.67.bb | 19 ------------- .../python/python3-moteus_0.3.68.bb | 17 ++++++++++++ 3 files changed, 17 insertions(+), 51 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch delete mode 100644 meta-python/recipes-devtools/python/python3-moteus_0.3.67.bb create mode 100644 meta-python/recipes-devtools/python/python3-moteus_0.3.68.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch b/meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch deleted file mode 100644 index 10acd7b8c1..0000000000 --- a/meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 7490ac4629c7fe0dc329647e6e000d4bc13c610d Mon Sep 17 00:00:00 2001 -From: Richard Leitner -Date: Wed, 24 Jan 2024 00:49:45 +0100 -Subject: [PATCH] lib: python: remove self-import from setup.py - -Importing moteus itself within the setup.py creates some kind of a -chicken-and-egg problem. Furthermore it isn't used anywhere within -setup.py. Therefore remove the corresponding import. - -Signed-off-by: Richard Leitner - -Upstream-Status: Backport [https://github.com/mjbots/moteus/commit/7490ac4629c7fe0dc329647e6e000d4bc13c610d] ---- - setup.py | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/setup.py b/setup.py -index 2731685..6c6064d 100644 ---- a/setup.py -+++ b/setup.py -@@ -17,8 +17,6 @@ - import setuptools - import pathlib - --import moteus -- - here = pathlib.Path(__file__).parent.resolve() - - # Get the long description from the README file --- -2.40.1 - diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.67.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.67.bb deleted file mode 100644 index 3c93ee44ff..0000000000 --- a/meta-python/recipes-devtools/python/python3-moteus_0.3.67.bb +++ /dev/null @@ -1,19 +0,0 @@ -SUMMARY = "moteus brushless controller library and tools" -HOMEPAGE = "https://github.com/mjbots/moteus" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a83f0e709a45e76" - -inherit pypi setuptools3 - -SRC_URI += "file://0001-lib-python-remove-self-import-from-setup.py.patch" - -SRC_URI[sha256sum] = "a2122f20f59b8962057cf8d3fb583e0aa19006eaf2cde49e30027a4d1b8bf925" - -S = "${WORKDIR}/moteus-${PV}" - -RDEPENDS:${PN} += "\ - python3-can \ - python3-importlib-metadata \ - python3-pyelftools \ - python3-pyserial \ -" diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.68.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.68.bb new file mode 100644 index 0000000000..d99d30e637 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-moteus_0.3.68.bb @@ -0,0 +1,17 @@ +SUMMARY = "moteus brushless controller library and tools" +HOMEPAGE = "https://github.com/mjbots/moteus" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a83f0e709a45e76" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "a5c4259ecc20cbb5dea9352f8364300db45eab971fa7bddd1625da9b16d63248" + +S = "${WORKDIR}/moteus-${PV}" + +RDEPENDS:${PN} += "\ + python3-can \ + python3-importlib-metadata \ + python3-pyelftools \ + python3-pyserial \ +" -- cgit v1.2.3-54-g00ecf