From b9227b8d5ec418ad43b9b5646ecdb52b8df273b5 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 29 Jul 2017 12:38:32 +0200 Subject: [PATCH] python-proselint: remove tests directory polluting site-packages --- srcpkgs/python-proselint/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python-proselint/template b/srcpkgs/python-proselint/template index 62b252ed7e7..a2eb6256e51 100644 --- a/srcpkgs/python-proselint/template +++ b/srcpkgs/python-proselint/template @@ -1,7 +1,7 @@ # Template file for 'python-proselint' pkgname=python-proselint version=0.8.0 -revision=1 +revision=2 noarch=yes wrksrc="proselint-${version}" build_style=python-module @@ -18,6 +18,8 @@ alternatives="proselint:proselint:/usr/bin/proselint2" post_install() { vlicense LICENSE.md + # remove tests directory polluting site-packages + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests } python3-proselint_package() {