summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-docutils_0.21.2.bb
diff options
context:
space:
mode:
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.bb22
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 @@
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"