mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +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:
@@ -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