Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37037589
en ru br
ALT Linux repositórios
S:1.29.2-alt1

Group :: Development/Python3
RPM: python3-module-Telethon

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009