From e3e0f46aa7b6a24f7b3f3fc67df77f316ccbd432 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 25 Jul 2023 10:15:57 -0400 Subject: python3-sh: upgrade 1.14.3 -> 2.0.4 - The project uses poetry now, so inherit python_poetry_core - Add python3-asyncio and python3-compression to RDEPENDS Changelog (https://github.com/amoffat/sh/blob/develop/CHANGELOG.md): 2.0.4 - 5/13/22 - Allow ok_code to be used with fg #665 - Make sure new_group never creates a new session #675 2.0.2 / 2.0.3 (misversioned) - 2/13/22 - Performance regression when using a generator with _in #650 - Adding test support for python 3.11 2.0.0 - 2/9/22 - Executed commands now return a unicode string by default - Removed magical module-like execution contexts #636 - Added basic asyncio support via _async - Dropped support for Python < 3.8 - Bumped default tty size to more standard (24, 80) - First argument being a RunningCommand no longer automatically passes it as stdin - RunningCommand.__eq__ no longer has the side effect of executing the command #518 - _tee now supports both "err" and "out" #215 - Removed the builtin override cd link - Altered process launching model to behave more expectedly #495 - Bugfix where _no_out isn't allowed with _iter="err" #638 - Allow keyword arguments to have a list of values #529 Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-sh_2.0.4.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-sh_2.0.4.bb (limited to 'meta-python/recipes-devtools/python/python3-sh_2.0.4.bb') diff --git a/meta-python/recipes-devtools/python/python3-sh_2.0.4.bb b/meta-python/recipes-devtools/python/python3-sh_2.0.4.bb new file mode 100644 index 0000000000..fa9f97a8f9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-sh_2.0.4.bb @@ -0,0 +1,25 @@ +SUMMARY = "Python subprocess replacement" +HOMEPAGE = "https://github.com/amoffat/sh" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5317094292296f03405f59ae5f6544b6" + +SRC_URI[sha256sum] = "a18920f0839991bc9dfddb6dcc006c360b1064ba96257359f0ea356e9fa75a60" + +PYPI_PACKAGE = "sh" + +inherit pypi python_poetry_core + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-asyncio \ + ${PYTHON_PN}-codecs \ + ${PYTHON_PN}-compression \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-resource \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-terminal \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-unixadmin \ + ${PYTHON_PN}-fcntl \ +" -- cgit v1.2.3-54-g00ecf