mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 07:27:20 +00:00
The build requires hatch-mypyc although the mypyc hook is disabled by default; drop it from the build requirements. isort now imports mypy_extensions at runtime; add python3-mypy-extensions to RDEPENDS. Changes: - BREAKING (9.0.0): remove logic for deprecated options; add Python 3.15 support including sorting of lazy imports. - Build: now compiled with mypyc; build requires gain hatch-mypyc (hatchling backend unchanged). 9.0.1 restores "python -m isort" by excluding __main__ from compilation. - Add separate_packages option and --forced-separate CLI flag; treat private stdlib modules as stdlib. - Many fixes for comment placement, wrap modes (NOQA, multi_line_output 3/5/10), float_to_top, CRLF handling, reexport sorting and config discovery stopping at Git worktree boundaries. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
31 lines
846 B
BlitzBasic
31 lines
846 B
BlitzBasic
SUMMARY = "A Python utility / library to sort Python imports."
|
|
HOMEPAGE = "https://pypi.python.org/pypi/isort"
|
|
LICENSE = "MIT"
|
|
SECTION = "devel/python"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=197c46995787b46a2dbf0d519c1754cf"
|
|
|
|
SRC_URI[sha256sum] = "d2298980ce44350f11d9d24c8150eaef1883431ec203dddbb4e9b5c3ceb54c70"
|
|
|
|
inherit pypi python_hatchling
|
|
|
|
DEPENDS += "python3-hatch-vcs-native python3-hatchling-native"
|
|
|
|
# The mypyc build hook is disabled by default; don't require its plugin
|
|
do_configure:prepend() {
|
|
sed -i -e '/^requires = /s/, "hatch-mypyc"//' ${S}/pyproject.toml
|
|
}
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-compression \
|
|
python3-datetime \
|
|
python3-difflib \
|
|
python3-email \
|
|
python3-mypy-extensions \
|
|
python3-numbers \
|
|
python3-pprint \
|
|
python3-profile \
|
|
python3-shell \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|