void-packages/srcpkgs/python3-Markdown/template

24 lines
648 B
Bash

# Template file for 'python3-Markdown'
pkgname=python3-Markdown
version=3.4.4
revision=2
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=225c6123522495d4119a90b3a3ba31a1e87a70369e03f14799ea9c0d7183a3d6
conflicts="python-Markdown>=0"
do_check() {
python3 -m unittest discover tests
}
post_install() {
vlicense LICENSE.md LICENSE
}