1SUMMARY = "Docutils is a modular system for processing documentation into useful formats" 2HOMEPAGE = "http://docutils.sourceforge.net" 3SECTION = "devel/python" 4LICENSE = "CC0-1.0 & ZPL-2.1 & BSD-2-Clause & GPL-3.0-only" 5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b" 6 7SRC_URI[sha256sum] = "3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f" 8 9inherit pypi python_setuptools_build_meta 10 11RDEPENDS:${PN} += " \ 12 python3-pprint \ 13" 14 15do_install:append() { 16 # Make sure we use /usr/bin/env python3 17 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do 18 sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT 19 done 20} 21 22BBCLASSEXTEND = "native nativesdk" 23