diff options
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.bb | 25 |
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 @@ | |||
| 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] = "fbf334143dbac5d07ffa411784e2b29e4e1f21203385019a93e2c1a8f443da16" | ||
| 11 | |||
| 12 | RDEPENDS:${PN} += "\ | ||
| 13 | python3-sortedcontainers \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS:${PN}-ptest += "\ | ||
| 17 | python3-pytest-benchmark \ | ||
| 18 | " | ||
| 19 | |||
| 20 | do_install_ptest:append () { | ||
| 21 | # test_doc.py tests README.md. | ||
| 22 | install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md | ||
| 23 | } | ||
| 24 | |||
| 25 | BBCLASSEXTEND = "native" | ||
