Blame SPECS/python-APScheduler.spec

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