|
rdobuilder |
bdc69d |
%global srcname APScheduler
|
|
rdobuilder |
bdc69d |
%global _description %{expand:
|
|
rdobuilder |
bdc69d |
Advanced Python Scheduler (APScheduler) is a Python library that lets you
|
|
rdobuilder |
bdc69d |
schedule your Python code to be executed later, either just once or
|
|
rdobuilder |
bdc69d |
periodically. You can add new jobs or remove old ones on the fly as you
|
|
rdobuilder |
bdc69d |
please. If you store your jobs in a database, they will also survive
|
|
rdobuilder |
bdc69d |
scheduler restarts and maintain their state. When the scheduler is
|
|
rdobuilder |
bdc69d |
restarted, it will then run all the jobs it should have run while it was
|
|
rdobuilder |
bdc69d |
offline.}
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
Name: python-APScheduler
|
|
rdobuilder |
bdc69d |
Version: 3.8.0
|
|
rdobuilder |
bdc69d |
Release: 2%{?dist}
|
|
rdobuilder |
bdc69d |
Summary: In-process task scheduler with Cron-like capabilities
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
License: MIT
|
|
rdobuilder |
bdc69d |
URL: https://github.com/agronholm/apscheduler
|
|
rdobuilder |
bdc69d |
Source0: %pypi_source
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
BuildArch: noarch
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
%description %_description
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
%package -n python3-%{srcname}
|
|
rdobuilder |
bdc69d |
Summary: %{summary}
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-devel
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-setuptools
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-setuptools_scm
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-pytest
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-pytest-asyncio
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-pytest-tornado
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-pytest-cov
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-tornado
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-twisted
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-redis
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-kazoo
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-gevent
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-sqlalchemy
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-pymongo
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-pytz
|
|
rdobuilder |
bdc69d |
BuildRequires: python3-tzlocal
|
|
rdobuilder |
bdc69d |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
%description -n python3-%{srcname} %_description
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
%prep
|
|
rdobuilder |
bdc69d |
%autosetup -n %{srcname}-%{version} -p1
|
|
rdobuilder |
bdc69d |
# Remove that test as it require services (redis, zookeeper, ...)
|
|
rdobuilder |
bdc69d |
# up and running. Upstream provides a docker compose to spawn
|
|
rdobuilder |
bdc69d |
# services before running these tests.
|
|
rdobuilder |
bdc69d |
rm tests/test_jobstores.py
|
|
rdobuilder |
bdc69d |
sed -i 's/tzlocal \~\= 2\.0/tzlocal/g' setup.py
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
%build
|
|
rdobuilder |
bdc69d |
%py3_build
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
%install
|
|
rdobuilder |
bdc69d |
%py3_install
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
%check
|
|
rdobuilder |
bdc69d |
# Default timezone to UTC otherwise unit tests fail.
|
|
rdobuilder |
bdc69d |
export TZ=UTC
|
|
rdobuilder |
bdc69d |
%{python3} -m pytest -s tests
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
%files -n python3-%{srcname}
|
|
rdobuilder |
bdc69d |
%license LICENSE.txt
|
|
rdobuilder |
bdc69d |
%doc README.rst
|
|
rdobuilder |
bdc69d |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
rdobuilder |
bdc69d |
%{python3_sitelib}/apscheduler/
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
%changelog
|
|
rdobuilder |
bdc69d |
* Tue Mar 07 2023 Karolina Kula <kkula@redhat.com> - 3.8.0-2
|
|
rdobuilder |
bdc69d |
- Uncap tzlocal version
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Thu Sep 23 2021 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 3.8.0-1
|
|
rdobuilder |
bdc69d |
- Update to 3.8.0 (#1917870)
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-4
|
|
rdobuilder |
bdc69d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.7.0-3
|
|
rdobuilder |
bdc69d |
- Rebuilt for Python 3.10
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
|
|
rdobuilder |
bdc69d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Wed Jan 20 2021 Fabien Boucher <fboucher@redhat.com> - 3.7.0-1
|
|
rdobuilder |
bdc69d |
- Upstream 3.7.0 (RHBZ#1917870)
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.3-4
|
|
rdobuilder |
bdc69d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Mon Jul 20 2020 Fabien Boucher <fboucher@redhat.com> - 3.6.3-3
|
|
rdobuilder |
bdc69d |
- Update project url
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.6.3-2
|
|
rdobuilder |
bdc69d |
- Rebuilt for Python 3.9
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Wed Mar 11 2020 Fabien Boucher <fboucher@redhat.com> - 3.6.3-1
|
|
rdobuilder |
bdc69d |
- Inport from SF packaging and bump to 3.6.3 (#1813957)
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.5.3-4
|
|
rdobuilder |
bdc69d |
- Rebuilt for Python 3.8
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3-3
|
|
rdobuilder |
bdc69d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Sun Dec 16 2018 Miro Hrončok <mhroncok@redhat.com> - 3.5.3-2
|
|
rdobuilder |
bdc69d |
- Subpackage python2-APScheduler has been removed
|
|
rdobuilder |
bdc69d |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Mon Aug 20 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 3.5.3-1
|
|
rdobuilder |
bdc69d |
- Upstream 3.5.3 (RHBZ#1605579)
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-10
|
|
rdobuilder |
bdc69d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-9
|
|
rdobuilder |
bdc69d |
- Rebuilt for Python 3.7
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.0.5-8
|
|
rdobuilder |
bdc69d |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
bdc69d |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-7
|
|
rdobuilder |
bdc69d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-6
|
|
rdobuilder |
bdc69d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-5
|
|
rdobuilder |
bdc69d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-4
|
|
rdobuilder |
bdc69d |
- Rebuild for Python 3.6
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.5-3
|
|
rdobuilder |
bdc69d |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-2
|
|
rdobuilder |
bdc69d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
rdobuilder |
bdc69d |
|
|
rdobuilder |
bdc69d |
* Sat Dec 19 2015 Paul Belanger <pabelanger@redhat.com> - 3.0.5-1
|
|
rdobuilder |
bdc69d |
- Initial packaging (#1218410)
|