mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-15 18:27:12 +00:00
python3-pydantic: Minor improvements
Apply minor improvements:
- Do not explicitly set PV
- Use oe.utils.trim_version('${PV}', 2) in the SRC_URI
This work was sponsored by GOVCERT.LU.
Suggested-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
e0728656ea
commit
3a5f28bb16
1 file changed
+1
-2
@@ -12,8 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
|
||||
inherit python_hatchling ptest-python-pytest
|
||||
|
||||
SRCREV = "001dea020e0809844e5b17666432c9135a976f46"
|
||||
PV .= "+git"
|
||||
SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v2.13-fixes"
|
||||
SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v${@oe.utils.trim_version('${PV}', 2)}-fixes;tag=v${PV}"
|
||||
DEPENDS += "python3-hatch-fancy-pypi-readme-native"
|
||||
|
||||
CVE_PRODUCT = "pydantic:pydantic"
|
||||
|
||||
Reference in new issue
Block a user