From 520790c43576d00589c36a73603690ff3d4bf1ec Mon Sep 17 00:00:00 2001 From: wangmy Date: Thu, 23 Jun 2022 15:14:44 +0800 Subject: [PATCH] python3-robotframework-seriallibrary: upgrade 0.3.1 -> 0.4.3 e31d5fdf2ea00ac6349e64580a20816783064dd4.patch removed since it's not available in 0.4.3 License-Update: version updated to 0.4.3 The content location of the description of the license has changed Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...5fdf2ea00ac6349e64580a20816783064dd4.patch | 45 ------------------- ...on3-robotframework-seriallibrary_0.4.3.bb} | 7 +-- 2 files changed, 2 insertions(+), 50 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/e31d5fdf2ea00ac6349e64580a20816783064dd4.patch rename meta-python/recipes-devtools/python/{python3-robotframework-seriallibrary_0.3.1.bb => python3-robotframework-seriallibrary_0.4.3.bb} (53%) diff --git a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/e31d5fdf2ea00ac6349e64580a20816783064dd4.patch b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/e31d5fdf2ea00ac6349e64580a20816783064dd4.patch deleted file mode 100644 index 21e97fd93a3..00000000000 --- a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/e31d5fdf2ea00ac6349e64580a20816783064dd4.patch +++ /dev/null @@ -1,45 +0,0 @@ -From e31d5fdf2ea00ac6349e64580a20816783064dd4 Mon Sep 17 00:00:00 2001 -From: Hideki Takeoka -Date: Sun, 25 Aug 2019 19:25:00 +0200 -Subject: [PATCH] Update setup.py for python3.7+ support - ---- - setup.py | 9 +++++---- - src/SerialLibrary/version.py | 3 +++ - 2 files changed, 8 insertions(+), 4 deletions(-) - -diff --git a/setup.py b/setup.py -index 4c34705..70bb1af 100644 ---- a/setup.py -+++ b/setup.py -@@ -1,6 +1,5 @@ - #!/usr/bin/env python - --from imp import load_source - from os.path import abspath, dirname, join - from sys import platform - -@@ -18,9 +17,11 @@ - - - CURDIR = dirname(abspath(__file__)) --VERSION = load_source( -- 'version', 'version', -- open(join(CURDIR, 'src', 'SerialLibrary', 'version.py'))).VERSION -+ -+with open(join(CURDIR, 'src', 'SerialLibrary', 'version.py')) as f: -+ exec(f.read()) -+ VERSION = get_version() -+ - README = open(join(CURDIR, 'README.rst')).read() - CLASSIFIERS = '\n'.join( - map(' :: '.join, [ -diff --git a/src/SerialLibrary/version.py b/src/SerialLibrary/version.py -index 6ce65c4..19831bc 100644 ---- a/src/SerialLibrary/version.py -+++ b/src/SerialLibrary/version.py -@@ -1 +1,4 @@ - VERSION = (0, 3, 1) -+ -+def get_version(): -+ return VERSION; diff --git a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb similarity index 53% rename from meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb rename to meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb index d9465af081c..4ad5c3601d5 100644 --- a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb @@ -1,17 +1,14 @@ SUMMARY = "Robot Framework test library for serial connection" HOMEPAGE = "https://github.com/whosaysni/robotframework-seriallibrary" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=1af2e051b493d9552af443cf2f99d480" -SRC_URI[md5sum] = "b7c9565d54c30df7cd3f3c0e29adffa3" -SRC_URI[sha256sum] = "256ad60fc0b7df4be44d82c302f5ed8fad4935cda99e4b45942e3c88179d1e19" +SRC_URI[sha256sum] = "f20befe5c1106dd8ddca9f60a2f18bf5ec7d5f06f6f09a03fa66bae54777e6bb" PYPI_PACKAGE = "robotframework-seriallibrary" inherit pypi setuptools3 -SRC_URI += "file://e31d5fdf2ea00ac6349e64580a20816783064dd4.patch" - RDEPENDS:${PN} += " \ ${PYTHON_PN}-pyserial \ ${PYTHON_PN}-robotframework \