python-gogs-client: remove tests directory polluting site-packages
This commit is contained in:
parent
6674e7af7d
commit
e5a42435ca
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-gogs-client'
|
# Template file for 'python-gogs-client'
|
||||||
pkgname=python-gogs-client
|
pkgname=python-gogs-client
|
||||||
version=1.0.6
|
version=1.0.6
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="gogs_client-${version}"
|
wrksrc="gogs_client-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -17,6 +17,8 @@ checksum=4bd585ff86f6d70a245cea3b9b9756205bdaa9f512b314c47f715842970b3d3f
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
|
# remove tests directory polluting site-packages
|
||||||
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-gogs-client_package() {
|
python3-gogs-client_package() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue