summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-04-28 15:09:18 +0800
committerArmin Kuster <akuster808@gmail.com>2025-05-17 11:56:50 -0600
commita5e0aa7ef72d7d20861a3e73399b64e10be75ae4 (patch)
tree0e08da7014583cfa9ec14567482ab7ea0f155e61 /meta-python/recipes-devtools/python
parentaf44766029c3b19a6d61732a57328cd2b241b084 (diff)
downloadmeta-openembedded-a5e0aa7ef72d7d20861a3e73399b64e10be75ae4.tar.gz
python3-pyyaml-include: update SRCREV
* Current SRCREV is v2.2a1, update to v2.2 * pyyaml-include use setuptools_scm to get package version, but it not works well with git shallow clone, and will return a invalid version like 0.1.dev1+gc5be2b7, make pyyaml-include is installed to a wrong path: /usr/lib/python3.13/site-packages/pyyaml_include-0.1.dev1+gc5be2b7.dist-info, and also version in PKG-INFO is wrong. export SETUPTOOLS_SCM_PRETEND_VERSION to get correct package version. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb
index 49e643c710..5a3b2f0ab2 100644
--- a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/tanbro/pyyaml-include"
3LICENSE = "GPL-3.0-only" 3LICENSE = "GPL-3.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
5DEPENDS += "python3-setuptools-scm-native" 5DEPENDS += "python3-setuptools-scm-native"
6SRCREV = "c5be2b7dfc4aaa91e44dbeb6fa42adc80936ef9d" 6SRCREV = "3e0db562a7b03fa1bf5cbe392c47658042596dd0"
7 7
8SRC_URI = " \ 8SRC_URI = " \
9 git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \ 9 git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \
@@ -13,6 +13,10 @@ S = "${WORKDIR}/git"
13 13
14inherit python_setuptools_build_meta ptest-python-pytest 14inherit python_setuptools_build_meta ptest-python-pytest
15 15
16do_compile:prepend() {
17 export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
18}
19
16RDEPENDS:${PN} += " \ 20RDEPENDS:${PN} += " \
17 python3-pyyaml \ 21 python3-pyyaml \
18 python3-fsspec \ 22 python3-fsspec \