rebuilt with distdeps [release 3.8.1-2mamba;Tue Jan 25 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 10:39:33 +01:00
parent 3fc2cdb190
commit 799db73dd0

View File

@ -1,6 +1,6 @@
Name: python-APScheduler
Version: 3.8.1
Release: 1mamba
Release: 2mamba
Summary: A light but powerful in-process task scheduler that lets you schedule jobs
Group: System/Libraries
Vendor: openmamba
@ -10,6 +10,11 @@ URL: https://pypi.org/project/APScheduler/
Source: https://pypi.debian.net/APScheduler/APScheduler-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(pytz)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(six)
BuildRequires: python3.7dist(tzlocal)
## AUTOBUILDREQ-END
Provides: python-apscheduler
Obsoletes: python-apscheduler
@ -19,29 +24,12 @@ Requires: python >= %python_version
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.
%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}.
%pyver_package
%endif
%prep
%setup -q -n APScheduler-%{version}
sed -i "s|tzlocal >= 2.0,.*|tzlocal >= 2.0'|" setup.py APScheduler.egg-info/requires.txt
%build
CFLAGS="%{optflags}" %{__python} setup.py build
@ -55,12 +43,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/APScheduler-%{version}-py*.egg-info
%{python_sitearch}/APScheduler-%{version}-py*.egg-info/*
%changelog
* Tue Jan 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.1-2mamba
- rebuilt with distdeps
* Mon Oct 25 2021 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist