- Add patch use-assertequal.patch:
* Use non-deprecated assertion methods. - No more greedy globs in %files. - Switch to autosetup and pyproject macros. - Reflow Summary. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fleming?expand=0&rev=6
This commit is contained in:
parent
5d6372cedd
commit
acec39f14b
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 15 01:19:37 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add patch use-assertequal.patch:
|
||||||
|
* Use non-deprecated assertion methods.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
- Switch to autosetup and pyproject macros.
|
||||||
|
- Reflow Summary.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 12 03:23:44 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Wed Oct 12 03:23:44 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fleming
|
# spec file for package python-fleming
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 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,17 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
Name: python-fleming
|
Name: python-fleming
|
||||||
Version: 0.7.0
|
Version: 0.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python helpers for manipulating datetime objects relative to time zones
|
Summary: Manipulate datetime objects relative to time zones
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/ambitioninc/fleming
|
URL: https://github.com/ambitioninc/fleming
|
||||||
Source: https://github.com/ambitioninc/fleming/archive/%{version}.tar.gz#/fleming-%{version}.tar.gz
|
Source: https://github.com/ambitioninc/fleming/archive/%{version}.tar.gz#/fleming-%{version}.tar.gz
|
||||||
|
Patch0: use-assertequal.patch
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
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: python-python-dateutil >= 2.2
|
Requires: python-python-dateutil >= 2.2
|
||||||
@ -43,14 +44,14 @@ BuildRequires: %{python_module pytz >= 2013.9}
|
|||||||
Python helpers for manipulating datetime objects relative to time zones.
|
Python helpers for manipulating datetime objects relative to time zones.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n fleming-%{version}
|
%autosetup -p1 -n fleming-%{version}
|
||||||
mv fleming/tests/ .
|
mv fleming/tests/ .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -59,6 +60,7 @@ mv fleming/tests/ .
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst docs/release_notes.rst
|
%doc README.rst docs/release_notes.rst
|
||||||
%license LICENSE.rst
|
%license LICENSE.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/fleming
|
||||||
|
%{python_sitelib}/fleming-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
1341
use-assertequal.patch
Normal file
1341
use-assertequal.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user