blob: 5c34810080f4b1c038f564eba4a518ef5fe27c40 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001DESCRIPTION = "Interval arithmetic for Python"
2HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
3SECTION = "devel/python"
4
5LICENSE = "BSD-3-Clause"
Brad Bishop0f291cc2019-09-01 15:16:57 -04006LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08007
8PYPI_PACKAGE := "Pint"
9
Andrew Geissler82c905d2020-04-13 13:39:40 -050010inherit pypi ptest
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011
Andrew Geissler82c905d2020-04-13 13:39:40 -050012SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
13SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014
Andrew Geissler82c905d2020-04-13 13:39:40 -050015DEPENDS += "python3-setuptools-scm-native"
16
17BBCLASSEXTEND = "native nativesdk"
18
19SRC_URI += " \
20 file://run-ptest \
21"
22
23RDEPENDS_${PN}-ptest += " \
24 ${PYTHON_PN}-pytest \
25"
26
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/testsuite
29 cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
30}