Revert "Orphaned for 6+ weeks"
This reverts commit 72a4904950.
Unretirement request: https://pagure.io/releng/issue/9330
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
This commit is contained in:
parent
72a4904950
commit
00b9ac4c14
4 changed files with 127 additions and 1 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/APScheduler-3.0.5.tar.gz
|
||||
/APScheduler-3.5.3.tar.gz
|
||||
|
|
@ -1 +0,0 @@
|
|||
Orphaned for 6+ weeks
|
||||
124
python-APScheduler.spec
Normal file
124
python-APScheduler.spec
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
%global pypi_name APScheduler
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 3.5.3
|
||||
Release: 4%{?dist}
|
||||
Summary: In-process task scheduler with Cron-like capabilities
|
||||
|
||||
License: MIT
|
||||
URL: https://pypi.python.org/pypi/%{pypi_name}
|
||||
Source0: https://pypi.python.org/packages/source/A/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
BuildRequires: python3-six >= 1.4.0
|
||||
BuildRequires: python3-tzlocal
|
||||
# Unit testing
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pytest-cov
|
||||
BuildRequires: python3-pytest-asyncio
|
||||
BuildRequires: python3-pytest-tornado
|
||||
BuildRequires: python3-tornado
|
||||
|
||||
%description
|
||||
Advanced Python Scheduler (APScheduler) is a Python library that lets you
|
||||
schedule your Python code to be executed later, either just once or
|
||||
periodically.
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
Requires: python3-six >= 1.4.0
|
||||
Requires: python3-tzlocal
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
Advanced Python Scheduler (APScheduler) is a Python library that lets you
|
||||
schedule your Python code to be executed later, either just once or
|
||||
periodically.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation of the Advanced Python Scheduler library
|
||||
BuildRequires: python3-sphinx
|
||||
|
||||
%description doc
|
||||
Documentation of the Advanced Python Scheduler library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
## generate html docs
|
||||
%{__python3} setup.py build_sphinx
|
||||
rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
# Default timezone to UTC otherwise unit tests fail.
|
||||
export TZ=UTC
|
||||
# TestBaseScheduler.test_create_trigger_bad_plugin_type does incorrect mocking
|
||||
# TestIntervalTrigger.test_repr - changed timedelta repr in Python 3.7
|
||||
# both fixed upstream
|
||||
%{__python3} -m pytest -k "not (TestIntervalTrigger and test_repr) and not test_create_trigger_bad_plugin_type"
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
||||
%{python3_sitelib}/apscheduler/
|
||||
|
||||
%files doc
|
||||
%doc docs/_build/html
|
||||
|
||||
%changelog
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.5.3-4
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sun Dec 16 2018 Miro Hrončok <mhroncok@redhat.com> - 3.5.3-2
|
||||
- Subpackage python2-APScheduler has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Mon Aug 20 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 3.5.3-1
|
||||
- Upstream 3.5.3 (RHBZ#1605579)
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-9
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.0.5-8
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-4
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.5-3
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Sat Dec 19 2015 Paul Belanger <pabelanger@redhat.com> - 3.0.5-1
|
||||
- Initial packaging (#1218410)
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (APScheduler-3.5.3.tar.gz) = dd3e98d0f474511851bdc109a1c65f7f97d221f95d086603d12b3f280285460234724369f05816e1754d58d94adadbec0deb8a0fa63fcd6531914d4a1f4fb3fc
|
||||
Loading…
Add table
Add a link
Reference in a new issue