From e5a42435caeb4aff7f5d019293942ff614e9f202 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 29 Jul 2017 12:36:14 +0200 Subject: [PATCH] python-gogs-client: remove tests directory polluting site-packages --- srcpkgs/python-gogs-client/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python-gogs-client/template b/srcpkgs/python-gogs-client/template index 888abb3eca7..8ce22c2f58e 100644 --- a/srcpkgs/python-gogs-client/template +++ b/srcpkgs/python-gogs-client/template @@ -1,7 +1,7 @@ # Template file for 'python-gogs-client' pkgname=python-gogs-client version=1.0.6 -revision=1 +revision=2 noarch=yes wrksrc="gogs_client-${version}" build_style=python-module @@ -17,6 +17,8 @@ checksum=4bd585ff86f6d70a245cea3b9b9756205bdaa9f512b314c47f715842970b3d3f post_install() { vlicense LICENSE.txt + # remove tests directory polluting site-packages + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests } python3-gogs-client_package() {