From fb1669ca9b501f4a8c297684b88b8b4ad4d506e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 22:31:11 +0700 Subject: [PATCH] python-gitlab: drop package --- srcpkgs/python-gitlab/template | 34 --------------------------------- srcpkgs/python3-gitlab | 1 - srcpkgs/python3-gitlab/template | 21 ++++++++++++++++++++ 3 files changed, 21 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/python-gitlab/template delete mode 120000 srcpkgs/python3-gitlab create mode 100644 srcpkgs/python3-gitlab/template diff --git a/srcpkgs/python-gitlab/template b/srcpkgs/python-gitlab/template deleted file mode 100644 index 0f71b4c7153..00000000000 --- a/srcpkgs/python-gitlab/template +++ /dev/null @@ -1,34 +0,0 @@ -# Template file for 'python-gitlab' -pkgname=python-gitlab -version=1.12.1 -revision=2 -archs=noarch -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 " -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 -alternatives="python-gitlab:gitlab:/usr/bin/gitlab2" - -do_check() { - python2 setup.py test -} - -python3-gitlab_package() { - archs=noarch - depends="python3-setuptools python3-requests python3-six" - pycompile_module="gitlab" - short_desc="${short_desc/Python2/Python3}" - alternatives="python-gitlab:gitlab:/usr/bin/gitlab3" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-gitlab b/srcpkgs/python3-gitlab deleted file mode 120000 index 67de9d9568d..00000000000 --- a/srcpkgs/python3-gitlab +++ /dev/null @@ -1 +0,0 @@ -python-gitlab \ No newline at end of file diff --git a/srcpkgs/python3-gitlab/template b/srcpkgs/python3-gitlab/template new file mode 100644 index 00000000000..5c0080bc92a --- /dev/null +++ b/srcpkgs/python3-gitlab/template @@ -0,0 +1,21 @@ +# Template file for 'python3-gitlab' +pkgname=python3-gitlab +version=1.12.1 +revision=3 +wrksrc=python-gitlab-$version +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools python3-requests python3-six" +checkdepends="${depends}" +short_desc="Wrapper for GitLab's API (Python3)" +maintainer="Joseph LaFreniere " +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 +conflicts="python-gitlab>=0" + +do_check() { + python2 setup.py test +}