Blame SPECS/python-monotonic.spec

51d707
%global pypi_name monotonic
51d707
51d707
51d707
Name:           python-%{pypi_name}
51d707
Version:        1.5
51d707
Release:        9%{?dist}
51d707
Summary:        An implementation of time.monotonic() for Python 2 & < 3.3
51d707
51d707
# Missing license file from source package
51d707
# https://github.com/atdt/monotonic/pull/4
51d707
License:        ASL 2.0
51d707
URL:            https://github.com/atdt/%{pypi_name}
51d707
Source0:        https://files.pythonhosted.org/packages/source/m/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
51d707
BuildArch:      noarch
51d707
51d707
51d707
%global _description\
51d707
This module provides a ``monotonic()`` function which\
51d707
returns the\
51d707
value (in fractional seconds) of a clock which never goes\
51d707
backwards.\
51d707
\
51d707
On Python 3.3 or newer, ``monotonic`` will be an alias of\
51d707
``time.monotonic`` from the standard library. On older versions,\
51d707
it will fall back to an equivalent platform specific implementation.\
51d707
51d707
51d707
%description %_description
51d707
51d707
%package -n python3-%{pypi_name}
51d707
Summary:        An implementation of time.monotonic() for Python 2 & < 3.3
51d707
51d707
BuildRequires:  python3-devel
51d707
BuildRequires:  python3-setuptools
51d707
51d707
%description -n python3-%{pypi_name}
51d707
This module provides a ``monotonic()`` function which
51d707
returns the
51d707
value (in fractional seconds) of a clock which never goes
51d707
backwards.
51d707
51d707
On Python 3.3 or newer, ``monotonic`` will be an alias of
51d707
``time.monotonic`` from the standard library. On older versions,
51d707
it will fall back to an equivalent platform specific implementation.
51d707
51d707
51d707
%prep
51d707
%autosetup -n %{pypi_name}-%{version}
51d707
51d707
51d707
%build
51d707
51d707
%py3_build
51d707
51d707
51d707
%install
51d707
51d707
%py3_install
51d707
51d707
51d707
%files -n python3-%{pypi_name}
51d707
%license LICENSE
51d707
%{python3_sitelib}/__pycache__/%{pypi_name}.*
51d707
%{python3_sitelib}/%{pypi_name}.py
51d707
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
51d707
51d707
%changelog
51d707
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-9
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
51d707
51d707
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-8
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
51d707
51d707
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5-7
51d707
- Rebuilt for Python 3.9
51d707
51d707
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-6
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
51d707
51d707
* Thu Sep 26 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5-5
51d707
- Subpackage python2-monotonic has been removed
51d707
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
51d707
51d707
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5-4
51d707
- Rebuilt for Python 3.8
51d707
51d707
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
51d707
51d707
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
51d707
51d707
* Fri Jul 20 2018 Alfredo Moralejo <amoralej@redhat.com> - 1.5-1
51d707
- Update to version 1.5.
51d707
51d707
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-11
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
51d707
51d707
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2-10
51d707
- Rebuilt for Python 3.7
51d707
51d707
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-9
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
51d707
51d707
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2-8
51d707
- Update Python 2 dependency declarations to new packaging standards
51d707
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
51d707
51d707
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2-7
51d707
- Python 2 binary package renamed to python2-monotonic
51d707
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
51d707
51d707
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-6
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
51d707
51d707
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
51d707
51d707
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2-4
51d707
- Rebuild for Python 3.6
51d707
51d707
* Mon Aug 29 2016 Matthias Runge <mrunge@redhat.com> - 1.2-1
51d707
- update to 1.2, modernize packaging
51d707
51d707
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-3
51d707
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
51d707
51d707
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
51d707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
51d707
51d707
* Tue Jan 19 2016 Alan Pevec <alan.pevec@redhat.com> 0.5-1
51d707
- Update to 0.5
51d707
51d707
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
51d707
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
51d707
51d707
* Tue Aug 18 2015 Alan Pevec <alan.pevec@redhat.com> 0.3-1
51d707
- Update to upstream 0.3
51d707
51d707
* Thu Jun 18 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 0.1-1
51d707
- Initial package