diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2021-01-28 12:29:03 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-02-01 10:44:27 -0800 |
| commit | 0532eaf50b33446ebb2feb7d4d56184a9681b990 (patch) | |
| tree | 2c39ac0592c605abada870c667c10305cc5ffdd9 /meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | |
| parent | 82b80e6ab10a0cf678428ff11832dc9b90f9d5a6 (diff) | |
| download | meta-openembedded-0532eaf50b33446ebb2feb7d4d56184a9681b990.tar.gz | |
python3-xlrd: Upgrade 1.2.0 -> 2.0.1
Upgrade to release 2.0.1:
- Use the README as the long description on PyPI.
- Remove support for anything other than .xls files.
- Remove support for psyco.
- Change the default encoding used when no CODEPAGE record can be
found from ascii to iso-8859-1.
- Add support for iterating over :class:`~xlrd.book.Book` objects.
- Add support for item access from :class:`~xlrd.book.Book`
objects, where integer indices and string sheet names are
supported.
- Non-unicode spaces are now stripped from the "last author"
information.
- Workbook corruption errors can now be ignored using the
ignore_workbook_corruption option to :class:`~xlrd.open_workbook`.
- Handle WRITEACCESS records with invalid trailing characters.
- Officially support Python 3.8 and 3.9.
Get the source code from the git repository rather than from PyPI
to obtain the tests.
License-Update: Use file LICENSE.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb new file mode 100644 index 0000000000..8587ea8f33 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 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" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00ea1e843a43c20d9b63a8112239b0d1" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef274d0c88" | ||
| 10 | |||
| 11 | |||
| 12 | SRC_URI = "git://github.com/python-excel/xlrd.git \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | SRCREV = "b8d573e11ec149da695d695c81a156232b89a949" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit ptest setuptools3 | ||
| 20 | |||
| 21 | RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell" | ||
| 22 | |||
| 23 | RDEPENDS_${PN}-ptest += " \ | ||
| 24 | ${PYTHON_PN}-pytest \ | ||
| 25 | " | ||
| 26 | |||
| 27 | do_install_ptest() { | ||
| 28 | install -d ${D}${PTEST_PATH}/tests | ||
| 29 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 30 | } | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native nativesdk" | ||
