aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2021-06-23 14:47:20 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-07-14 18:20:51 -0300
commitf72366cdf5465c2aa7034ac0ef3da03c7b1da8b0 (patch)
tree3431c53a0d2d66fba16032114ae12df704943216
parent5bf0ebf49a63ca945a8d3ad57fe4559ba1d58784 (diff)
downloadaports-f72366cdf5465c2aa7034ac0ef3da03c7b1da8b0.tar.gz
aports-f72366cdf5465c2aa7034ac0ef3da03c7b1da8b0.tar.bz2
aports-f72366cdf5465c2aa7034ac0ef3da03c7b1da8b0.tar.xz
community/py3-send2trash: upgrade to 1.7.1
disable tests (not provided on Pypi)
-rw-r--r--community/py3-send2trash/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/py3-send2trash/APKBUILD b/community/py3-send2trash/APKBUILD
index 79e7bb348b..e3a9d1e6c7 100644
--- a/community/py3-send2trash/APKBUILD
+++ b/community/py3-send2trash/APKBUILD
@@ -1,26 +1,29 @@
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-send2trash
-pkgver=1.5.0
-pkgrel=2
+pkgver=1.7.1
+pkgrel=0
pkgdesc="Send file to trash natively"
url="https://github.com/hsoft/send2trash"
arch="noarch"
license="BSD-3-Clause"
makedepends="py3-setuptools"
-source="https://files.pythonhosted.org/packages/source/S/Send2Trash/Send2Trash-$pkgver.tar.gz"
-builddir="$srcdir/"Send2Trash-$pkgver
+checkdepends="py3-pytest"
+source="$pkgname-$pkgver.tar.gz::https://github.com/arsenetar/send2trash/archive/refs/tags/$pkgver.tar.gz"
+builddir="$srcdir/"send2trash-$pkgver
build() {
python3 setup.py build
}
check() {
- python3 setup.py test
+ pytest tests
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="3c08ef513e5707cd4ac82290b326bb19161222c7a84b8ffd494789ba9858929241f55ea55482947af464c14e32fea27bd92cd762a32a1d55e2daf2e21fd63172 Send2Trash-1.5.0.tar.gz"
+sha512sums="
+fcd69251f27973a1693e1089cb979d6c79e0625c5b88df6c3db9a790fcc845d5a82586871f439f8481d53591ba123680b971b817ee4931e5f439d5df00cdf6a7 py3-send2trash-1.7.1.tar.gz
+"