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

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

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

%define  modulename Telethon
%def_without test

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

Summary: Pure Python 3 Telegram client library

License: MIT
Group:   Development/Python3
URL:     https://github.com/LonamiWebs/Telethon

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/LonamiWebs/Telethon/archive/v%version.tar.gz

Source:  %modulename-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools

%if_with test
# generated by epm --restore --dry-run from Telethon-1.17.0/dev-requirements.txt
%py3_buildrequires pytest
%py3_buildrequires pytest-cov
%py3_buildrequires pytest_asyncio
%endif

%description
Telethon is Telegram client implementation in Python 3
which uses the latest available API of Telegram.

%prep
%setup -n %modulename-%version

%build
python3 setup.py gen tl errors
%python3_build

%install
%python3_install
%python3_prune

# generated

test -r %buildroot%python3_sitelibdir/telethon/tl/alltlobjects.py
test -r %buildroot%python3_sitelibdir/telethon/errors/rpcerrorlist.py

%if_with test
%check
%python3_test
%endif

%files
%python3_sitelibdir/telethon/
%python3_sitelibdir/%modulename-*.egg-info/

%changelog

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

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