Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37840498
en ru br
ALT Linux repos
S:2.0.4-alt1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname telnetlib3

%def_with check

Name: python3-module-%oname
Version: 2.0.4
Release: alt1

Summary: Telnet server and client Protocol library using asyncio

License: BSD-3-Clause
Group: Development/Python3
BuildArch: noarch
URL: https://pypi.org/project/telnetlib3
VCS: https://github.com/jquast/telnetlib3

Source: %name-%version.tar

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

%if_with check
BuildRequires: python3-module-pytest-cov
BuildRequires: python3-module-pytest-timeout
BuildRequires: python3-module-pytest-asyncio
BuildRequires: python3-module-pexpect
%endif

Conflicts: python-module-%oname
Obsoletes: python-module-%oname

%py3_provides %oname
%py3_requires asyncio

%description
telnetlib3 is a Telnet Client and Server Protocol library for python.

%prep
%setup

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run_pytest %oname/tests

%files
%doc LICENSE.txt *.rst docs/*.rst
%_bindir/%oname-client
%_bindir/%oname-server
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info

%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