[arch-commits] Commit in trash-cli/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Mon Jun 14 00:23:05 UTC 2021
Date: Monday, June 14, 2021 @ 00:23:04
Author: eschwartz
Revision: 963351
upgpkg: trash-cli 0.21.6.10.1-1: upstream release
Modified:
trash-cli/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-14 00:14:22 UTC (rev 963350)
+++ PKGBUILD 2021-06-14 00:23:04 UTC (rev 963351)
@@ -3,7 +3,7 @@
# Contributor: Renato Garcia <fgarcia.renato at gmail.com>
pkgname=trash-cli
-pkgver=0.21.5.25
+pkgver=0.21.6.10.1
pkgrel=1
pkgdesc="Command line trashcan (recycle bin) interface"
arch=('any')
@@ -13,7 +13,7 @@
makedepends=('python-setuptools')
checkdepends=('python-pytest')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('1c26cbaa8daac275768c5f46c52d693af76050a6ee6d30b10a169059b61ee270')
+sha256sums=('4b6ccbb0c49d287e9a462bf6beb7c7f02a080c14987dc1bd1507cbcae0fd8ab4')
prepare() {
cd "${srcdir}"/${pkgname}-${pkgver}
@@ -21,13 +21,11 @@
# 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 /' {} +
-
- # don't install dev tooling? https://github.com/andreafrancia/trash-cli/issues/205
- rm trashcli/bump.py tests/test_bump.py
}
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
+
python setup.py build
}
More information about the arch-commits
mailing list