diff --git a/srcpkgs/python3-send2trash/template b/srcpkgs/python3-send2trash/template index a77d4794753..34c635ff1e1 100644 --- a/srcpkgs/python3-send2trash/template +++ b/srcpkgs/python3-send2trash/template @@ -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 " 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