mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
python3-portion: Upgrade 2.6.0 -> 2.6.1
Upgrade to release 2.6.1: - A __version__ attribute relying on importlib.metadata. - A uv.lock lock-file for reproducible builds. - Drop official support for Python 3.8. - Switch from black to ruff for code style. - Fully migrate to a pyproject.toml-based project. - Ensure code style consistency (see selected rules in pyproject.toml). - Extra dependencies are part of the dev dependency group (PEP 735). - Switch from setuptools to hatchling for building portion. - Switch from coverage to pytest-cov for test coverage. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
21
meta-python/recipes-devtools/python/python3-portion_2.6.1.bb
Normal file
21
meta-python/recipes-devtools/python/python3-portion_2.6.1.bb
Normal file
@@ -0,0 +1,21 @@
|
||||
DESCRIPTION = "Python data structure and operations for intervals"
|
||||
HOMEPAGE = "https://github.com/AlexandreDecan/portion"
|
||||
SECTION = "devel/python"
|
||||
|
||||
LICENSE = "LGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404"
|
||||
|
||||
inherit pypi python_hatchling ptest-python-pytest
|
||||
|
||||
SRC_URI[sha256sum] = "44b1f7d57e052993c4157e519dc447e57b87a4e5e00a77c1c50e7044104e53c6"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-sortedcontainers \
|
||||
"
|
||||
|
||||
do_install_ptest:append () {
|
||||
# test_doc.py tests README.md.
|
||||
install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user