Blame SPECS/python-simplegeneric.spec

b3d16c
%global pypi_name simplegeneric
b3d16c
b3d16c
Name:           python-simplegeneric
b3d16c
Version:        0.8.1
b3d16c
Release:        21%{?dist}
b3d16c
Summary:        Simple generic functions (similar to Python's own len(), pickle.dump(), etc.)
b3d16c
b3d16c
License:        Python or ZPLv2.1
b3d16c
URL:            https://pypi.org/project/simplegeneric/
b3d16c
Source0:        %{pypi_source %{pypi_name} %{version} zip}
b3d16c
b3d16c
BuildArch:      noarch
b3d16c
b3d16c
b3d16c
%description
b3d16c
The simplegeneric module lets you define simple single-dispatch generic
b3d16c
functions, akin to Python's built-in generic functions like len(), iter() and
b3d16c
so on. However, instead of using specially-named methods, these generic
b3d16c
functions use simple lookup tables, akin to those used by e.g. pickle.dump()
b3d16c
and other generic functions found in the Python standard library.
b3d16c
b3d16c
b3d16c
%package -n python3-%{pypi_name}
b3d16c
Summary:        Simple generic functions (similar to Python's own len(), pickle.dump(), etc.)
b3d16c
License:        Python or ZPLv2.1
b3d16c
BuildRequires:  python3-devel
b3d16c
BuildRequires:  python3-setuptools
b3d16c
%{?python_provide:%python_provide python3-%{pypi_name}}
b3d16c
b3d16c
%description -n python3-%{pypi_name}
b3d16c
The simplegeneric module lets you define simple single-dispatch generic
b3d16c
functions, akin to Python's built-in generic functions like len(), iter() and
b3d16c
so on. However, instead of using specially-named methods, these generic
b3d16c
functions use simple lookup tables, akin to those used by e.g. pickle.dump()
b3d16c
and other generic functions found in the Python standard library.
b3d16c
b3d16c
b3d16c
b3d16c
%prep
b3d16c
%autosetup -p1 -n %{pypi_name}-%{version}
b3d16c
b3d16c
b3d16c
%build
b3d16c
%py3_build
b3d16c
b3d16c
b3d16c
%install
b3d16c
%py3_install
b3d16c
b3d16c
b3d16c
%check
b3d16c
PYTHONPATH=$(pwd) %{__python3} setup.py test
b3d16c
b3d16c
b3d16c
%files -n python3-%{pypi_name}
b3d16c
%doc README.txt
b3d16c
%{python3_sitelib}/__pycache__/simplegeneric.cpython*
b3d16c
%{python3_sitelib}/simplegeneric.py
b3d16c
%{python3_sitelib}/simplegeneric-%{version}-py%{python3_version}.egg-info/
b3d16c
b3d16c
b3d16c
%changelog
b3d16c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-21
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b3d16c
b3d16c
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-20
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b3d16c
b3d16c
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-19
b3d16c
- Rebuilt for Python 3.9
b3d16c
b3d16c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-18
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b3d16c
b3d16c
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-17
b3d16c
- Rebuilt for Python 3.8.0rc1 (#1748018)
b3d16c
b3d16c
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-16
b3d16c
- Rebuilt for Python 3.8
b3d16c
b3d16c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-15
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b3d16c
b3d16c
* Thu Feb 14 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-14
b3d16c
- Subpackage python2-simplegeneric has been removed
b3d16c
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
b3d16c
b3d16c
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-13
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b3d16c
b3d16c
* Fri Nov 30 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-12
b3d16c
- Modernize packaging
b3d16c
b3d16c
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-11
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b3d16c
b3d16c
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-10
b3d16c
- Rebuilt for Python 3.7
b3d16c
b3d16c
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.1-9
b3d16c
- Update Python 2 dependency declarations to new packaging standards
b3d16c
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
b3d16c
b3d16c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-8
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b3d16c
b3d16c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-7
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b3d16c
b3d16c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-6
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b3d16c
b3d16c
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-5
b3d16c
- Rebuild for Python 3.6
b3d16c
b3d16c
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-4
b3d16c
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b3d16c
b3d16c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b3d16c
b3d16c
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
b3d16c
b3d16c
* Tue Sep 29 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.8.1-1
b3d16c
- update to 0.8.1 (no user visible changes, but packages require it on pypi)
b3d16c
- cleanup and use new py_build macros etc
b3d16c
b3d16c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-10
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b3d16c
b3d16c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-9
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b3d16c
b3d16c
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8-8
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
b3d16c
b3d16c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-7
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b3d16c
b3d16c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-6
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b3d16c
b3d16c
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.8-5
b3d16c
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
b3d16c
b3d16c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b3d16c
b3d16c
* Fri Jan 27 2012 Thomas Spura <tomspur@fedoraproject.org> - 0.8-3
b3d16c
- be more explicit in files section
b3d16c
- add python3 subpackage (#785056)
b3d16c
b3d16c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b3d16c
b3d16c
* Wed Dec 14 2011 Luke Macken <lmacken@redhat.com> - 0.8-1
b3d16c
- Update to 0.8 (#735066)
b3d16c
b3d16c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b3d16c
b3d16c
* Thu Sep 30 2010 Luke Macken <lmacken@redhat.com> - 0.7-1
b3d16c
- Update to 0.7
b3d16c
- Run the unit tests
b3d16c
b3d16c
* Thu Jul 22 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.6-3
b3d16c
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
b3d16c
- missing BR: python-devel
b3d16c
b3d16c
* Mon Apr 19 2010 Luke Macken <lmacken@redhat.com> - 0.6-2
b3d16c
- Change license from 'PSF or ZPL' to 'Python or ZPLv2.1'
b3d16c
b3d16c
* Tue Apr 13 2010 Luke Macken <lmacken@redhat.com> - 0.6-1
b3d16c
- Initial package