[arch-commits] Commit in python-gitlab/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 14:50:43 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:50:43
Author: foutrelis
Revision: 1059391
archrelease: copy trunk to community-staging-any
Added:
python-gitlab/repos/community-staging-any/
python-gitlab/repos/community-staging-any/PKGBUILD
(from rev 1059390, python-gitlab/trunk/PKGBUILD)
----------+
PKGBUILD | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
Copied: python-gitlab/repos/community-staging-any/PKGBUILD (from rev 1059390, python-gitlab/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:50:43 UTC (rev 1059391)
@@ -0,0 +1,21 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: crab2313 <crab2313 at gmail.com>
+
+pkgname=python-gitlab
+pkgver=2.10.1
+pkgrel=3
+pkgdesc="Python wrapper for the GitLab API"
+arch=(any)
+url="https://github.com/python-gitlab/python-gitlab"
+license=('LGPL3')
+depends=('python' 'python-requests' 'python-six' 'python-requests-toolbelt')
+makedepends=('python-setuptools')
+source=($pkgname-$pkgver.tar.gz::https://github.com/python-gitlab/python-gitlab/archive/v${pkgver}.tar.gz)
+sha512sums=('7c71c6cae69e1ccc48aaae03364533b4fc047705a219ccb67b3bd7a5d7e5061d39862790e3b354ca5082cfb0b9bf6a380bcf0c767f7c285c9337f8dd22756154')
+
+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.10/site-packages/tests"
+}
More information about the arch-commits
mailing list