Sisyphus repository
Last update: 26 may 2019 | SRPMs: 17693 | Visits: 13601611
en ru br
ALT Linux repos
S:3.6.6-alt1

Group :: Development/Python
RPM: python-module-telebot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define modulename telebot
%def_with python3

Name: python-module-%modulename
Version: 3.0.0
Release: alt1

%setup_python_module %modulename

Summary: Python Telegram bot api
License: GPL2
Group: Development/Python

Url: https://github.com/eternnoir/pyTelegramBotAPI
Packager: Konstantin Artyushkin <akv at altlinux.org>
BuildArch: noarch

Source: %modulename-%version.tar

#BuildPreReq: %py_dependencies setuptools

BuildRequires(pre): rpm-build-python
BuildRequires: python-module-setuptools
%if_with python3
BuildRequires: python3-module-setuptools
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel
%endif

%description
%summary

#--------------------------------------------------------------------------------

%if_with python3
%package -n python3-module-%modulename
Summary: Python Telegram bot api
Group: Development/Python3

%description -n python3-module-%modulename
%summary
%endif
#--------------------------------------------------------------------------------

%prep
%setup -n %modulename-%version

%if_with python3
rm -fr ../python3
cp -a ./ ../python3
%endif

%build
%python_build
%if_with python3
pushd ../python3
%python3_build
popd
%endif

%install
%python_install
%if_with python3
pushd ../python3
%python3_install
popd
%endif

%files
%python_sitelibdir/%modulename/
%python_sitelibdir/*.egg-info

#--------------------------------------------------------------------------------

%if_with python3
%files -n python3-module-%modulename
%python3_sitelibdir/%modulename/
%python3_sitelibdir/pyTelegramBotAPI*.egg-info
%endif
#--------------------------------------------------------------------------------


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin