# Contributor: Justin Berthault # Maintainer: Justin Berthault pkgname=py3-send2trash pkgver=1.8.0 pkgrel=3 pkgdesc="Send file to trash natively" url="https://github.com/arsenetar/send2trash" arch="noarch" license="BSD-3-Clause" makedepends="py3-setuptools" 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() { pytest tests } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 9dc15fbd262eb5a05a355b436c0e582e5ef9b484f859b53faafe6af5bd08ef88b9aa5121485c2fffb7dbe5aeeef29f6719035e08c61da273fd4fa51383b062fe py3-send2trash-1.8.0.tar.gz "