blob: fd636421bd24764f3e20b06264ac2a627e5639ac [file] [log] [blame]
Andrew Geisslerc87764f2020-06-27 00:16:32 -05001DESCRIPTION = "Interval arithmetic for Python"
2HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
3SECTION = "devel/python"
4
5LICENSE = "LGPLv3"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab"
7
8PYPI_PACKAGE := "python-intervals"
9
10SRC_URI += " \
11 file://run-ptest \
12"
13
14inherit pypi setuptools3 ptest
15
Patrick Williams213cb262021-08-07 19:21:33 -050016RDEPENDS:${PN}-ptest += " \
Andrew Geisslerc87764f2020-06-27 00:16:32 -050017 ${PYTHON_PN}-pytest \
18"
19
20do_install_ptest() {
21 cp -f ${S}/test_intervals.py ${D}${PTEST_PATH}
22 cp -f ${S}/README.md ${D}${PTEST_PATH}
23}
24
Andrew Geisslereef63862021-01-29 15:58:13 -060025SRC_URI[sha256sum] = "68a772dc2de6b2b2e83b457329ffa8f9286710994b8070db54348a05762515d2"
Andrew Geisslerc87764f2020-06-27 00:16:32 -050026
27BBCLASSEXTEND = "native"