mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
A lil' TOML parser This is a runtime dependency for setuptools-scm upgrade as well as for several other Python Packaging Authority (pypa) tools that will be replacing distutils and setuptools in the future. Upstream does not have a setup.py, but rather relies on flit_core to build. This introduces a circular dependency, as flit_core has a runtime dependency on tomli. Borrow a setup.py from Gentoo until a better solution is found by upstream Python Packaging Authority (pypa). (From OE-Core rev: 86430833b463d606ffc345ad6b7e51840dc9f9ba) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
647 B
BlitzBasic
21 lines
647 B
BlitzBasic
SUMMARY = "A lil' TOML parser"
|
|
DESCRIPTION = "Tomli is a Python library for parsing TOML. Tomli is fully \
|
|
compatible with TOML v1.0.0."
|
|
HOMEPAGE = "https://github.com/hukkin/tomli"
|
|
BUGTRACKER = "https://github.com/hukkin/tomli/issues"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
SRC_URI[sha256sum] = "a5b75cb6f3968abb47af1b40c1819dc519ea82bcc065776a866e8d74c5ca9442"
|
|
|
|
do_configure:prepend() {
|
|
cat > ${S}/setup.py <<-EOF
|
|
from setuptools import setup
|
|
setup(name="tomli", version="${PV}", packages=["tomli"], package_data={"": ["*"]})
|
|
EOF
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|