python-attrs: Upgrade to 21.4.0 (#2756)

This commit is contained in:
Olivia Crain 2022-04-15 12:52:36 -07:00 коммит произвёл GitHub
Родитель 38c6e6f6f8
Коммит cf8471fe4e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 16 добавлений и 17 удалений

Просмотреть файл

@ -1,5 +1,5 @@
{ {
"Signatures": { "Signatures": {
"attrs-18.2.0.tar.gz": "10cbf6e27dbce8c30807caf056c8eb50917e0eaafe86347671b57254006c3e69" "attrs-21.4.0.tar.gz": "5bd6d2938b7e8019e319b7f451f4ec3a5ef6293b228146387d002311ae9b920d"
} }
} }

Просмотреть файл

@ -1,13 +1,18 @@
Summary: Attributes without boilerplate. Summary: Attributes without boilerplate.
Name: python-attrs Name: python-attrs
Version: 18.2.0 Version: 21.4.0
Release: 10%{?dist} Release: 1%{?dist}
License: MIT License: MIT
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://pypi.python.org/pypi/attrs 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 BuildArch: noarch
%description %description
@ -15,15 +20,6 @@ Attributes without boilerplate.
%package -n python3-attrs %package -n python3-attrs
Summary: Attributes without boilerplate. 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 Requires: python3
%description -n python3-attrs %description -n python3-attrs
@ -39,8 +35,7 @@ Attributes without boilerplate.
%py3_install %py3_install
%check %check
# Tests are only supported with Python3 pip3 install tox
pip3 install pytest hypothesis==4.38.0 tox
LANG=en_US.UTF-8 tox -e py%{python3_version_nodots} LANG=en_US.UTF-8 tox -e py%{python3_version_nodots}
%files -n python3-attrs %files -n python3-attrs
@ -49,6 +44,10 @@ LANG=en_US.UTF-8 tox -e py%{python3_version_nodots}
%{python3_sitelib}/* %{python3_sitelib}/*
%changelog %changelog
* Wed Apr 13 2022 Olivia Crain <oliviacrain@microsoft.com> - 21.4.0-1
- Upgrade to latest upstream version
- Simplify test setup and requirements
* Tue Mar 15 2022 Muhammad Falak <mwani@microsoft.com> - 18.2.0-10 * Tue Mar 15 2022 Muhammad Falak <mwani@microsoft.com> - 18.2.0-10
- Use `py%{python3_version_nodots}` instead of harcoding `py39` - Use `py%{python3_version_nodots}` instead of harcoding `py39`

Просмотреть файл

@ -21964,8 +21964,8 @@
"type": "other", "type": "other",
"other": { "other": {
"name": "python-attrs", "name": "python-attrs",
"version": "18.2.0", "version": "21.4.0",
"downloadUrl": "https://files.pythonhosted.org/packages/0f/9e/26b1d194aab960063b266170e53c39f73ea0d0d3f5ce23313e0ec8ee9bdf/attrs-18.2.0.tar.gz" "downloadUrl": "https://github.com/python-attrs/attrs/archive/refs/tags/21.4.0.tar.gz"
} }
} }
}, },