void-packages/srcpkgs/python3-send2trash/template

27 lines
853 B
Bash

# Template file for 'python3-send2trash'
pkgname=python3-send2trash
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"
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
}