2024-01-06 10:39:33 +01:00
|
|
|
Name: python-APScheduler
|
2024-01-06 10:39:33 +01:00
|
|
|
Version: 3.7.0
|
2024-01-06 10:39:33 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A light but powerful in-process task scheduler that lets you schedule jobs
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pypi.python.org/pypi/APScheduler
|
|
|
|
Source: https://pypi.python.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Provides: python-apscheduler
|
|
|
|
Obsoletes: python-apscheduler
|
|
|
|
Requires: python >= %python_version
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Advanced Python Scheduler (APScheduler) is a light but powerful in-process task scheduler that lets you schedule jobs (functions or any python callables) to be executed at times of your choosing.
|
|
|
|
|
2024-01-06 10:39:33 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%define pyver %{with_pyver}
|
|
|
|
%define pyappend py%{with_pyver}
|
|
|
|
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
|
|
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
|
|
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
|
|
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
|
|
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
|
|
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
|
|
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
|
|
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
|
|
|
|
|
|
%package py%{pyver}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: %{summary}.
|
|
|
|
Requires: python-tzlocal-%{?pyappend}
|
|
|
|
%py_requires
|
|
|
|
|
|
|
|
%description py%{pyver}
|
|
|
|
%{summary}.
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:39:33 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n APScheduler-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-06 10:39:33 +01:00
|
|
|
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 10:39:33 +01:00
|
|
|
|
2024-01-06 10:39:33 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 10:39:33 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:39:33 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:39:33 +01:00
|
|
|
* Thu Nov 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.3-1mamba
|
|
|
|
- update to 3.6.3
|
|
|
|
|
2024-01-06 10:39:33 +01:00
|
|
|
* Sat Nov 15 2014 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 25 2014 Automatic Build System <autodist@mambasoft.it> 3.0.0b1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:39:33 +01:00
|
|
|
* Tue Apr 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-1mamba
|
|
|
|
- package created using the webbuild interface
|