mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 01:06:37 +01:00
This package uses flit, not setuptools. (From OE-Core rev: 95ab9d4f924bf5cd7ac0e8ac5086dafc90cdd938) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
699 B
BlitzBasic
23 lines
699 B
BlitzBasic
SUMMARY = "Docutils is a modular system for processing documentation into useful formats"
|
|
HOMEPAGE = "http://docutils.sourceforge.net"
|
|
SECTION = "devel/python"
|
|
LICENSE = "CC0-1.0 & ZPL-2.1 & BSD-2-Clause & GPL-3.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b"
|
|
|
|
SRC_URI[sha256sum] = "3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f"
|
|
|
|
inherit pypi python_flit_core
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-pprint \
|
|
"
|
|
|
|
do_install:append() {
|
|
# Make sure we use /usr/bin/env python3
|
|
for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
|
|
sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
|
|
done
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|