python-proselint: remove tests directory polluting site-packages
This commit is contained in:
parent
e5a42435ca
commit
b9227b8d5e
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue