Commit Graph

4 Commits

Author SHA1 Message Date
Khem Raj 128a718277 python3-click-repl: add python3-wheel-native to DEPENDS
setuptools3.bbclass and python_setuptools_build_meta.bbclass no longer
add python3-wheel-native to DEPENDS by default, following oe-core
commit e546c697b7 ("classes/setuptools3: remove wheel dependency"),
since setuptools >= 70.1.0 no longer needs the external wheel package
to build a wheel.

This recipe's pyproject.toml/setup.py still declares wheel as a build
requirement, so pyproject-build's --no-isolation dependency check now
fails:

  ERROR Unmet dependencies (checked against .../recipe-sysroot-native/usr/bin/nativepython3):
  	wheel
  		wanted: any
  		found: not installed

Add python3-wheel-native to DEPENDS directly to satisfy it.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-13 13:01:37 -07:00
alperak a72c7dbaf7 python3-click-repl: switch to PEP-517 build backend
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fix:

WARNING: python3-click-repl-0.3.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:23 -07:00
Tim Orling 94c20e1ef4 meta-python: drop ${PYTHON_PN}
python 2 is long unsupported, so we no longer need this variable.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:24 -08:00
Wang Mingyu 9c7101b1b1 python3-click-repl: upgrade 0.2.0 -> 0.3.0
License-Update:
 Add "Copyright (c) 2016-2026 Asif Saif Uddin & contributors." to
license file.

Changelog:
===========
  Drop Python 2 support, remove six.
  Uses PromptSession() class from prompt_toolkit instead of prompt() function (#63).
  Added filter for hidden commands and options (#86).
  Added click's autocompletion support (#88).
  Added tab-completion for Path and BOOL type arguments (#95).
  Added 'expand environmental variables in path' feature (#96).
  Delegate command dispatching to the actual group command.
  Updated completer class and tests based on new fix#92 (#102).
  Python 3.11 support.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-19 10:24:49 -07:00