17 Commits

Author SHA1 Message Date
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
3ae020b36d automatic version update by autodist [release 20.1-1mamba;Sat Feb 11 2023] 2024-01-05 16:45:11 +01:00
22accaff57 automatic version update by autodist [release 20.0-1mamba;Mon Jan 02 2023] 2024-01-05 16:45:10 +01:00
f11ee34644 automatic version update by autodist [release 13.14-1mamba;Mon Sep 05 2022] 2024-01-05 16:45:10 +01:00
763b3c5ac1 automatic version update by autodist [release 13.12-1mamba;Fri May 27 2022] 2024-01-05 16:45:10 +01:00
ec1407546e automatic version update by autodist [release 13.11-1mamba;Mon Feb 07 2022] 2024-01-05 16:45:10 +01:00

View File

@ -1,22 +1,20 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-telegram-bot
Version: 13.10
Release: 2mamba
Version: 21.9
Release: 1mamba
Summary: A pure Python interface for the Telegram Bot API
Group: System/Libraries
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
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(apscheduler)
BuildRequires: python3.7dist(cachetools)
BuildRequires: python3.7dist(certifi)
BuildRequires: python3.7dist(pytz)
BuildRequires: python3.7dist(tornado)
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(httpx)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
%{summary}.
@ -26,30 +24,99 @@ BuildRequires: python3.7dist(tornado)
%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
* 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
* 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
* 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
* Fri May 27 2022 Automatic Build System <autodist@mambasoft.it> 13.12-1mamba
- automatic version update by autodist
* Mon Feb 07 2022 Automatic Build System <autodist@mambasoft.it> 13.11-1mamba
- automatic version update by autodist
* Tue Jan 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 13.10-2mamba
- rebuilt with distdeps