void-packages/srcpkgs/python3-Markdown/template

22 lines
722 B
Bash

# Template file for 'python3-Markdown'
pkgname=python3-Markdown
version=3.2.2
revision=1
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=1fafe3f1ecabfb514a5285fca634a53c1b32a81cb0feb154264d55bf2ff22c17
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
}