Files
poky/meta/recipes-devtools/python/python3-flit-core_3.10.1.bb
Ross Burton 5d302b7611 python3-flit-core: upgrade 3.9.0 -> 3.10.1
Summary of changes:
- The ``--python`` option can now take the path of a virtualenv folder, as an
  alternative to a Python executable.
- The metadata in packages now has the names of optional dependency groups
  ("extras") normalised, complying with version 2.3 of the metadata standard.
- Fix potential substitution of environment variables into passwords read from
  ``.pypirc`` files.
- A warning is now shown when building packages which specify the old
  ``flit.buildapi`` backend, which should be replaced by
  ``flit_core.buildapi``. It's a good idea to always set a maximum
  version for the build requirement, to protect against changes in
  future major versions of Flit.
- Avoid using the deprecated ``datetime.utcfromtimestamp()``.
- The tests for ``flit_core`` are no longer part of the installed package,
  reducing the size of the wheels.

Remove the -tests package, as the tests are no longer installed.

(From OE-Core rev: 102e3524361d7d07f0dee09b1b12346b1184268f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 00:07:30 +00:00

32 lines
1002 B
BlitzBasic

SUMMARY = "This provides a PEP 517 build backend for packages using Flit."
DESCRIPTION = "This provides a PEP 517 build backend for packages using \
Flit. The only public interface is the API specified by PEP 517, at \
flit_core.buildapi."
HOMEPAGE = "https://github.com/pypa/flit"
BUGTRACKER = "https://github.com/pypa/flit/issues"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=41eb78fa8a872983a882c694a8305f08"
SRC_URI[sha256sum] = "9c6258ae76d218ce60f9e39a43ca42006a3abcc5c44ea6bb2a1daa13857a8f1a"
inherit pypi python_flit_core
# Need to install by hand as there's a dependency loop
DEPENDS:remove:class-native = " python3-build-native python3-installer-native"
DEPENDS:append:class-native = " unzip-native"
# We need the full flit tarball
PYPI_PACKAGE = "flit"
PEP517_SOURCE_PATH = "${S}/flit_core"
do_compile:class-native () {
python_flit_core_do_manual_build
}
do_install:class-native () {
python_pep517_do_bootstrap_install
}
BBCLASSEXTEND = "native nativesdk"