void-packages/srcpkgs/python3-Markdown/template

22 lines
722 B
Bash

# Template file for 'python3-Markdown'
pkgname=python3-Markdown
version=3.2.1
revision=3
archs=noarch
wrksrc="Markdown-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Python3 implementation of John Gruber's Markdown"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="BSD-3-Clause"
homepage="https://github.com/waylan/Python-Markdown"
distfiles="${PYPI_SITE}/M/Markdown/Markdown-${version}.tar.gz"
checksum=90fee683eeabe1a92e149f7ba74e5ccdc81cd397bd6c516d93a8da0ef90b6902
alternatives="markdown:markdown_py:/usr/bin/markdown_py3"
post_install() {
vlicense LICENSE.md LICENSE
mv ${DESTDIR}/usr/bin/markdown_py ${DESTDIR}/usr/bin/markdown_py3
}