From dfeb89ca30abd6da8fe57bda0dbb6d4c94ae303a Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Wed, 20 Jul 2022 10:12:08 -0400 Subject: [PATCH] Updating to 3.5.1 - switched from py3 macros to pyproject macros --- .gitignore | 2 +- python-jaraco-functools.spec | 27 ++++++++++++++------------- sources | 2 +- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 65e05c5..bfa2048 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/jaraco.functools-3.5.0.tar.gz +/jaraco.functools-3.5.1.tar.gz diff --git a/python-jaraco-functools.spec b/python-jaraco-functools.spec index a8a3a5d..67d9acf 100644 --- a/python-jaraco-functools.spec +++ b/python-jaraco-functools.spec @@ -5,8 +5,8 @@ %bcond_with docs Name: python-%{pkg_name} -Version: 3.5.0 -Release: 5%{?dist} +Version: 3.5.1 +Release: 1%{?dist} Summary: Functools like those found in stdlib License: MIT @@ -30,12 +30,10 @@ Requires: python3dist(toml) BuildRequires: python3-devel BuildConflicts: python3dist(pytest) = 3.7.3 BuildRequires: python3dist(jaraco-classes) -BuildRequires: python3dist(more-itertools) +BuildRequires: python3dist(pip) >= 3.4 BuildRequires: python3dist(pytest) >= 3.4 BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(setuptools-scm) >= 1.15 -BuildRequires: python3dist(six) -BuildRequires: python3dist(toml) + %{?python_provide:%python_provide python3-%{pkg_name}} %description -n python3-%{pkg_name} @@ -55,9 +53,11 @@ Documentation for jaraco-functools %prep %autosetup -n jaraco.functools-%{version} +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel %if %{with docs} # generate html docs @@ -67,20 +67,17 @@ rm -rf html/.{doctrees,buildinfo} %endif %install -%py3_install +%pyproject_install %check -LANG=C.utf-8 %{__python3} -m pytest --ignore=build +%pytest %files -n python3-%{pkg_name} %license LICENSE %doc README.rst -# These excludes are provided by python3-jaraco -%exclude %{python3_sitelib}/jaraco/__init__* -%exclude %{python3_sitelib}/jaraco/__pycache__/__init__* %{python3_sitelib}/jaraco/functools* %{python3_sitelib}/jaraco/__pycache__/functools* -%{python3_sitelib}/jaraco.functools-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/jaraco.functools-%{version}.dist-info %if %{with docs} %files -n python-%{pkg_name}-doc @@ -89,6 +86,10 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Wed Jul 20 2022 Dan Radez - 3.5.1-1 +- update to 3.5.1 +- switched from py3 macros to pyproject macros + * Mon Jun 13 2022 Python Maint - 3.5.0-5 - Rebuilt for Python 3.11 diff --git a/sources b/sources index 211c736..883d700 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jaraco.functools-3.5.0.tar.gz) = 7257f41506f90ca2fda1bd12fed58fa4d4ff5738547f8cdae8ccad1901e0c818afb701dd8e9050fc77ca1271bc2466d5a542990138bc3db2cf9b04d12850844c +SHA512 (jaraco.functools-3.5.1.tar.gz) = 4496c80eae72834e5bc214f40de91a6aa603ce296b3866e0b363014c2919843f515efe9b314f18667e6b09d183a0985760e47f3340aed42dfbdba01884896df5