15
0
forked from pool/python-attrs

Accepting request 604542 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/604542
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-attrs?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal
2018-05-07 13:45:33 +00:00
committed by Git OBS Bridge
parent ec05bac306
commit 513458fdfa
4 changed files with 46 additions and 12 deletions

View File

@@ -18,27 +18,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with tests
Name: python-attrs
Version: 17.4.0
Version: 18.1.0
Release: 0
Summary: Attributes without boilerplate
License: MIT
Group: Development/Languages/Python
Url: https://github.com/hynek/attrs/
Source: https://pypi.io/packages/source/a/attrs/attrs-%{version}.tar.gz
URL: https://github.com/hynek/attrs/
Source: https://files.pythonhosted.org/packages/source/a/attrs/attrs-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with tests}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module zope.interface}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@@ -77,8 +74,8 @@ python-attrs is the successor to python-characterstic
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGELOG.rst LICENSE README.rst
%license LICENSE
%doc CHANGELOG.rst README.rst
%{python_sitelib}/*
%{python_sitelib}/attrs-%{version}-py*.egg-info