python3-md2gemini: remove site-packages/tests
This commit is contained in:
parent
9ad5e4cbbd
commit
eff2487783
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue