From e8a7dad4d011d563779c363edc50d5746f400cfe Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 3 Nov 2023 15:47:58 +0800 Subject: python3-setuptools-rust: upgrade 1.7.0 -> 1.8.1 Changelog: =========== -Fix regression in install_extension crashing since 1.8.0. #380 -Drop support for Python 3.7. #357 -Remove direct imports from pkg_resources. #359 -Add support for setting a custom cargo profile with the SETUPTOOLS_RUST_CARGO_PROFILE environment variable. #364 (From OE-Core rev: 4f6ce3ef10d0ea54438c023f7e4acef64c5c877e) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-setuptools-rust_1.7.0.bb | 36 ---------------------- .../python/python3-setuptools-rust_1.8.1.bb | 36 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-setuptools-rust_1.7.0.bb create mode 100644 meta/recipes-devtools/python/python3-setuptools-rust_1.8.1.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.7.0.bb b/meta/recipes-devtools/python/python3-setuptools-rust_1.7.0.bb deleted file mode 100644 index 6392a4dead..0000000000 --- a/meta/recipes-devtools/python/python3-setuptools-rust_1.7.0.bb +++ /dev/null @@ -1,36 +0,0 @@ -SUMMARY = "Setuptools Rust extension plugin" -DESCRIPTION = "setuptools-rust is a plugin for setuptools to build Rust \ -Python extensions implemented with PyO3 or rust-cpython.\ -\ -Compile and distribute Python extensions written in Rust as easily as if they were written in C." -HOMEPAGE = "https://github.com/PyO3/setuptools-rust" -BUGTRACKER = "https://github.com/PyO3/setuptools-rust/issues" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5" - -SRC_URI = "${PYPI_SRC_URI} \ - https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a/setuptools-rust-${PV}.tar.gz \ - " -SRC_URI[sha256sum] = "c7100999948235a38ae7e555fe199aa66c253dc384b125f5d85473bf81eae3a3" - -inherit cargo pypi python_setuptools_build_meta - -DEPENDS += "python3-setuptools-scm-native python3-wheel-native" -# remove when https://github.com/PyO3/setuptools-rust/commit/7ced8d2a8f36e1b4fc41b5544636defb7bd44bdf -# is included -DEPENDS += "python3-semantic-version-native" - -RDEPENDS:${PN} += " \ - python3-distutils \ - python3-json \ - python3-semantic-version \ - python3-setuptools \ - python3-setuptools-scm \ - python3-shell \ - python3-toml \ - python3-typing-extensions \ - python3-wheel \ -" - -BBCLASSEXTEND = "native" diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.8.1.bb b/meta/recipes-devtools/python/python3-setuptools-rust_1.8.1.bb new file mode 100644 index 0000000000..db5c6c449c --- /dev/null +++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.8.1.bb @@ -0,0 +1,36 @@ +SUMMARY = "Setuptools Rust extension plugin" +DESCRIPTION = "setuptools-rust is a plugin for setuptools to build Rust \ +Python extensions implemented with PyO3 or rust-cpython.\ +\ +Compile and distribute Python extensions written in Rust as easily as if they were written in C." +HOMEPAGE = "https://github.com/PyO3/setuptools-rust" +BUGTRACKER = "https://github.com/PyO3/setuptools-rust/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5" + +SRC_URI = "${PYPI_SRC_URI} \ + https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a/setuptools-rust-${PV}.tar.gz \ + " +SRC_URI[sha256sum] = "94b1dd5d5308b3138d5b933c3a2b55e6d6927d1a22632e509fcea9ddd0f7e486" + +inherit cargo pypi python_setuptools_build_meta + +DEPENDS += "python3-setuptools-scm-native python3-wheel-native" +# remove when https://github.com/PyO3/setuptools-rust/commit/7ced8d2a8f36e1b4fc41b5544636defb7bd44bdf +# is included +DEPENDS += "python3-semantic-version-native" + +RDEPENDS:${PN} += " \ + python3-distutils \ + python3-json \ + python3-semantic-version \ + python3-setuptools \ + python3-setuptools-scm \ + python3-shell \ + python3-toml \ + python3-typing-extensions \ + python3-wheel \ +" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf