1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-send2trash/APKBUILD
Justin Berthault f72366cdf5 community/py3-send2trash: upgrade to 1.7.1
disable tests (not provided on Pypi)
2021-07-14 18:20:51 -03:00

29 lines
795 B
Text

# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-send2trash
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"
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 --prefix=/usr --root="$pkgdir"
}
sha512sums="
fcd69251f27973a1693e1089cb979d6c79e0625c5b88df6c3db9a790fcc845d5a82586871f439f8481d53591ba123680b971b817ee4931e5f439d5df00cdf6a7 py3-send2trash-1.7.1.tar.gz
"