Accepting request 1000007 from home:bnavigator:branches:devel:languages:python

- update to 3.2.2
  * Refreshed package metadata.
  * Enrolled with Tidelift.
- Switch to PEP517 and remove obsolete jaraco.base requirement

OBS-URL: https://build.opensuse.org/request/show/1000007
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.classes?expand=0&rev=12
This commit is contained in:
Markéta Machová 2022-08-29 12:03:55 +00:00 committed by Git OBS Bridge
parent 57e51e38ad
commit 36f7f7bff3
4 changed files with 22 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed54b728af1937dc16b7236fbaf34ba561ba1ace572b03fffa5486ed363ecf34
size 12286

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6745f113b0b588239ceb49532aa09c3ebb947433ce311ef2f8e3ad64ebb74594
size 9266

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 29 11:46:38 UTC 2022 - Ben Greiner <code@bnavigator.de>
- update to 3.2.2
* Refreshed package metadata.
* Enrolled with Tidelift.
- Switch to PEP517 and remove obsolete jaraco.base requirement
-------------------------------------------------------------------
Mon Aug 29 08:55:57 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -16,23 +16,22 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jaraco.classes
Version: 3.2.1
Version: 3.2.2
Release: 0
Summary: Tools to work with classes
License: MIT
URL: https://github.com/jaraco/jaraco.classes
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-%{version}.tar.gz
BuildRequires: %{python_module jaraco.base >= 6.1}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-jaraco.base >= 6.1
Requires: python-more-itertools
BuildArch: noarch
%python_subpackages
@ -42,14 +41,13 @@ jaraco.classes Tools for working with classes.
%prep
%setup -q -n jaraco.classes-%{version}
sed -i 's/--flake8//' pytest.ini
sed -i 's/--black --cov//' pytest.ini
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
@ -57,7 +55,8 @@ sed -i 's/--black --cov//' pytest.ini
%files %{python_files}
%license LICENSE
%doc docs/*.rst README.rst CHANGES.rst
%{python_sitelib}/jaraco.classes-%{version}-py*.egg-info
%dir %{python_sitelib}/jaraco
%{python_sitelib}/jaraco/classes
%{python_sitelib}/jaraco.classes-%{version}*-info
%changelog