summaryrefslogtreecommitdiffstats
path: root/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2024-06-11 08:55:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-06-13 09:11:17 +0100
commitc16d3b930fb46fc50eaef4d0cb16347ca9c4a1f8 (patch)
tree4c2c85f912ffe9ef977c778dbab82f8124ac4a4b /meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded
parent1ba3586bbe660600c48a2170cf615b9ccab749e2 (diff)
downloadpoky-c16d3b930fb46fc50eaef4d0cb16347ca9c4a1f8.tar.gz
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>
Diffstat (limited to 'meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded')
-rw-r--r--meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded b/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded
new file mode 100644
index 0000000000..f60a62718d
--- /dev/null
+++ b/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded
@@ -0,0 +1,19 @@
1SUMMARY = "The guessing game from The Rust Book using pyo3."
2DESCRIPTION = "Wrap a version of the guessing game from The Rust Book \
3to run in Python using pyo3."
4HOMEPAGE = "https://www.maturin.rs/tutorial"
5SECTION = "devel/python"
6LICENSE = "MIT & Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \
8 file://LICENSE-MIT;md5=85fd3b67069cff784d98ebfc7d5c0797"
9
10SRC_URI = "git://git.yoctoproject.org/guessing-game.git;protocol=https;branch=main"
11
12PV = "0.2.0"
13SRCREV = "40cf004c2772ffa20ea803fa3be1528a75be3e98"
14
15S = "${WORKDIR}/git"
16
17inherit python_maturin cargo-update-recipe-crates
18
19require ${BPN}-crates.inc