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