%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-APScheduler Version: 4.0.0a4 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 URL: https://github.com/agronholm/apscheduler Source: https://pypi.debian.net/APScheduler/APScheduler-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: (python3.11dist(anyio) >= 4 with python3.11dist(anyio) < 5) BuildRequires: (python3.11dist(tenacity) >= 8 with python3.11dist(tenacity) < 9) BuildRequires: libpython311-devel BuildRequires: python3.11dist(attrs) BuildRequires: python3.11dist(tzlocal) ## AUTOBUILDREQ-END %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. %if 0%{?with_pyver} %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} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl #%if "%{?with_pyver}" != "3" ## Rename any conflicting file outside of python site packages tree #for f in %{_bindir}/pdm; do # mv %{buildroot}${f}{,-%{?pyappend}} #done #%endif %files %{?pyappend} %defattr(-,root,root) %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/apscheduler %{python_sitelib}/apscheduler/* %doc LICENSE.txt %changelog * Tue Mar 05 2024 Automatic Build System 4.0.0a4-1mamba - automatic update by autodist * Fri Feb 16 2024 Automatic Build System 3.10.4-1mamba - automatic version update by autodist * Wed Sep 27 2023 Automatic Build System 3.10.1-2mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba * Sat Mar 04 2023 Automatic Build System 3.10.1-1mamba - automatic version update by autodist * Wed Feb 01 2023 Automatic Build System 3.10.0-1mamba - automatic version update by autodist * Sat Nov 12 2022 Automatic Build System 3.9.1.post1-1mamba - automatic version update by autodist * Mon Feb 28 2022 Automatic Build System 3.9.1-1mamba - automatic version update by autodist * Fri Feb 25 2022 Automatic Build System 3.9.0.post1-1mamba - automatic version update by autodist * Tue Jan 25 2022 Silvan Calarco 3.8.1-2mamba - rebuilt with distdeps * Mon Oct 25 2021 Automatic Build System 3.8.1-1mamba - automatic version update by autodist * Fri Sep 24 2021 Automatic Build System 3.8.0-1mamba - automatic version update by autodist * Sun Feb 21 2021 Automatic Build System 3.7.0-1mamba - automatic version update by autodist * Thu Nov 19 2020 Silvan Calarco 3.6.3-1mamba - update to 3.6.3 * Sat Nov 15 2014 Automatic Build System 3.0.1-1mamba - automatic update by autodist * Wed Jun 25 2014 Automatic Build System 3.0.0b1-1mamba - automatic update by autodist * Tue Apr 01 2014 Silvan Calarco 2.1.2-1mamba - package created using the webbuild interface