27 lines
853 B
Bash
27 lines
853 B
Bash
# Template file for 'python3-send2trash'
|
|
pkgname=python3-send2trash
|
|
version=1.8.3
|
|
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=b18e7a3966d99871aefeb00cfbcfdced55ce4871194810fc71f4aa484b953abf
|
|
|
|
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
|
|
}
|