Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37816080
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-telebot

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define modulename telebot
%define pypi_name pyTelegramBotAPI

Name: python3-module-%modulename
Version: 4.12.0
Release: alt1

Summary: Python Telegram bot api
License: GPL2
Group: Development/Python3
Url: https://github.com/eternnoir/pyTelegramBotAPI
BuildArch: noarch

# Source-url: https://github.com/eternnoir/pyTelegramBotAPI/archive/%version.tar.gz

Source: %modulename-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)

Provides: python3-module-pytelegrambotapi = %version-%release
%py3_provides %pypi_name

%description
A simple, but extensible Python implementation for the Telegram Bot API.

%prep
%setup -n %modulename-%version

sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
   $(find ./ -name '*.py')

%build
%pyproject_build

%install
%pyproject_install

%files
%python3_sitelibdir/%modulename
%python3_sitelibdir/%pypi_name-%version.dist-info


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin