mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 04:49:29 +00:00
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>
This commit is contained in:
26
meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb
Normal file
26
meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
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."
|
||||
HOMEPAGE = "https://github.com/hukkin/tomli-w"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5"
|
||||
|
||||
SRCREV = "a8f80172ba16fe694e37f6e07e6352ecee384c58"
|
||||
PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master"
|
||||
|
||||
inherit pypi python_flit_core ptest-python-pytest
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-tomli \
|
||||
"
|
||||
|
||||
do_install_ptest:append() {
|
||||
install -d ${D}${PTEST_PATH}/benchmark
|
||||
cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-datetime \
|
||||
python3-numbers \
|
||||
python3-stringold \
|
||||
"
|
||||
Reference in New Issue
Block a user