Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | DESCRIPTION = "Interval arithmetic for Python" |
| 2 | HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals" |
| 3 | SECTION = "devel/python" |
| 4 | |
| 5 | LICENSE = "BSD-3-Clause" |
Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 7 | |
| 8 | PYPI_PACKAGE := "Pint" |
| 9 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | inherit pypi ptest |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 11 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965" |
| 13 | SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | DEPENDS += "python3-setuptools-scm-native" |
| 16 | |
| 17 | BBCLASSEXTEND = "native nativesdk" |
| 18 | |
| 19 | SRC_URI += " \ |
| 20 | file://run-ptest \ |
| 21 | " |
| 22 | |
| 23 | RDEPENDS_${PN}-ptest += " \ |
| 24 | ${PYTHON_PN}-pytest \ |
| 25 | " |
| 26 | |
| 27 | do_install_ptest() { |
| 28 | install -d ${D}${PTEST_PATH}/testsuite |
| 29 | cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/ |
| 30 | } |