void-packages/srcpkgs/python3-md2gemini/template

21 lines
767 B
Bash

# Template file for 'python3-md2gemini'
pkgname=python3-md2gemini
version=1.9.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools python3-mistune2 python3-cjkwrap
python3-wcwidth"
depends="python3-mistune2 python3-cjkwrap python3-wcwidth"
checkdepends="$depends python3-pytest"
short_desc="Converter from Markdown to the Gemini text format"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="LGPL-3.0-only"
homepage="https://github.com/makeworld-the-better-one/md2gemini"
distfiles="${PYPI_SITE}/m/md2gemini/md2gemini-${version}.tar.gz"
checksum=775cee2be36aa0f4b7ea2861f2ac7d80e113f78b40a58f92192b6c73f6c84e75
post_install() {
# remove tests directory polluting site-packages
rm -r $DESTDIR/usr/lib/python*/site-packages/tests
}