forked from pool/python-Send2Trash
Accepting request 1106044 from home:bnavigator:branches:devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/1106044 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Send2Trash?expand=0&rev=12
This commit is contained in:
parent
986419f57a
commit
3c91000ea0
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:937b038abd9f1e7b8c5d7a116be5dc4663beb71df74dcccffe56cacf992c7a9c
|
||||
size 15040
|
BIN
Send2Trash-1.8.2-gh.tar.gz
(Stored with Git LFS)
Normal file
BIN
Send2Trash-1.8.2-gh.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 26 13:11:25 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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 <ecsos@opensuse.org>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user