Compare commits
17 Commits
13.10-2mam
...
21.9-1mamb
Author | SHA1 | Date | |
---|---|---|---|
4513703265 | |||
cdff92d9c1 | |||
e1711bf3e9 | |||
9b9344cf0b | |||
83c47a277a | |||
8afa09fa1c | |||
178ac6a455 | |||
244f679bbf | |||
84979dc41d | |||
3202e9e79c | |||
9ecf670abd | |||
6741fe71fd | |||
3ae020b36d | |||
22accaff57 | |||
f11ee34644 | |||
763b3c5ac1 | |||
ec1407546e |
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user