1
0

Accepting request 1000488 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1000488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jaraco.functools?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2022-09-01 07:20:16 +00:00 committed by Git OBS Bridge
commit 34b0ba62c3
4 changed files with 26 additions and 18 deletions

View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Aug 31 12:31:24 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>
- update to 3.5.1
* Packaging refresh
* Enrolled with Tidelift
-------------------------------------------------------------------
Sun Mar 27 11:12:17 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -19,22 +19,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jaraco.functools
Version: 3.5.0
Version: 3.5.1
Release: 0
Summary: Tools to work with functools
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jaraco/jaraco.functools
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.functools/jaraco.functools-%{version}.tar.gz
BuildRequires: %{python_module jaraco.base >= 6.1}
BuildRequires: %{python_module jaraco.packaging >= 9}
BuildRequires: %{python_module jaraco.classes}
BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module wheel}
# SECTION test and docs
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module rst.linker >= 1.9}
BuildRequires: %{python_module jaraco.tidelift >= 1.4}
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-jaraco.base >= 6.1
Requires: python-jaraco.packaging >= 9
Requires: python-more-itertools
BuildArch: noarch
%python_subpackages
@ -50,17 +57,10 @@ sed -i 's/--black --cov//' pytest.ini
rm -rf jaraco.functools.egg-info
%build
%python_build
%pyproject_wheel
%install
%python_install
%{?python_compileall}
%{!?python_compileall: # if we haven no python_compileall we are for sure still without multiple python3 flavors.
%py3_compile %{buildroot}%{python3_sitelib}/jaraco/
%py3_compile -O %{buildroot}%{python3_sitelib}/jaraco/
}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -70,8 +70,9 @@ rm -rf jaraco.functools.egg-info
%files %{python_files}
%license LICENSE
%doc docs/*.rst README.rst CHANGES.rst
%{python_sitelib}/jaraco.functools-%{version}-py*.egg-info
%{python_sitelib}/jaraco.functools-%{version}*-info
%{python_sitelib}/jaraco/functools.py*
%dir %{python_sitelib}/jaraco/__pycache__
%pycache_only %{python_sitelib}/jaraco/__pycache__/functools*.py*
%changelog