# Template file for 'python3-Markdown'
pkgname=python3-Markdown
version=3.10.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3"
checkdepends="python3-yaml"
short_desc="Python3 implementation of John Gruber's Markdown"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/Python-Markdown/markdown"
distfiles="${PYPI_SITE}/M/Markdown/markdown-${version}.tar.gz"
checksum=994d51325d25ad8aa7ce4ebaec003febcce822c3f8c911e3b17c52f7f589f950
conflicts="python-Markdown>=0"

do_check() {
	python3 -m unittest discover tests
}

post_install() {
	vlicense LICENSE.md LICENSE
}
