From f42160c0be14c9442e5d69be52b58a8bec59f974 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Mon, 17 Apr 2023 11:50:06 +0200 Subject: [PATCH] Update to 23.1.0 (rhbz#2186423) --- .gitignore | 1 + python-attrs.spec | 29 ++++++++++++++--------------- sources | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index a446068..3d7fb84 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /attrs-21.4.0.tar.gz /attrs-22.1.0.tar.gz /attrs-22.2.0.tar.gz +/attrs-23.1.0.tar.gz diff --git a/python-attrs.spec b/python-attrs.spec index 862aab2..4cad9c0 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -9,23 +9,16 @@ %endif Name: python-attrs -Version: 22.2.0 -Release: 2%{?dist} +Version: 23.1.0 +Release: 1%{?dist} Summary: Python attributes without boilerplate License: MIT URL: http://www.attrs.org/ BuildArch: noarch -Source0: https://github.com/hynek/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz +Source0: https://github.com/python-attrs/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools -%if %{with tests} -BuildRequires: python%{python3_pkgversion}-pytest -BuildRequires: python%{python3_pkgversion}-hypothesis -BuildRequires: python%{python3_pkgversion}-six -BuildRequires: python%{python3_pkgversion}-zope-interface -%endif %description attrs is an MIT-licensed Python package with class decorators that @@ -44,23 +37,29 @@ object protocols. %prep %setup -q -n %{modname}-%{version} +%generate_buildrequires +%pyproject_buildrequires %{?with_tests:-x tests} + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files attr attrs %if %{with tests} %check -PYTHONPATH=%{buildroot}/%{python3_sitelib} py.test-3 -v +%pytest %endif -%files -n python%{python3_pkgversion}-%{modname} +%files -n python%{python3_pkgversion}-%{modname} -f %{pyproject_files} %license LICENSE %doc README.md -%{python3_sitelib}/* %changelog +* Wed May 17 2023 Lumír Balhar - 23.1.0-1 +- Update to 23.1.0 (rhbz#2187066) + * Fri Jan 20 2023 Fedora Release Engineering - 22.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 910a260..39d997b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (attrs-22.2.0.tar.gz) = f650c8a1a16ea84b55cbaafc65c81ba6437a9a9c2f6bf257d74212430c94ad964e67160ad78f35578213879fe20042f0d7b1a4b64e35ae20d0d65c1fcd70094a +SHA512 (attrs-23.1.0.tar.gz) = e96727d68081a761effcdf5a5d62d66902e7f5229879711739fd14d257b7f1c71ddab84309ffeff161bfc4da3a2b130eda4fad920b9f5bc3134bed138d05c16c