From cf8471fe4e469679bc6cce6535510ed874436159 Mon Sep 17 00:00:00 2001 From: Olivia Crain Date: Fri, 15 Apr 2022 12:52:36 -0700 Subject: [PATCH] python-attrs: Upgrade to 21.4.0 (#2756) --- .../python-attrs/python-attrs.signatures.json | 2 +- SPECS/python-attrs/python-attrs.spec | 27 +++++++++---------- cgmanifest.json | 4 +-- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/SPECS/python-attrs/python-attrs.signatures.json b/SPECS/python-attrs/python-attrs.signatures.json index d1e0d4066d..0aed1bfb54 100644 --- a/SPECS/python-attrs/python-attrs.signatures.json +++ b/SPECS/python-attrs/python-attrs.signatures.json @@ -1,5 +1,5 @@ { "Signatures": { - "attrs-18.2.0.tar.gz": "10cbf6e27dbce8c30807caf056c8eb50917e0eaafe86347671b57254006c3e69" + "attrs-21.4.0.tar.gz": "5bd6d2938b7e8019e319b7f451f4ec3a5ef6293b228146387d002311ae9b920d" } } \ No newline at end of file diff --git a/SPECS/python-attrs/python-attrs.spec b/SPECS/python-attrs/python-attrs.spec index d1a9c9e624..7d333918ba 100644 --- a/SPECS/python-attrs/python-attrs.spec +++ b/SPECS/python-attrs/python-attrs.spec @@ -1,13 +1,18 @@ Summary: Attributes without boilerplate. Name: python-attrs -Version: 18.2.0 -Release: 10%{?dist} +Version: 21.4.0 +Release: 1%{?dist} License: MIT Vendor: Microsoft Corporation Distribution: Mariner Group: Development/Languages/Python URL: https://pypi.python.org/pypi/attrs -Source0: https://files.pythonhosted.org/packages/0f/9e/26b1d194aab960063b266170e53c39f73ea0d0d3f5ce23313e0ec8ee9bdf/attrs-%{version}.tar.gz +Source0: https://github.com/%{name}/attrs/archive/refs/tags/%{version}.tar.gz#/attrs-%{version}.tar.gz +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%if %{with_check} +BuildRequires: python3-pip +%endif BuildArch: noarch %description @@ -15,15 +20,6 @@ Attributes without boilerplate. %package -n python3-attrs Summary: Attributes without boilerplate. -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-xml -%if %{with_check} -BuildRequires: curl-devel -BuildRequires: openssl-devel -BuildRequires: python3-pip -BuildRequires: python3-zope-interface -%endif Requires: python3 %description -n python3-attrs @@ -39,8 +35,7 @@ Attributes without boilerplate. %py3_install %check -# Tests are only supported with Python3 -pip3 install pytest hypothesis==4.38.0 tox +pip3 install tox LANG=en_US.UTF-8 tox -e py%{python3_version_nodots} %files -n python3-attrs @@ -49,6 +44,10 @@ LANG=en_US.UTF-8 tox -e py%{python3_version_nodots} %{python3_sitelib}/* %changelog +* Wed Apr 13 2022 Olivia Crain - 21.4.0-1 +- Upgrade to latest upstream version +- Simplify test setup and requirements + * Tue Mar 15 2022 Muhammad Falak - 18.2.0-10 - Use `py%{python3_version_nodots}` instead of harcoding `py39` diff --git a/cgmanifest.json b/cgmanifest.json index b5917ec236..8011e3d83e 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -21964,8 +21964,8 @@ "type": "other", "other": { "name": "python-attrs", - "version": "18.2.0", - "downloadUrl": "https://files.pythonhosted.org/packages/0f/9e/26b1d194aab960063b266170e53c39f73ea0d0d3f5ce23313e0ec8ee9bdf/attrs-18.2.0.tar.gz" + "version": "21.4.0", + "downloadUrl": "https://github.com/python-attrs/attrs/archive/refs/tags/21.4.0.tar.gz" } } },