From 9e79631af8762a795bf1252fd4abc1bdf3fb495f Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Thu, 2 Dec 2021 16:32:42 +0100 Subject: [PATCH] python3-pykeepass: remove site-packages/tests --- srcpkgs/python3-pykeepass/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-pykeepass/template b/srcpkgs/python3-pykeepass/template index 532f3a77a13..5571c1a18db 100644 --- a/srcpkgs/python3-pykeepass/template +++ b/srcpkgs/python3-pykeepass/template @@ -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 +}