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