diff options
Diffstat (limited to 'community/py3-gitlab/APKBUILD')
-rw-r--r-- | community/py3-gitlab/APKBUILD | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/community/py3-gitlab/APKBUILD b/community/py3-gitlab/APKBUILD deleted file mode 100644 index 4b754fe3d83..00000000000 --- a/community/py3-gitlab/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Leo <thinkabit.ukim@gmail.com> -# Maintainer: Leo <thinkabit.ukim@gmail.com> -pkgname=py3-gitlab -_pkgname=python-gitlab -pkgver=2.5.0 -pkgrel=0 -pkgdesc="v4 GitLab API compliant library and cmdline tool" -options="!check" # Requires unpackaged 'httmock' -url="https://github.com/python-gitlab/python-gitlab" -arch="noarch" -license="LGPL-3.0-or-later" -depends="python3 py3-requests py3-six py3-setuptools" -checkdepends="py3-pytest py3-mock py3-responses" -source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - python3 setup.py build -} - -check() { - # Ignore tests that require unpackaged 'httmock' - python3 -m pytest \ - --ignore gitlab/tests/test_gitlab.py \ - --ignore gitlab/tests/test_mixins.py \ - --ignore gitlab/tests/objects/test_application.py \ - --ignore gitlab/tests/objects/test_commits.py \ - --ignore gitlab/tests/objects/test_groups.py \ - --ignore gitlab/tests/objects/test_projects.py -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="7382f9ea2388c6916f3c7e63df137d73f0fdfb3890a8bbb47e766f3476b6febecd1dcbc588445ae1af1b5f17c9a3e6ed9a931fd9fff010c2c37967eab5440824 python-gitlab-2.5.0.tar.gz" |