From 1d91af21d03ac00b21baecd49f066986dec1883e Mon Sep 17 00:00:00 2001 From: Ishaan Bhimwal Date: Sat, 16 Jul 2022 01:20:22 +0530 Subject: [PATCH] python3-gitlab: update to 3.6.0 and adopt --- srcpkgs/python3-gitlab/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-gitlab/template b/srcpkgs/python3-gitlab/template index ecd31be86034..32ae0e3585b7 100644 --- a/srcpkgs/python3-gitlab/template +++ b/srcpkgs/python3-gitlab/template @@ -1,21 +1,21 @@ # Template file for 'python3-gitlab' pkgname=python3-gitlab -version=1.12.1 -revision=5 +version=3.6.0 +revision=1 wrksrc=python-gitlab-$version build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-setuptools python3-requests python3-six" -checkdepends="${depends}" +depends="python3-requests python3-requests-toolbelt" +checkdepends="python3-pytest python3-responses python3-wheel ${depends}" short_desc="Wrapper for GitLab's API (Python3)" -maintainer="Orphaned " +maintainer="Ishaan Bhimwal " 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=984e110c1f76fd939652c30ce3101267a7064e34417cbfc4687e6106d4db54ec +checksum=901c54ff926f10479cb591a34d65f0a3022f2bcc41074f9a192c7fa7e4c57061 conflicts="python-gitlab>=0" -do_check() { - python2 setup.py test +post_extract() { + rm -r tests/functional }