From 89b7397d19dc616f762127f352eb8662d95b175b Mon Sep 17 00:00:00 2001 From: MouadCharradi Date: Wed, 9 Mar 2022 23:11:20 +0100 Subject: [PATCH 1/4] trash-cli: update to 0.21.10.24. --- srcpkgs/trash-cli/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/trash-cli/template b/srcpkgs/trash-cli/template index d093cfcd1a259b..0faf52754bcbbc 100644 --- a/srcpkgs/trash-cli/template +++ b/srcpkgs/trash-cli/template @@ -1,7 +1,7 @@ # Template file for 'trash-cli' pkgname=trash-cli -version=0.20.12.26 -revision=2 +version=0.21.10.24 +revision=1 build_style=python3-module hostmakedepends="python3" depends="python3-psutil" @@ -11,4 +11,8 @@ maintainer="Anjandev Momi " license="GPL-2.0-or-later" homepage="https://github.com/andreafrancia/trash-cli" distfiles="https://github.com/andreafrancia/trash-cli/archive/${version}.tar.gz" -checksum=06173eaca9b7fbda661ac7d84f900c7f4d17db5dd6ee4b3617bcf2182cde0f31 +checksum=37601b714b9a42b217765c6eb7ae20b36796b92c642feea6bd275e1c702799ed + +do_check() { + python3 -m pytest -k 'not test_help' +} From 704103a8beb15b6b5219ea82ed58367dd302e54c Mon Sep 17 00:00:00 2001 From: MouadCharradi Date: Thu, 17 Mar 2022 19:51:07 +0100 Subject: [PATCH 2/4] added python3-setuptools dependency --- srcpkgs/trash-cli/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/trash-cli/template b/srcpkgs/trash-cli/template index 0faf52754bcbbc..4d979974c53676 100644 --- a/srcpkgs/trash-cli/template +++ b/srcpkgs/trash-cli/template @@ -3,7 +3,7 @@ pkgname=trash-cli version=0.21.10.24 revision=1 build_style=python3-module -hostmakedepends="python3" +hostmakedepends="python3 python3-setuptools" depends="python3-psutil" checkdepends="$depends python3-pytest python3-six python3-mock" short_desc="Command line interface to the freedesktop.org trashcan" From c2ec86868501f43d1440436c78aa87ffc2e96ca7 Mon Sep 17 00:00:00 2001 From: MouadCharradi Date: Thu, 17 Mar 2022 20:00:34 +0100 Subject: [PATCH 3/4] removed do_check func --- srcpkgs/trash-cli/template | 4 ---- 1 file changed, 4 deletions(-) diff --git a/srcpkgs/trash-cli/template b/srcpkgs/trash-cli/template index 4d979974c53676..19f892b826242c 100644 --- a/srcpkgs/trash-cli/template +++ b/srcpkgs/trash-cli/template @@ -12,7 +12,3 @@ license="GPL-2.0-or-later" homepage="https://github.com/andreafrancia/trash-cli" distfiles="https://github.com/andreafrancia/trash-cli/archive/${version}.tar.gz" checksum=37601b714b9a42b217765c6eb7ae20b36796b92c642feea6bd275e1c702799ed - -do_check() { - python3 -m pytest -k 'not test_help' -} From d211cf4d06fcfc46c243d8fa1d6ed50c80bff2db Mon Sep 17 00:00:00 2001 From: MouadCharradi Date: Thu, 17 Mar 2022 20:09:03 +0100 Subject: [PATCH 4/4] skip ci test --- srcpkgs/trash-cli/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/trash-cli/template b/srcpkgs/trash-cli/template index 19f892b826242c..9892e828921dbf 100644 --- a/srcpkgs/trash-cli/template +++ b/srcpkgs/trash-cli/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/andreafrancia/trash-cli" distfiles="https://github.com/andreafrancia/trash-cli/archive/${version}.tar.gz" checksum=37601b714b9a42b217765c6eb7ae20b36796b92c642feea6bd275e1c702799ed +make_check=skip-ci # tests pass locally