poky/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded
Tim Orling c16d3b930f oe-selftest: add RECIPE_UPDATE_EXTRA_TASKS test
Add test_devtool_upgrade_recipe_update_extra_tasks test case
to test upgrade of python3-guessing-game from v0.1.0 to v0.2.0
which will exercise the update_crates task during the upgrade.

Add python3-guessing-game_git.bb.upgraded and
python3-guessing-game-crates.inc.upgraded  which are the 0.2.0
variants.

Check that the new recipe file has the expected differences.

Check that the new -crates.inc file has the expected differences,
which should be reproducible because of Cargo.lock.

(From OE-Core rev: d14368bc775cbf5142c1312dfc2076e328381aef)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00

20 lines
671 B
Plaintext

SUMMARY = "The guessing game from The Rust Book using pyo3."
DESCRIPTION = "Wrap a version of the guessing game from The Rust Book \
to run in Python using pyo3."
HOMEPAGE = "https://www.maturin.rs/tutorial"
SECTION = "devel/python"
LICENSE = "MIT & Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \
file://LICENSE-MIT;md5=85fd3b67069cff784d98ebfc7d5c0797"
SRC_URI = "git://git.yoctoproject.org/guessing-game.git;protocol=https;branch=main"
PV = "0.2.0"
SRCREV = "40cf004c2772ffa20ea803fa3be1528a75be3e98"
S = "${WORKDIR}/git"
inherit python_maturin cargo-update-recipe-crates
require ${BPN}-crates.inc