17 Commits

Author SHA1 Message Date
5e56b31fac automatic version update by autodist [release 22.2-1mamba;Sat Jul 05 2025] 2025-07-05 15:18:05 +02:00
e4d441337e automatic version update by autodist [release 22.1-1mamba;Fri May 23 2025] 2025-05-24 10:33:07 +02:00
27cb66abe4 automatic version update by autodist [release 22.0-1mamba;Tue Mar 25 2025] 2025-03-25 19:06:23 +01:00
c49efd32b4 automatic version update by autodist [release 21.11.1-1mamba;Tue Mar 11 2025] 2025-03-11 18:18:33 +01:00
d52c3d7aaa automatic version update by autodist [release 21.10-1mamba;Mon Jan 06 2025] 2025-01-06 10:04:16 +01:00
4513703265 automatic version update by autodist [release 21.9-1mamba;Sun Dec 08 2024] 2024-12-09 12:42:17 +01:00
cdff92d9c1 automatic version update by autodist [release 21.8-1mamba;Fri Dec 06 2024] 2024-12-06 10:14:15 +01:00
e1711bf3e9 automatic version update by autodist [release 21.3-1mamba;Sat Jun 08 2024] 2024-06-09 18:44:59 +02:00
9b9344cf0b automatic version update by autodist [release 21.2-1mamba;Tue May 21 2024] 2024-05-22 10:09:02 +02:00
83c47a277a automatic version update by autodist [release 21.1.1-1mamba;Tue Apr 16 2024] 2024-04-16 23:26:53 +02:00
8afa09fa1c automatic version update by autodist [release 21.1-1mamba;Sat Apr 13 2024] 2024-04-14 10:55:40 +02:00
178ac6a455 automatic version update by autodist [release 21.0.1-1mamba;Fri Mar 08 2024] 2024-03-08 19:09:32 +01:00
244f679bbf automatic version update by autodist [release 20.8-1mamba;Mon Feb 12 2024] 2024-02-12 10:38:44 +01:00
84979dc41d automatic version update by autodist [release 20.7-1mamba;Fri Dec 08 2023] 2024-01-05 16:45:12 +01:00
3202e9e79c automatic version update by autodist [release 20.6-1mamba;Wed Oct 04 2023] 2024-01-05 16:45:12 +01:00
9ecf670abd remove versioned requirement for httpx [release 20.4-2mamba;Tue Oct 03 2023] 2024-01-05 16:45:11 +01:00
6741fe71fd automatic version update by autodist [release 20.2-1mamba;Tue Mar 28 2023] 2024-01-05 16:45:11 +01:00

View File

@ -1,5 +1,6 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-telegram-bot
Version: 20.1
Version: 22.2
Release: 1mamba
Summary: A pure Python interface for the Telegram Bot API
Group: System/Libraries
@ -7,12 +8,14 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/python-telegram-bot/
Source: http://pypi.debian.net/python-telegram-bot/python-telegram-bot-%{version}.tar.gz
Source: http://pypi.debian.net/python-telegram-bot/python_telegram_bot-%{version}.tar.gz
License: LGPL
BuildArch: noarch
## AUTOBUILDREQ-BEGIN
BuildRequires: (python3.7dist(httpx) >= 0.23.3 with python3.7dist(httpx) < 0.24)
BuildRequires: libpython3-devel
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(httpx)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
%{summary}.
@ -22,30 +25,93 @@ BuildRequires: libpython3-devel
%endif
%prep
%setup -q
sed -i "s|APScheduler==3.6.3|APScheduler>=3.6.3|" requirements.txt python_telegram_bot.egg-info/requires.txt
%setup -q -n python_telegram_bot-%{version}
sed -i "s|APScheduler~=.*[0-9]|APScheduler|;s|httpx ~= .*[0-9]|httpx|" \
pyproject.toml
%build
CFLAGS="%{optflags}" %{__python} setup.py build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
#%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} -f %{name}.filelist
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitearch}/python_telegram_bot-%{version}-py*.egg-info
%{python_sitearch}/python_telegram_bot-%{version}-py*.egg-info/*
%dir %{python_sitelib}/python_telegram_bot-%{version}.dist-info
%{python_sitelib}/python_telegram_bot-%{version}.dist-info/*
%dir %{python_sitelib}/telegram
%{python_sitelib}/telegram/*
%doc LICENSE
%changelog
* Sat Jul 05 2025 Automatic Build System <autodist@openmamba.org> 22.2-1mamba
- automatic version update by autodist
* Fri May 23 2025 Automatic Build System <autodist@openmamba.org> 22.1-1mamba
- automatic version update by autodist
* Tue Mar 25 2025 Automatic Build System <autodist@openmamba.org> 22.0-1mamba
- automatic version update by autodist
* Tue Mar 11 2025 Automatic Build System <autodist@openmamba.org> 21.11.1-1mamba
- automatic version update by autodist
* Mon Jan 06 2025 Automatic Build System <autodist@openmamba.org> 21.10-1mamba
- automatic version update by autodist
* Sun Dec 08 2024 Automatic Build System <autodist@openmamba.org> 21.9-1mamba
- automatic version update by autodist
* 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
* Sat Jun 08 2024 Automatic Build System <autodist@openmamba.org> 21.3-1mamba
- automatic version update by autodist
* Tue May 21 2024 Automatic Build System <autodist@openmamba.org> 21.2-1mamba
- automatic version update by autodist
* Tue Apr 16 2024 Automatic Build System <autodist@openmamba.org> 21.1.1-1mamba
- automatic version update by autodist
* Sat Apr 13 2024 Automatic Build System <autodist@openmamba.org> 21.1-1mamba
- automatic version update by autodist
* Fri Mar 08 2024 Automatic Build System <autodist@openmamba.org> 21.0.1-1mamba
- automatic version update by autodist
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 20.8-1mamba
- automatic version update by autodist
* Fri Dec 08 2023 Automatic Build System <autodist@mambasoft.it> 20.7-1mamba
- automatic version update by autodist
* Wed Oct 04 2023 Automatic Build System <autodist@mambasoft.it> 20.6-1mamba
- automatic version update by autodist
* 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
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 20.2-1mamba
- automatic version update by autodist
* Sat Feb 11 2023 Automatic Build System <autodist@mambasoft.it> 20.1-1mamba
- automatic version update by autodist