mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python3-odfpy: New recipe for version 1.4.1
It's an optional dependency for pandas to provide ODS reader and writer support. It complements spreadsheet support along with python3-xlrd and python3-openpyxl, both of which are part of meta-python already. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
f1b10c2686
commit
b1140390b6
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest
|
||||
43
meta-python/recipes-devtools/python/python3-odfpy_1.4.1.bb
Normal file
43
meta-python/recipes-devtools/python/python3-odfpy_1.4.1.bb
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
SUMMARY = "Python API and tools to manipulate OpenDocument files"
|
||||
DESCRIPTION = "Odfpy is a library to read and write OpenDocument v. 1.2 \
|
||||
files. The main focus has been to prevent the programmer from creating \
|
||||
invalid documents. It has checks that raise an exception if the programmer \
|
||||
adds an invalid element, adds an attribute unknown to the grammar, forgets \
|
||||
to add a required attribute or adds text to an element that doesn’t allow it. \
|
||||
\
|
||||
These checks and the API itself were generated from the RelaxNG schema, and \
|
||||
then hand-edited. Therefore the API is complete and can handle all ODF \
|
||||
constructions. \
|
||||
\
|
||||
In addition to the API, there are a few scripts: \
|
||||
csv2odf - Create OpenDocument spreadsheet from comma separated values \
|
||||
mailodf - Email ODF file as HTML archive \
|
||||
odf2xhtml - Convert ODF to (X)HTML \
|
||||
odf2mht - Convert ODF to HTML archive \
|
||||
odf2xml - Create OpenDocument XML file from OD? package \
|
||||
odfimgimport - Import external images \
|
||||
odflint - Check ODF file for problems \
|
||||
odfmeta - List or change the metadata of an ODF file \
|
||||
odfoutline - Show outline of OpenDocument \
|
||||
odfuserfield - List or change the user-field declarations in an ODF file \
|
||||
xml2odf - Create OD? package from OpenDocument in XML form \
|
||||
\
|
||||
The source code is at https://github.com/eea/odfpy \
|
||||
\
|
||||
Visit https://github.com/eea/odfpy/wiki for documentation and examples. \
|
||||
\
|
||||
The code at https://joinup.ec.europa.eu/software/odfpy/home is obsolete."
|
||||
LICENSE = "Apache-2.0 | (GPL-2.0-or-later & LGPL-2.0-or-later)"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://APACHE-LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
|
||||
file://GPL-LICENSE-2.txt;md5=751419260aa954499f7abaabaa882bbe \
|
||||
"
|
||||
|
||||
PYPI_PACKAGE = "odfpy"
|
||||
|
||||
inherit pypi ptest-python-pytest setuptools3
|
||||
SRC_URI[sha256sum] = "db766a6e59c5103212f3cc92ec8dd50a0f3a02790233ed0b52148b70d3c438ec"
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
RDEPENDS:${PN} = "python3-defusedxml"
|
||||
Loading…
Reference in New Issue
Block a user