diff --git a/srcpkgs/python3-md2gemini/template b/srcpkgs/python3-md2gemini/template index 508f152fa93..4b4f88c7233 100644 --- a/srcpkgs/python3-md2gemini/template +++ b/srcpkgs/python3-md2gemini/template @@ -1,7 +1,7 @@ # Template file for 'python3-md2gemini' pkgname=python3-md2gemini version=1.8.1 -revision=1 +revision=2 wrksrc="md2gemini-${version}" build_style=python3-module hostmakedepends="python3-setuptools python3-mistune2 python3-cjkwrap @@ -14,3 +14,8 @@ 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 +}