python3-send2trash: update to 1.8.2.

This commit is contained in:
Gonzalo Tornaría 2023-09-26 12:31:11 -03:00 committed by Andrew J. Hesford
parent 6854fd39e2
commit 3dea1ef02d
1 changed files with 15 additions and 7 deletions

View File

@ -1,17 +1,25 @@
# Template file for 'python3-send2trash'
pkgname=python3-send2trash
version=1.8.0
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools python3-pytest"
version=1.8.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 library to natively send files to trash"
maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/hsoft/send2trash"
distfiles="https://github.com/hsoft/send2trash/archive/${version}.tar.gz"
checksum=937b038abd9f1e7b8c5d7a116be5dc4663beb71df74dcccffe56cacf992c7a9c
make_check=ci-skip # fails "test_trash_topdir_failure" due to root
changelog="https://raw.githubusercontent.com/arsenetar/send2trash/master/CHANGES.rst"
distfiles="${PYPI_SITE}/S/Send2Trash/Send2Trash-${version}.tar.gz"
checksum=c132d59fa44b9ca2b1699af5c86f57ce9f4c5eb56629d5d55fbb7a35f84e2312
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# this test fails on CI (due to root)
make_check_args="
--deselect=tests/test_plat_other.py::test_trash_topdir_failure
"
fi
post_install() {
vlicense LICENSE