diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2025-05-30 12:41:40 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-05-30 07:37:45 -0700 |
| commit | 306acc80934c9decdbd03707385631afebafd403 (patch) | |
| tree | cb04f5b309229cd7ef9ff375befff306abf031fa /meta-python/recipes-devtools/python/python3-portion_2.6.1.bb | |
| parent | dd32bd666ef3428a399a8119b12e3a82cf5caf69 (diff) | |
| download | meta-openembedded-306acc80934c9decdbd03707385631afebafd403.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-portion_2.6.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-portion_2.6.1.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb new file mode 100644 index 0000000000..942d7d5d4d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | DESCRIPTION = "Python data structure and operations for intervals" | ||
| 2 | HOMEPAGE = "https://github.com/AlexandreDecan/portion" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | |||
| 5 | LICENSE = "LGPL-3.0-only" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" | ||
| 7 | |||
| 8 | inherit pypi python_hatchling ptest-python-pytest | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "44b1f7d57e052993c4157e519dc447e57b87a4e5e00a77c1c50e7044104e53c6" | ||
| 11 | |||
| 12 | RDEPENDS:${PN} += "\ | ||
| 13 | python3-sortedcontainers \ | ||
| 14 | " | ||
| 15 | |||
| 16 | do_install_ptest:append () { | ||
| 17 | # test_doc.py tests README.md. | ||
| 18 | install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md | ||
| 19 | } | ||
| 20 | |||
| 21 | BBCLASSEXTEND = "native" | ||
