diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-docutils_0.21.2.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-docutils_0.21.2.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb new file mode 100644 index 0000000000..d9f8160913 --- /dev/null +++ b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Docutils is a modular system for processing documentation into useful formats" | ||
2 | HOMEPAGE = "http://docutils.sourceforge.net" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "CC0-1.0 & ZPL-2.1 & BSD-2-Clause & GPL-3.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b" | ||
6 | |||
7 | SRC_URI[sha256sum] = "3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta | ||
10 | |||
11 | RDEPENDS:${PN} += " \ | ||
12 | python3-pprint \ | ||
13 | " | ||
14 | |||
15 | do_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 | |||
22 | BBCLASSEXTEND = "native nativesdk" | ||