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