2024-12-06 10:14:15 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-05 16:45:09 +01:00
|
|
|
Name: python-telegram-bot
|
2024-12-06 10:14:15 +01:00
|
|
|
Version: 21.8
|
2024-01-05 16:45:12 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:45:09 +01:00
|
|
|
Summary: A pure Python interface for the Telegram Bot API
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:45:10 +01:00
|
|
|
URL: https://pypi.org/project/python-telegram-bot/
|
2024-12-06 10:14:15 +01:00
|
|
|
Source: http://pypi.debian.net/python-telegram-bot/python_telegram_bot-%{version}.tar.gz
|
2024-01-05 16:45:09 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:45:11 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(httpx)
|
2024-01-05 16:45:09 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:45:11 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:45:09 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
2024-01-05 16:45:10 +01:00
|
|
|
%pyver_package
|
2024-01-05 16:45:09 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
2024-12-06 10:14:15 +01:00
|
|
|
%setup -q -n python_telegram_bot-%{version}
|
|
|
|
sed -i "s|APScheduler~=.*[0-9]|APScheduler|;s|httpx ~= .*[0-9]|httpx|" \
|
|
|
|
pyproject.toml
|
2024-01-05 16:45:09 +01:00
|
|
|
|
|
|
|
%build
|
2024-12-06 10:14:15 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-05 16:45:09 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-12-06 10:14:15 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-05 16:45:09 +01:00
|
|
|
|
2024-12-06 10:14:15 +01:00
|
|
|
#%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
|
2024-01-05 16:45:09 +01:00
|
|
|
|
2024-12-06 10:14:15 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-05 16:45:09 +01:00
|
|
|
%defattr(-,root,root)
|
2024-12-06 10:14:15 +01:00
|
|
|
%dir %{python_sitelib}/python_telegram_bot-%{version}.dist-info
|
|
|
|
%{python_sitelib}/python_telegram_bot-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/telegram
|
|
|
|
%{python_sitelib}/telegram/*
|
2024-01-05 16:45:09 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-12-06 10:14:15 +01:00
|
|
|
* Fri Dec 06 2024 Automatic Build System <autodist@openmamba.org> 21.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 21.7-1mamba
|
|
|
|
- update to 21.7
|
|
|
|
|
2024-06-09 18:44:59 +02:00
|
|
|
* Sat Jun 08 2024 Automatic Build System <autodist@openmamba.org> 21.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-22 10:09:02 +02:00
|
|
|
* Tue May 21 2024 Automatic Build System <autodist@openmamba.org> 21.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-16 23:26:53 +02:00
|
|
|
* Tue Apr 16 2024 Automatic Build System <autodist@openmamba.org> 21.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-14 10:55:40 +02:00
|
|
|
* Sat Apr 13 2024 Automatic Build System <autodist@openmamba.org> 21.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-08 19:09:32 +01:00
|
|
|
* Fri Mar 08 2024 Automatic Build System <autodist@openmamba.org> 21.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-12 10:38:44 +01:00
|
|
|
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 20.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:12 +01:00
|
|
|
* Fri Dec 08 2023 Automatic Build System <autodist@mambasoft.it> 20.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:12 +01:00
|
|
|
* Wed Oct 04 2023 Automatic Build System <autodist@mambasoft.it> 20.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:11 +01:00
|
|
|
* Tue Oct 03 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 20.4-2mamba
|
|
|
|
- remove versioned requirement for httpx
|
|
|
|
|
|
|
|
* Sun Oct 01 2023 Automatic Build System <autodist@mambasoft.it> 20.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 20.2-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:45:11 +01:00
|
|
|
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 20.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:11 +01:00
|
|
|
* Sat Feb 11 2023 Automatic Build System <autodist@mambasoft.it> 20.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Mon Jan 02 2023 Automatic Build System <autodist@mambasoft.it> 20.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Dec 09 2022 Automatic Build System <autodist@mambasoft.it> 13.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Mon Sep 05 2022 Automatic Build System <autodist@mambasoft.it> 13.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 29 2022 Automatic Build System <autodist@mambasoft.it> 13.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Fri May 27 2022 Automatic Build System <autodist@mambasoft.it> 13.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Mon Feb 07 2022 Automatic Build System <autodist@mambasoft.it> 13.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Tue Jan 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 13.10-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Thu Jan 06 2022 Automatic Build System <autodist@mambasoft.it> 13.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Mon Nov 15 2021 Automatic Build System <autodist@mambasoft.it> 13.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 13.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Mon Feb 22 2021 Automatic Build System <autodist@mambasoft.it> 13.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Thu Nov 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 13.0-1mamba
|
|
|
|
- update to 13.0
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 12.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 12.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Tue Dec 25 2018 Automatic Build System <autodist@mambasoft.it> 11.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Tue Dec 19 2017 Automatic Build System <autodist@mambasoft.it> 9.0.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:45:09 +01:00
|
|
|
* Fri Oct 27 2017 Automatic Build System <autodist@mambasoft.it> 8.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:45:09 +01:00
|
|
|
* Fri Oct 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-1mamba
|
|
|
|
- package created using the webbuild interface
|