Date: Monday, November 14, 2022 @ 20:31:32
  Author: alex19ep
Revision: 1347663

upgpkg: trash-cli 0.22.10.20-1 upstream release

Modified:
  trash-cli/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-14 20:23:14 UTC (rev 1347662)
+++ PKGBUILD    2022-11-14 20:31:32 UTC (rev 1347663)
@@ -4,8 +4,8 @@
 # Contributor: Renato Garcia <[email protected]>
 
 pkgname=trash-cli
-pkgver=0.22.8.27
-pkgrel=2
+pkgver=0.22.10.20
+pkgrel=1
 pkgdesc="Command line trashcan (recycle bin) interface"
 arch=('any')
 url="https://github.com/andreafrancia/trash-cli";
@@ -12,9 +12,9 @@
 license=('GPL')
 depends=('python-psutil')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-six')
+checkdepends=('python-pytest' 'python-six' 'python-flexmock' 
'python-parameterized')
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('d1b82193c2316aa5bf7b80be4cf623b8f0bfb6de10bcc65cd232f66725aec53c')
+sha256sums=('74f8dabc4bb0da368bbfe847eccbeaf75326d00b8e85849d6c2b7b9044c4fadc')
 
 prepare() {
     cd "${srcdir}"/${pkgname}-${pkgver}
@@ -21,7 +21,7 @@
 
     # don't depend on thirdparty copies of the stdlib
     find tests -type f -name "*.py" -exec \
-        sed -i 's/^import mock$/from unittest import mock/;s/from mock /from 
unittest.mock /' {} +
+        sed -i 's/^import mock$/from unittest import mock/;s/from mock /from 
unittest.mock /;s/from mock.mock /from unittest.mock /' {} +
 }
 
 build() {

Reply via email to