python3-setuptools-rust: upgrade 1.9.0 -> 1.10.1

* Set PYPI_PACKAGE = "setuptools_rust"
* Cleanup SRC_URI as we do not need old tarball link anymore
  and PYPI_SRCURI should be the default.

https://github.com/PyO3/setuptools-rust/compare/v1.9.0...v1.10.1

1.10.1 (2024-08-04)
  * Fixed
    - Fix regression in 1.10.0 where editable builds would be built in
	  release mode

1.10.0 (2024-08-03)
  * Packaging
    - Extend macOS build flags to iOS, tvOS and watchOS. #436
    - Support Python 3.13. #446
  * Changed
    - Add SETUPTOOLS_RUST_PEP517_USE_BASE_PYTHON environment variable to use
	  the base interpreter path when running inside a virtual environment to
	  avoid recompilation when switching between virtual environments. #429
    - Delay import of dependencies until use to avoid import errors during a
	  partially complete install when multiple packages are installing at
	  once. #437
    - Deprecate --build-temp argument to build_rust command (it does
	  nothing). #457

(From OE-Core rev: 14c67686cc306a4d5796a933fcb3cd3f27f2a2c9)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling
2024-08-13 09:33:02 -07:00
committed by Richard Purdie
parent 1790dcba63
commit c42b5d5e18

View File

@@ -9,17 +9,13 @@ 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] = "704df0948f2e4cc60c2596ad6e840ea679f4f43e58ed4ad0c1857807240eab96"
SRC_URI[sha256sum] = "d79035fc54cdf9342e9edf4b009491ecab06c3a652b37c3c137c7ba85547d3e6"
PYPI_PACKAGE = "setuptools_rust"
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-json \