void-packages/srcpkgs/python3-rst2ansi/template

24 lines
795 B
Bash

# Template file for 'python3-rst2ansi'
pkgname=python3-rst2ansi
version=0.1.5
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-docutils"
short_desc="Python utility for rendering RST in the terminal"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="https://github.com/Snaipe/python-rst2ansi"
distfiles="
${PYPI_SITE}/r/rst2ansi/rst2ansi-${version}.tar.gz
https://raw.githubusercontent.com/Snaipe/python-rst2ansi/v${version}/LICENSE
"
checksum="1b17fb9a628d40f57933ad1a3aa952346444be069469508e73e95060da33fe6f
f9e900cbd36e32459517036a0e55e437c6311dca5eee1a9086df9f525e94d8c0"
make_check=no # package defines no tests
skip_extraction="LICENSE"
post_install() {
vlicense "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/LICENSE"
}