void-packages/srcpkgs/python3-Markdown/template

24 lines
646 B
Bash

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