[arch-commits] Commit in python-gitlab/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Mon Aug 30 16:26:58 UTC 2021
Date: Monday, August 30, 2021 @ 16:26:57
Author: svenstaro
Revision: 1010046
upgpkg: python-gitlab 2.10.1-2: Remove installed tests
They shouldn't have been there to begin with.
Modified:
python-gitlab/trunk/PKGBUILD
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-30 15:52:07 UTC (rev 1010045)
+++ PKGBUILD 2021-08-30 16:26:57 UTC (rev 1010046)
@@ -3,7 +3,7 @@
pkgname=python-gitlab
pkgver=2.10.1
-pkgrel=1
+pkgrel=2
pkgdesc="Python wrapper for the GitLab API"
arch=(any)
url="https://github.com/python-gitlab/python-gitlab"
@@ -16,4 +16,6 @@
package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
+ # Tests get installed into the package for some reason
+ rm -rf "$pkgdir/usr/lib/python3.9/site-packages/tests"
}
More information about the arch-commits
mailing list