python3-pykeepass: remove site-packages/tests

This commit is contained in:
Michal Vasilek 2021-12-02 16:32:42 +01:00
parent eff2487783
commit 9e79631af8

View file

@ -1,7 +1,7 @@
# Template file for 'python3-pykeepass'
pkgname=python3-pykeepass
version=4.0.1
revision=1
revision=2
wrksrc="pykeepass-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
@ -15,3 +15,8 @@ homepage="https://github.com/libkeepass/pykeepass"
changelog="https://raw.githubusercontent.com/libkeepass/pykeepass/master/CHANGELOG.rst"
distfiles="https://github.com/libkeepass/pykeepass/archive/refs/tags/${version}.tar.gz"
checksum=ac5966ede4fae1a0d3ea1997468a14b893a8f8dab136b1c14425b3b2763e68e3
post_install() {
# remove tests directory polluting site-packages
rm -r $DESTDIR/usr/lib/python*/site-packages/tests
}