diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2025-02-11 14:57:30 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-02-12 09:16:09 -0800 |
| commit | 482abb2a6542b16fda6399fa4245af89796cce56 (patch) | |
| tree | e0aa364ec5a2db5078590d53db38d7dd17da2ca8 /meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb | |
| parent | bd71da1a72aa4e88080b377eeb26733ec1a8f1ae (diff) | |
| download | meta-openembedded-482abb2a6542b16fda6399fa4245af89796cce56.tar.gz | |
python3-tomli-w: Upgrade 1.1.0 -> 1.2.0
Upgrade to release 1.2.0:
- Always preserve decimal.Decimal type in parse round trips
- Better TypeError message on invalid mapping keys
- Unify type representation in error messages
- Improve import time by removing typing import
- Improve import time by removing string import
- Improve import time by lazy importing decimal
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb b/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb new file mode 100644 index 0000000000..55b56616db --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | DESCRIPTION = "Tomli-W is a Python library for writing TOML. It is a write-only counterpart to Tomli, which is a read-only TOML parser." | ||
| 2 | HOMEPAGE = "https://github.com/hukkin/tomli-w" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" | ||
| 5 | |||
| 6 | SRCREV = "a8f80172ba16fe694e37f6e07e6352ecee384c58" | ||
| 7 | PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master" | ||
| 8 | |||
| 9 | inherit pypi python_flit_core ptest-python-pytest | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | RDEPENDS:${PN}-ptest += " \ | ||
| 14 | python3-tomli \ | ||
| 15 | " | ||
| 16 | |||
| 17 | do_install_ptest:append() { | ||
| 18 | install -d ${D}${PTEST_PATH}/benchmark | ||
| 19 | cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/ | ||
| 20 | } | ||
| 21 | |||
| 22 | RDEPENDS:${PN} += " \ | ||
| 23 | python3-datetime \ | ||
| 24 | python3-numbers \ | ||
| 25 | python3-stringold \ | ||
| 26 | " | ||
