diff --git a/srcpkgs/python-gitlab/template b/srcpkgs/python-gitlab/template index fe3c1887bc6..707555efcf8 100644 --- a/srcpkgs/python-gitlab/template +++ b/srcpkgs/python-gitlab/template @@ -1,20 +1,26 @@ # Template file for 'python-gitlab' pkgname=python-gitlab -version=1.3.0 +version=1.4.0 revision=1 noarch=yes build_style=python-module pycompile_module="gitlab" hostmakedepends="python-setuptools python3-setuptools" depends="python-setuptools python-requests python-six" +checkdepends="${depends} python-httmock python-mock" short_desc="Wrapper for GitLab's API (Python2)" maintainer="Joseph LaFreniere " -homepage="https://github.com/gpocentek/python-gitlab" license="LGPL-3.0-or-later" +homepage="https://github.com/gpocentek/python-gitlab" +changelog="https://raw.githubusercontent.com/python-gitlab/python-gitlab/master/ChangeLog.rst" distfiles="${PYPI_SITE}/p/python-gitlab/python-gitlab-${version}.tar.gz" -checksum=74ef4e98383043403d786d1719579b9a638666809b47d93a9fa8f0bd9f12ab84 +checksum=34a5eb1704e68a23bafb9b122c456ff72b3e1a2d3bdcd44346bbde6a5d7af511 alternatives="python-gitlab:gitlab:/usr/bin/gitlab2" +do_check() { + python setup.py test +} + python3-gitlab_package() { noarch=yes depends="python3-setuptools python3-requests python3-six"