forked from pool/python-Send2Trash
Accepting request 1106284 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1106284 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Send2Trash?expand=0&rev=6
This commit is contained in:
commit
dfb13d5eb7
@ -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>
|
Thu Aug 3 17:41:08 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Send2Trash
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,29 +16,26 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# test scripts missing
|
|
||||||
%define oldpython python
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Send2Trash
|
Name: python-Send2Trash
|
||||||
Version: 1.8.0
|
Version: 1.8.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python library to send files to the Trash location
|
Summary: Python library to send files to the Trash location
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/arsenetar/send2trash
|
URL: https://github.com/arsenetar/send2trash
|
||||||
Source: https://github.com/arsenetar/send2trash/archive/refs/tags/%{version}.tar.gz#/Send2Trash-%{version}-gh.tar.gz
|
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 pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: typelib(GObject)
|
Requires: typelib(GObject)
|
||||||
Requires: typelib(Gio)
|
Requires: typelib(Gio)
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
%ifpython2
|
Provides: python-send2trash = %{version}-%{release}
|
||||||
Obsoletes: %{oldpython}-send2trash < %{version}
|
|
||||||
Provides: %{oldpython}-send2trash = %{version}
|
|
||||||
%endif
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -56,10 +53,10 @@ freedesktop.org.
|
|||||||
%setup -q -n send2trash-%{version}
|
%setup -q -n send2trash-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/send2trash
|
%python_clone -a %{buildroot}%{_bindir}/send2trash
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
@ -78,6 +75,6 @@ export LANG=en_US.UTF8
|
|||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%python_alternative %{_bindir}/send2trash
|
%python_alternative %{_bindir}/send2trash
|
||||||
%{python_sitelib}/send2trash
|
%{python_sitelib}/send2trash
|
||||||
%{python_sitelib}/Send2Trash-%{version}*-info
|
%{python_sitelib}/Send2Trash-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user