From d8eb8b4583e25012220e4d5313a18d79843eaf4a Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 24 Aug 2023 16:11:20 +0800 Subject: python3-bitstring: upgrade 4.0.2 -> 4.1.0 Changelog: =========== -Added two new floating point interpretations: float8_143 and float8_152. -Auto initialistion from ints has been removed and now raises a TypeError. -Explicitly specifying the 'auto' parameter is now disallowed rather than discouraged. -Deleting, replacing or inserting into a bitstring resets the bit position to 0 if the bitstring's length has been changed. -Only empty bitstring are now considered False in a boolean sense. -Casting to bytes now behaves as expected, so that bytes(s) gives the same result as s.tobytes(). Previously it created a byte per bit. -Pretty printing with the 'bytes' format now uses characters from the 'Latin Extended-A' unicode block for non-ASCII and unprintable characters instead of replacing them with '.' -When using struct-like codes you can now use '=' instead of '@' to signify native- endianness. They behave identically, but the new '=' is now preferred. -More fixes for LSB0 mode. There are now no known issues with this feature. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-bitstring_4.0.2.bb | 19 ------------------- .../python/python3-bitstring_4.1.0.bb | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-bitstring_4.0.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-bitstring_4.1.0.bb diff --git a/meta-python/recipes-devtools/python/python3-bitstring_4.0.2.bb b/meta-python/recipes-devtools/python/python3-bitstring_4.0.2.bb deleted file mode 100644 index b2ad991f5e..0000000000 --- a/meta-python/recipes-devtools/python/python3-bitstring_4.0.2.bb +++ /dev/null @@ -1,19 +0,0 @@ -SUMMARY = "Simple construction, analysis and modification of binary data." -HOMEPAGE = "https://github.com/scott-griffiths/bitstring" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=661f450e2c0aef39b4b15597333444a7" - -SRC_URI[sha256sum] = "a391db8828ac4485dd5ce72c80b27ebac3e7b989631359959e310cd9729723b2" - -PYPI_PACKAGE = "bitstring" - -inherit pypi python_poetry_core - -RDEPENDS:${PN} = "\ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-mmap \ - ${PYTHON_PN}-numbers \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-bitstring_4.1.0.bb b/meta-python/recipes-devtools/python/python3-bitstring_4.1.0.bb new file mode 100644 index 0000000000..8a70f60db5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-bitstring_4.1.0.bb @@ -0,0 +1,19 @@ +SUMMARY = "Simple construction, analysis and modification of binary data." +HOMEPAGE = "https://github.com/scott-griffiths/bitstring" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=661f450e2c0aef39b4b15597333444a7" + +SRC_URI[sha256sum] = "b1672fb31721dbb6c809e76a3a19ac76a608e1f8fcacce9349ae2b72b1917b20" + +PYPI_PACKAGE = "bitstring" + +inherit pypi python_poetry_core + +RDEPENDS:${PN} = "\ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-mmap \ + ${PYTHON_PN}-numbers \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf