Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37711134
en ru br
ALT Linux repos
S:1.8.0-alt1

Group :: Development/Python3
RPM: python3-module-send2trash

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname send2trash
%def_with check

Name: python3-module-%oname
Version: 1.8.0
Release: alt1

Summary: Python library to natively send files to Trash
License: BSD-3-Clause
Group: Development/Python3
Url: https://github.com/hsoft/send2trash
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-flake8
%endif

%filter_from_requires /python3(Foundation)/d
%filter_from_requires /python3(pythoncom)/d
%filter_from_requires /python3(pywintypes)/d
%filter_from_requires /python3(win32.*)/d


# git://git.altlinux.org/gears/p/python-module-send2trash.git

Source: %name-%version.tar

%description
Send2Trash is a small package that sends files to the Trash
natively and on all platforms.

%prep
%setup

%build
%pyproject_build

%install
%pyproject_install

%check
%tox_check

%files
%doc LICENSE README.rst
%_bindir/%oname
%python3_sitelibdir/%oname/
%python3_sitelibdir/Send2Trash-*.dist-info

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin