summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-portion_2.6.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-portion_2.6.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-portion_2.6.2.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.2.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.2.bb
new file mode 100644
index 0000000000..f72784e23b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-portion_2.6.2.bb
@@ -0,0 +1,25 @@
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_hatchling ptest-python-pytest
9
10SRC_URI[sha256sum] = "fbf334143dbac5d07ffa411784e2b29e4e1f21203385019a93e2c1a8f443da16"
11
12RDEPENDS:${PN} += "\
13 python3-sortedcontainers \
14"
15
16RDEPENDS:${PN}-ptest += "\
17 python3-pytest-benchmark \
18"
19
20do_install_ptest:append () {
21 # test_doc.py tests README.md.
22 install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md
23}
24
25BBCLASSEXTEND = "native"