diff --git a/Send2Trash-1.8.0-gh.tar.gz b/Send2Trash-1.8.0-gh.tar.gz deleted file mode 100644 index 6f44bf9..0000000 --- a/Send2Trash-1.8.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:937b038abd9f1e7b8c5d7a116be5dc4663beb71df74dcccffe56cacf992c7a9c -size 15040 diff --git a/Send2Trash-1.8.2-gh.tar.gz b/Send2Trash-1.8.2-gh.tar.gz new file mode 100644 index 0000000..bc720fb --- /dev/null +++ b/Send2Trash-1.8.2-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fc5e578a8f5c34455dd76e26909e73ea61250d796d23e36804999d4318cd5c2 +size 17074 diff --git a/python-Send2Trash.changes b/python-Send2Trash.changes index 02ba185..fee2769 100644 --- a/python-Send2Trash.changes +++ b/python-Send2Trash.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Aug 26 13:11:25 UTC 2023 - Ben Greiner + +- Update to 1.8.2 + * Add fallback to HOMETRASH when cross device errors happen in + plat_other (#26, #41, #63) + * win/legacy: tiny logic simplification by @BoboTiG in #77 +- PEP517 +- Drop Python2 code + ------------------------------------------------------------------- Thu Aug 3 17:41:08 UTC 2023 - ecsos diff --git a/python-Send2Trash.spec b/python-Send2Trash.spec index 9b48fd8..b23dea4 100644 --- a/python-Send2Trash.spec +++ b/python-Send2Trash.spec @@ -1,7 +1,7 @@ # # spec file for package python-Send2Trash # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,29 +16,26 @@ # -# test scripts missing -%define oldpython python %{?sle15_python_module_pythons} Name: python-Send2Trash -Version: 1.8.0 +Version: 1.8.2 Release: 0 Summary: Python library to send files to the Trash location License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/arsenetar/send2trash Source: https://github.com/arsenetar/send2trash/archive/refs/tags/%{version}.tar.gz#/Send2Trash-%{version}-gh.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: typelib(GObject) Requires: typelib(Gio) Requires(post): update-alternatives Requires(postun):update-alternatives -%ifpython2 -Obsoletes: %{oldpython}-send2trash < %{version} -Provides: %{oldpython}-send2trash = %{version} -%endif +Provides: python-send2trash = %{version}-%{release} BuildArch: noarch %python_subpackages @@ -56,10 +53,10 @@ freedesktop.org. %setup -q -n send2trash-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/send2trash %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -78,6 +75,6 @@ export LANG=en_US.UTF8 %doc CHANGES.rst README.rst %python_alternative %{_bindir}/send2trash %{python_sitelib}/send2trash -%{python_sitelib}/Send2Trash-%{version}*-info +%{python_sitelib}/Send2Trash-%{version}.dist-info %changelog