14
0

- Version update to 1.5.3:

* implemented SITE MFMT command which changes file modification time. (patch by Tahir Ijaz)
  * add username and password command line options
  * documentation moved to readthedocs: http://pyftpdlib.readthedocs.io
  * fix duplicated output log. (path by PonyPC)
  * Respond successfully to STOR only after closing file handle.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyftpdlib?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2018-05-02 10:30:31 +00:00
committed by Git OBS Bridge
parent e5c7d66ea8
commit 257ebea97d
4 changed files with 20 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyftpdlib
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,21 +19,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyftpdlib
Version: 1.5.2
Version: 1.5.3
Release: 0
Summary: Asynchronous FTP server library for Python
License: MIT
Group: Development/Languages/Python
Url: https://github.com/giampaolo/pyftpdlib/
URL: https://github.com/giampaolo/pyftpdlib/
Source: https://files.pythonhosted.org/packages/source/p/pyftpdlib/pyftpdlib-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pyOpenSSL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -49,15 +49,15 @@ write very asynchronous FTP servers with Python.
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
#%%python_exec -m nose #pyftpdlib/test
export PYTHONPATH=$PWD
%python_exec pyftpdlib/test/runner.py
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst LICENSE
%license LICENSE
%doc README.rst
%python3_only %{_bindir}/ftpbench
%{python_sitelib}/*