mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-03-06 08:49:48 +00:00
python3-unoconv: add recipe
Add unoconv version 0.9.0, an universal office converter - convert between any document format supported by LibreOffice/OpenOffice. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
23
meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb
Normal file
23
meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "Universal Office Converter - Office document conversion"
|
||||
HOMEPAGE = "https://github.com/unoconv/unoconv"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
SECTION = "devel/python"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
SRC_URI[sha256sum] = "308ebfd98e67d898834876348b27caf41470cd853fbe2681cc7dacd8fd5e6031"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
PYPI_PACKAGE="unoconv"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-distutils \
|
||||
${PYTHON_PN}-core \
|
||||
${PYTHON_PN}-shell \
|
||||
"
|
||||
|
||||
do_install:append() {
|
||||
sed -i -e 's:^#!/usr/bin/env python$:#!/usr/bin/env python3:' ${D}/usr/bin/unoconv
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user