Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files" |
| 2 | DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\ |
| 3 | versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \ |
| 4 | Strong support for Excel dates. Unicode-aware." |
| 5 | HOMEPAGE = "http://www.python-excel.org/" |
| 6 | LICENSE = "BSD-3-Clause" |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00ea1e843a43c20d9b63a8112239b0d1" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 9 | SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef274d0c88" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 11 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 12 | SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \ |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 13 | file://run-ptest \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | " |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 15 | SRCREV = "b8d573e11ec149da695d695c81a156232b89a949" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 16 | |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | inherit ptest setuptools3 |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 20 | PIP_INSTALL_PACKAGE = "xlrd" |
| 21 | PIP_INSTALL_DIST_PATH = "${S}/dist" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 22 | |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 23 | RDEPENDS:${PN} += " \ |
| 24 | python3-compression \ |
| 25 | python3-io \ |
| 26 | python3-mmap \ |
| 27 | python3-pprint \ |
| 28 | python3-shell \ |
| 29 | " |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 30 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | RDEPENDS:${PN}-ptest += " \ |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 32 | python3-pytest \ |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 33 | python3-unittest-automake-output \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 34 | " |
| 35 | |
| 36 | do_install_ptest() { |
| 37 | install -d ${D}${PTEST_PATH}/tests |
| 38 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | BBCLASSEXTEND = "native nativesdk" |