diff --git a/meta-python/recipes-devtools/python/python3-bandit_1.7.1.bb b/meta-python/recipes-devtools/python/python3-bandit_1.7.2.bb similarity index 68% rename from meta-python/recipes-devtools/python/python3-bandit_1.7.1.bb rename to meta-python/recipes-devtools/python/python3-bandit_1.7.2.bb index ad6df1be443..f1d387688f5 100644 --- a/meta-python/recipes-devtools/python/python3-bandit_1.7.1.bb +++ b/meta-python/recipes-devtools/python/python3-bandit_1.7.2.bb @@ -1,8 +1,8 @@ SUMMARY = "Security oriented static analyser for python code." LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" -SRC_URI[sha256sum] = "a81b00b5436e6880fa8ad6799bc830e02032047713cbb143a12939ac67eb756c" +SRC_URI[sha256sum] = "6d11adea0214a43813887bfe71a377b5a9955e4c826c8ffd341b494e3ab25260" DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore" diff --git a/meta-python/recipes-devtools/python/python3-fasteners_0.17.2.bb b/meta-python/recipes-devtools/python/python3-fasteners_0.17.3.bb similarity index 82% rename from meta-python/recipes-devtools/python/python3-fasteners_0.17.2.bb rename to meta-python/recipes-devtools/python/python3-fasteners_0.17.3.bb index 5e847497ad3..d6727087761 100644 --- a/meta-python/recipes-devtools/python/python3-fasteners_0.17.2.bb +++ b/meta-python/recipes-devtools/python/python3-fasteners_0.17.3.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/harlowja/fasteners" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52" -SRC_URI[sha256sum] = "2aceacb2bd618ce8526676f7a3e84ea25d0165ef10abb574a45b4a9c07292d2e" +SRC_URI[sha256sum] = "a9a42a208573d4074c77d041447336cf4e3c1389a256fd3e113ef59cf29b7980" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-jdatetime_3.8.1.bb b/meta-python/recipes-devtools/python/python3-jdatetime_3.8.2.bb similarity index 79% rename from meta-python/recipes-devtools/python/python3-jdatetime_3.8.1.bb rename to meta-python/recipes-devtools/python/python3-jdatetime_3.8.2.bb index 37c99e676ce..67a6ea1f211 100644 --- a/meta-python/recipes-devtools/python/python3-jdatetime_3.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-jdatetime_3.8.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/slashmili/python-jalali" LICENSE = "Python-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=c80be45b33471b4a23cf53d06a8172be" -SRC_URI[sha256sum] = "db57ee517356b1bfc1603ef412f5da61eae92241ba0bcaf0851028cae424780c" +SRC_URI[sha256sum] = "c685687e3f39e1b9a3ba9c00ed9d8e88603bc8994413e84623e6c5d43214e6f8" PYPI_PACKAGE = "jdatetime" diff --git a/meta-python/recipes-devtools/python/python3-multidict_5.2.0.bb b/meta-python/recipes-devtools/python/python3-multidict_6.0.2.bb similarity index 85% rename from meta-python/recipes-devtools/python/python3-multidict_5.2.0.bb rename to meta-python/recipes-devtools/python/python3-multidict_6.0.2.bb index 05b18fa0b54..b0e111d643b 100644 --- a/meta-python/recipes-devtools/python/python3-multidict_5.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-multidict_6.0.2.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/multidict/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=84c63e2bcd84e619d249af5181e2147f" -SRC_URI[sha256sum] = "0dd1c93edb444b33ba2274b66f63def8a327d607c6c790772f448a53b6ea59ce" +SRC_URI[sha256sum] = "5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013" inherit pypi setuptools3 ptest diff --git a/meta-python/recipes-devtools/python/python3-pulsectl_21.10.5.bb b/meta-python/recipes-devtools/python/python3-pulsectl_22.1.3.bb similarity index 84% rename from meta-python/recipes-devtools/python/python3-pulsectl_21.10.5.bb rename to meta-python/recipes-devtools/python/python3-pulsectl_22.1.3.bb index 0b867b83a23..9a5b9f948c2 100644 --- a/meta-python/recipes-devtools/python/python3-pulsectl_21.10.5.bb +++ b/meta-python/recipes-devtools/python/python3-pulsectl_22.1.3.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/mk-fg/python-pulse-control" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=f1d10048469ff90123263eb5e214061d" -SRC_URI[sha256sum] = "b347983fb78baab168f4dc4804ab2c59ca5b813bf62f8146dfb5fcb6ab6c8ba2" +SRC_URI[sha256sum] = "f28fe4b881dd2cc144d2d94f83ec60d8c59a52642a0ad3635cc4d0f8406f4858" RDEPENDS:${PN} += " \ libpulse \ diff --git a/meta-python/recipes-devtools/python/python3-pyruvate/0001-check-for-mips-targets-for-stat.st_dev-definitions.patch b/meta-python/recipes-devtools/python/python3-pyruvate/0001-check-for-mips-targets-for-stat.st_dev-definitions.patch new file mode 100644 index 00000000000..f41e6cf1167 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyruvate/0001-check-for-mips-targets-for-stat.st_dev-definitions.patch @@ -0,0 +1,45 @@ +From 56984b19469ff5b69b8b8e180dc75cf825bb1123 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 25 Jan 2022 22:28:11 -0800 +Subject: [PATCH] check for mips targets for stat.st_dev definitions + +st_dev has wrong type in glibc when using mips/O32 ABI +its type should be dev_t but it is set to unsigned long int +this is specific issue on mips/o32 ABI in glibc for details + +See +https://sourceware.org/bugzilla/show_bug.cgi?id=17786 + +currently the build fails on mips archirecture with type mismatches + + Fixes + error[E0308]: mismatched types +* --> /usr/src/debug/python3-pyruvate/1.1.2-r0/cargo_home/bitbake/libsystemd-0.4.1/src/logging.rs:296:25 + | + 296 | device: stat.st_dev, + | ^^^^^^^^^^^ expected `u64`, found `u32` + +Upstream-Status: Submitted [https://github.com/lucab/libsystemd-rs/pull/103] +Signed-off-by: Khem Raj +--- + src/logging.rs | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/logging.rs b/src/logging.rs +index a68c36a..6e374ae 100644 +--- a/src/logging.rs ++++ b/src/logging.rs +@@ -292,7 +292,10 @@ impl JournalStream { + pub fn from_fd(fd: F) -> std::io::Result { + nix::sys::stat::fstat(fd.as_raw_fd()) + .map(|stat| JournalStream { ++ #[cfg(not(target_arch = "mips"))] + device: stat.st_dev, ++ #[cfg(target_arch = "mips")] ++ device: stat.st_dev as u64, + inode: stat.st_ino, + }) + .map_err(std::io::Error::from) +-- +2.35.0 + diff --git a/meta-python/recipes-devtools/python/python3-pyruvate/0001-riscv64-mod.rs-Add-missing-error-codes.patch b/meta-python/recipes-devtools/python/python3-pyruvate/0001-riscv64-mod.rs-Add-missing-error-codes.patch new file mode 100644 index 00000000000..67108472ac3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyruvate/0001-riscv64-mod.rs-Add-missing-error-codes.patch @@ -0,0 +1,32 @@ +From c711fb215de54f960a35cdc48cd506b6b5db4918 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 26 Jan 2022 11:50:58 -0800 +Subject: [PATCH] riscv64/mod.rs: Add missing error codes + +These are flagged by apps e.g. python3-pyruvate + +Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/2656] +Signed-off-by: Khem Raj +--- + src/unix/linux_like/linux/musl/b64/riscv64/mod.rs | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs b/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs +index b075b4a05..6b17621c7 100644 +--- a/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs ++++ b/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs +@@ -548,6 +548,11 @@ pub const EHOSTUNREACH: ::c_int = 113; + pub const EALREADY: ::c_int = 114; + pub const EINPROGRESS: ::c_int = 115; + pub const ESTALE: ::c_int = 116; ++pub const EUCLEAN: ::c_int = 117; ++pub const ENOTNAM: ::c_int = 118; ++pub const ENAVAIL: ::c_int = 119; ++pub const EISNAM: ::c_int = 120; ++pub const EREMOTEIO: ::c_int = 121; + pub const EDQUOT: ::c_int = 122; + pub const ENOMEDIUM: ::c_int = 123; + pub const EMEDIUMTYPE: ::c_int = 124; +-- +2.35.0 + diff --git a/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb b/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb index dad18b78c21..b83302d44c9 100644 --- a/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb @@ -22,6 +22,9 @@ RUSTFLAGS:append:mipsel = " --cfg crossbeam_no_atomic_64" RUSTFLAGS:append:powerpc = " --cfg crossbeam_no_atomic_64" RUSTFLAGS:append:riscv32 = " --cfg crossbeam_no_atomic_64" +SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=../cargo_home/bitbake/libsystemd-0.4.1/" +SRC_URI:append = " file://0001-riscv64-mod.rs-Add-missing-error-codes.patch;patchdir=../cargo_home/bitbake/libc-0.2.112/" + SRC_URI += " \ crate://crates.io/aho-corasick/0.7.18 \ crate://crates.io/atty/0.2.14 \ diff --git a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.0.2.bb b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.1.0.bb similarity index 77% rename from meta-python/recipes-devtools/python/python3-pytest-timeout_2.0.2.bb rename to meta-python/recipes-devtools/python/python3-pytest-timeout_2.1.0.bb index 7c77e4add6f..c4faec6c61e 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.1.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff" PYPI_PACKAGE = "pytest-timeout" -SRC_URI[sha256sum] = "e6f98b54dafde8d70e4088467ff621260b641eb64895c4195b6e5c8f45638112" +SRC_URI[sha256sum] = "c07ca07404c612f8abbe22294b23c368e2e5104b521c1790195561f37e1ac3d9" inherit pypi setuptools3 diff --git a/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.1.bb b/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.3.bb similarity index 77% rename from meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.1.bb rename to meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.3.bb index ec3cde87d3e..29697bc251a 100644 --- a/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.1.bb +++ b/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.3.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://rhodesmill.org/pyephem/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=9c930b395b435b00bb13ec83b0c99f40" -SRC_URI[sha256sum] = "dba9e05c78ce910ae75a06351a5592479191a8dc570ac0cd6d18a77e98138873" +SRC_URI[sha256sum] = "7fa18685981ba528edd504052a9d5212a09aa5bf15c11a734edc6a86e8a8b56a" PYPI_PACKAGE = "ephem" diff --git a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.9.0.bb b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.9.1.bb similarity index 92% rename from meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.9.0.bb rename to meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.9.1.bb index 46b6a996056..c51f860fd5a 100644 --- a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.9.0.bb +++ b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.9.1.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://pywbemtools.readthedocs.io/en/stable/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" -SRC_URI[sha256sum] = "f6f36c96be46c801919fa6cc218a5d051fce381a2d9a0b99c9162d8335e96c36" +SRC_URI[sha256sum] = "cbe2fe67620e73a81807940a75aeed8570205e2213d6f8de4db15fbc06fe8804" inherit pypi setuptools3