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