diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2024-11-28 12:38:54 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-11-28 08:17:56 -0800 |
| commit | 763c3de2b460a5bcd8ea081ee57b231ffe2eb5aa (patch) | |
| tree | 9cc57db111a786bac5099797742af4d8acce75f0 /meta-python/recipes-devtools/python/python3-portion_2.6.0.bb | |
| parent | 800de29730ae7a86202bca497a626ff076548ddd (diff) | |
| download | meta-openembedded-763c3de2b460a5bcd8ea081ee57b231ffe2eb5aa.tar.gz | |
python3-portion: Upgrade 2.5.0 -> 2.6.0
Upgrade to version 2.6.0:
- The how function of combine can access the current interval if
pass_interval
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.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-portion_2.6.0.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb new file mode 100644 index 0000000000..31c6f07316 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 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_setuptools_build_meta ptest | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "6fb538b57a92058f0edd360667694448aa3fc028ab97e41e3091359d14ba4dd5" | ||
| 11 | |||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS:${PN} += "\ | ||
| 17 | python3-sortedcontainers \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS:${PN}-ptest += " \ | ||
| 21 | python3-pytest \ | ||
| 22 | python3-unittest-automake-output \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install_ptest() { | ||
| 26 | install -d ${D}${PTEST_PATH}/tests | ||
| 27 | # This file tests README.md and deleted as redundant. | ||
| 28 | rm -f ${S}/tests/test_doc.py | ||
| 29 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 30 | } | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native" | ||
