python3: add markdown/smartypants/typogrify modules

This is needed to enable gi-docgen, a successor to gtk-doc

(From OE-Core rev: b557ea3cc61da326bb7783a2ac8e4080c4bf79e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2021-05-05 17:18:46 +02:00
committed by Richard Purdie
parent b681827f5b
commit 13e4ff2250
4 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
SUMMARY = "A Python implementation of John Gruber's Markdown."
HOMEPAGE = "https://python-markdown.github.io/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=745aaad0c69c60039e638bff9ffc59ed"
inherit pypi setuptools3
PYPI_PACKAGE = "Markdown"
SRC_URI[md5sum] = "034e3bccfde211d44b4a7a69cb290ba0"
SRC_URI[sha256sum] = "5d9f2b5ca24bc4c7a390d22323ca4bad200368612b5aaa7796babf971d2b2f18"
BBCLASSEXTEND = "native"
RDEPENDS_${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools"

View File

@@ -0,0 +1,12 @@
SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities"
HOMEPAGE = "https://pythonhosted.org/smartypants/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=977036977591ac666c728921ecc54c4f"
inherit pypi setuptools3
PYPI_PACKAGE = "smartypants"
SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36"
BBCLASSEXTEND = "native"

View File

@@ -0,0 +1,14 @@
SUMMARY = "Filters to enhance web typography, including support for Django & Jinja templates"
HOMEPAGE = "https://github.com/mintchaos/typogrify"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=12bc792d6f5415dbf421f3fd183c6dd2"
inherit pypi setuptools3
PYPI_PACKAGE = "typogrify"
SRC_URI[sha256sum] = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38"
BBCLASSEXTEND = "native"
RDEPENDS_${PN} += "${PYTHON_PN}-smartypants"