|
|
3e7435 |
%global modname attrs
|
|
|
3e7435 |
|
|
|
3e7435 |
# python39 note: Tests disabled due to missing dependencies
|
|
|
3e7435 |
%bcond_with tests
|
|
|
3e7435 |
|
|
|
3e7435 |
Name: python-attrs
|
|
|
3e7435 |
Version: 20.3.0
|
|
|
3e7435 |
Release: 2%{?dist}
|
|
|
3e7435 |
Summary: Python attributes without boilerplate
|
|
|
3e7435 |
|
|
|
3e7435 |
License: MIT
|
|
|
3e7435 |
URL: http://www.attrs.org/
|
|
|
3e7435 |
BuildArch: noarch
|
|
|
3e7435 |
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
|
|
3e7435 |
# x86_64 compose of CRB, but we don't want to ship it at all.
|
|
|
3e7435 |
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
|
|
3e7435 |
ExcludeArch: i686
|
|
|
3e7435 |
Source0: https://github.com/hynek/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz
|
|
|
3e7435 |
|
|
|
3e7435 |
|
|
|
3e7435 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
3e7435 |
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
3e7435 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
3e7435 |
%if %{with tests}
|
|
|
3e7435 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
3e7435 |
BuildRequires: python%{python3_pkgversion}-hypothesis
|
|
|
3e7435 |
BuildRequires: python%{python3_pkgversion}-six
|
|
|
3e7435 |
BuildRequires: python%{python3_pkgversion}-zope-interface
|
|
|
3e7435 |
%endif
|
|
|
3e7435 |
|
|
|
3e7435 |
%description
|
|
|
3e7435 |
attrs is an MIT-licensed Python package with class decorators that
|
|
|
3e7435 |
ease the chores of implementing the most common attribute-related
|
|
|
3e7435 |
object protocols.
|
|
|
3e7435 |
|
|
|
3e7435 |
%package -n python%{python3_pkgversion}-%{modname}
|
|
|
3e7435 |
Summary: %{summary}
|
|
|
3e7435 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
|
|
|
3e7435 |
|
|
|
3e7435 |
%description -n python%{python3_pkgversion}-%{modname}
|
|
|
3e7435 |
attrs is an MIT-licensed Python package with class decorators that
|
|
|
3e7435 |
ease the chores of implementing the most common attribute-related
|
|
|
3e7435 |
object protocols.
|
|
|
3e7435 |
|
|
|
3e7435 |
%prep
|
|
|
3e7435 |
%setup -q -n %{modname}-%{version}
|
|
|
3e7435 |
|
|
|
3e7435 |
%build
|
|
|
3e7435 |
%py3_build
|
|
|
3e7435 |
|
|
|
3e7435 |
%install
|
|
|
3e7435 |
%py3_install
|
|
|
3e7435 |
|
|
|
3e7435 |
%if %{with tests}
|
|
|
3e7435 |
%check
|
|
|
3e7435 |
PYTHONPATH=%{buildroot}/%{python3_sitelib} py.test-%{python3_version} -v
|
|
|
3e7435 |
%endif
|
|
|
3e7435 |
|
|
|
3e7435 |
%files -n python%{python3_pkgversion}-%{modname}
|
|
|
3e7435 |
%license LICENSE
|
|
|
3e7435 |
%doc AUTHORS.rst README.rst
|
|
|
3e7435 |
%{python3_sitelib}/*
|
|
|
3e7435 |
|
|
|
3e7435 |
%changelog
|
|
|
3e7435 |
* Tue Jan 12 2021 Tomas Orsava <torsava@redhat.com> - 20.3.0-2
|
|
|
3e7435 |
- Convert from Fedora to the python39 module in RHEL8
|
|
|
3e7435 |
- Resolves: rhbz#1877430
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Nov 19 2020 Lumír Balhar <lbalhar@redhat.com> - 20.3.0-1
|
|
|
3e7435 |
- Update to 20.3.0 (#1894866)
|
|
|
3e7435 |
|
|
|
3e7435 |
* Mon Sep 07 2020 Lumír Balhar <lbalhar@redhat.com> - 20.2.0-1
|
|
|
3e7435 |
- Update to 20.2.0 (#1876063)
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Aug 27 2020 Lumír Balhar <lbalhar@redhat.com> - 20.1.0-1
|
|
|
3e7435 |
- Update to 20.1.0 (#1870794)
|
|
|
3e7435 |
|
|
|
3e7435 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.3.0-5
|
|
|
3e7435 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
3e7435 |
|
|
|
3e7435 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 19.3.0-4
|
|
|
3e7435 |
- Rebuilt for Python 3.9
|
|
|
3e7435 |
|
|
|
3e7435 |
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 19.3.0-3
|
|
|
3e7435 |
- Bootstrap for Python 3.9
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.3.0-2
|
|
|
3e7435 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
3e7435 |
|
|
|
3e7435 |
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 19.3.0-1
|
|
|
3e7435 |
- New upstream version 19.3.0 (#1761701)
|
|
|
3e7435 |
- Python 2 subpackage has been removed (#1773236)
|
|
|
3e7435 |
|
|
|
3e7435 |
* Sun Oct 13 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.0-6
|
|
|
3e7435 |
- Drop Python 2 optional build dependencies
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.0-5
|
|
|
3e7435 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
3e7435 |
|
|
|
3e7435 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.0-4
|
|
|
3e7435 |
- Rebuilt for Python 3.8
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.0-3
|
|
|
3e7435 |
- Bootstrap for Python 3.8
|
|
|
3e7435 |
|
|
|
3e7435 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19.1.0-2
|
|
|
3e7435 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3e7435 |
|
|
|
3e7435 |
* Tue Mar 19 2019 Eric Smith <brouhaha@fedoraproject.org> 19.1.0-1
|
|
|
3e7435 |
- Updated to latest upstream.
|
|
|
3e7435 |
|
|
|
3e7435 |
* Mon Feb 25 2019 Eric Smith <brouhaha@fedoraproject.org> 18.2.0-1
|
|
|
3e7435 |
- Updated to latest upstream.
|
|
|
3e7435 |
|
|
|
3e7435 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 17.4.0-8
|
|
|
3e7435 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
3e7435 |
|
|
|
3e7435 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.4.0-7
|
|
|
3e7435 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3e7435 |
|
|
|
3e7435 |
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 17.4.0-6
|
|
|
3e7435 |
- Rebuilt for Python 3.7
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 17.4.0-5
|
|
|
3e7435 |
- Bootstrap for Python 3.7
|
|
|
3e7435 |
|
|
|
3e7435 |
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 17.4.0-4
|
|
|
3e7435 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
3e7435 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
3e7435 |
|
|
|
3e7435 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.4.0-3
|
|
|
3e7435 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3e7435 |
|
|
|
3e7435 |
* Wed Jan 17 2018 Eric Smith <brouhaha@fedoraproject.org> 17.4.0-2
|
|
|
3e7435 |
- Added BuildRequires for python<n>-six.
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Jan 11 2018 Eric Smith <brouhaha@fedoraproject.org> 17.4.0-1
|
|
|
3e7435 |
- Updated to latest upstream.
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 16.3.0-3
|
|
|
3e7435 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
3e7435 |
|
|
|
3e7435 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 16.3.0-2
|
|
|
3e7435 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
3e7435 |
|
|
|
3e7435 |
* Wed Dec 14 2016 Eric Smith <brouhaha@fedoraproject.org> 16.3.0-1
|
|
|
3e7435 |
- Updated to latest upstream.
|
|
|
3e7435 |
|
|
|
3e7435 |
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 16.1.0-3
|
|
|
3e7435 |
- Enable tests
|
|
|
3e7435 |
|
|
|
3e7435 |
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 16.1.0-2
|
|
|
3e7435 |
- Rebuild for Python 3.6
|
|
|
3e7435 |
- Disable python3 tests for now
|
|
|
3e7435 |
|
|
|
3e7435 |
* Sat Sep 10 2016 Eric Smith <brouhaha@fedoraproject.org> 16.1.0-1
|
|
|
3e7435 |
- Updated to latest upstream.
|
|
|
3e7435 |
- Removed patch, no longer necessary.
|
|
|
3e7435 |
- Removed "with python3" conditionals.
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Aug 18 2016 Eric Smith <brouhaha@fedoraproject.org> 16.0.0-6
|
|
|
3e7435 |
- Build for Python 3.4 in EPEL7.
|
|
|
3e7435 |
|
|
|
3e7435 |
* Thu Aug 18 2016 Eric Smith <brouhaha@fedoraproject.org> 16.0.0-5
|
|
|
3e7435 |
- Updated based on Fedora package review (#1366878).
|
|
|
3e7435 |
- Fix check section, though tests can not be run for EPEL7.
|
|
|
3e7435 |
- Add patch to skip two tests with keyword collisions.
|
|
|
3e7435 |
|
|
|
3e7435 |
* Tue Aug 16 2016 Eric Smith <brouhaha@fedoraproject.org> 16.0.0-4
|
|
|
3e7435 |
- Fix python2 BuildRequires.
|
|
|
3e7435 |
|
|
|
3e7435 |
* Mon Aug 15 2016 Eric Smith <brouhaha@fedoraproject.org> 16.0.0-3
|
|
|
3e7435 |
- Updated based on Fedora package review (#1366878).
|
|
|
3e7435 |
|
|
|
3e7435 |
* Sun Aug 14 2016 Eric Smith <brouhaha@fedoraproject.org> 16.0.0-2
|
|
|
3e7435 |
- Updated based on Fedora package review (#1366878).
|
|
|
3e7435 |
|
|
|
3e7435 |
* Sat Aug 13 2016 Eric Smith <brouhaha@fedoraproject.org> 16.0.0-1
|
|
|
3e7435 |
- Initial version.
|