File python-pyftpdlib.spec of Package python-pyftpdlib

# spec file for package python-pyftpdlib
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-pyftpdlib
Version:        1.5.2
Release:        0
Summary:        Very fast asynchronous FTP server library
License:        MIT
Group:          Development/Languages/Python
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module mock}
BuildRequires:  %{python_module nose}
BuildRequires:  %{python_module pyOpenSSL}
BuildRequires:  %{python_module setuptools}
BuildRequires:  python-rpm-macros
Requires:       python-pyOpenSSL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Python FTP server library provides a high-level portable interface to easily
write very efficient, scalable and asynchronous FTP servers with Python. It is
the most complete `RFC-959 <>`__ FTP server
implementation available for `Python <>`__ programming
language and it's used in projects like
`Google Chromium <>`__ and
`Bazaar <>`__ and included in
`Debian <>`__,
`Fedora <>`__ and
`FreeBSD <>`__ package repositories.

%setup -q -n pyftpdlib-%{version}



#%%python_exec -m nose #pyftpdlib/test
%python_exec pyftpdlib/test/

%files %{python_files}
%python3_only %{_bindir}/ftpbench