summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2024-11-28 12:38:54 +0200
committerKhem Raj <raj.khem@gmail.com>2024-11-28 08:17:56 -0800
commit763c3de2b460a5bcd8ea081ee57b231ffe2eb5aa (patch)
tree9cc57db111a786bac5099797742af4d8acce75f0 /meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
parent800de29730ae7a86202bca497a626ff076548ddd (diff)
downloadmeta-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.bb32
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 @@
1DESCRIPTION = "Python data structure and operations for intervals"
2HOMEPAGE = "https://github.com/AlexandreDecan/portion"
3SECTION = "devel/python"
4
5LICENSE = "LGPL-3.0-only"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404"
7
8inherit pypi python_setuptools_build_meta ptest
9
10SRC_URI[sha256sum] = "6fb538b57a92058f0edd360667694448aa3fc028ab97e41e3091359d14ba4dd5"
11
12SRC_URI += " \
13 file://run-ptest \
14"
15
16RDEPENDS:${PN} += "\
17 python3-sortedcontainers \
18"
19
20RDEPENDS:${PN}-ptest += " \
21 python3-pytest \
22 python3-unittest-automake-output \
23"
24
25do_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
32BBCLASSEXTEND = "native"