# Template file for 'python3-md2gemini' pkgname=python3-md2gemini version=1.8.1 revision=2 wrksrc="md2gemini-${version}" 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 " license="LGPL-3.0-only" homepage="https://github.com/makeworld-the-better-one/md2gemini" distfiles="${PYPI_SITE}/m/md2gemini/md2gemini-${version}.tar.gz" checksum=3ef2bd2d9e2b4968a844a2858f721348429f3a0b5976bd1c324198538103ca55 post_install() { # remove tests directory polluting site-packages rm -r $DESTDIR/usr/lib/python*/site-packages/tests }