14
0

Accepting request 605512 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/605512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyftpdlib?expand=0&rev=5
This commit is contained in:
2018-05-10 13:49:40 +00:00
committed by Git OBS Bridge
4 changed files with 31 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b9ea701f91bee280c5a930a9c4ceaea91b6d4aaf82b8b8ede82fb84a32081a7
size 183189

3
pyftpdlib-1.5.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5fca613978743d41c3bfc68e25a811d646a3b8a9eee9eb07021daca89646a0f
size 184986

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed May 9 00:57:35 UTC 2018 - toddrme2178@gmail.com
- Version update to 1.5.4
+ Enhancements
* #463: FTPServer class can now be used as a context manager.
+ Bug fixes
* #431: Ctrl-C doesn't exit `python -m pyftpdlib` on Windows.
* #436: ThreadedFTPServer.max_cons is evaluated threading.activeCount(). If
the user uses threads of its own it will consume the number of max_cons.
* #447: ThreadedFTPServer and MultiprocessFTPServer do not join() tasks which
are no longer consuming resources.
- Disable tests since they randomly fail.
See https://github.com/giampaolo/pyftpdlib/issues/386
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 2 10:27:38 UTC 2018 - tchvatal@suse.com Wed May 2 10:27:38 UTC 2018 - tchvatal@suse.com

View File

@@ -18,8 +18,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Tests randomly fail: https://github.com/giampaolo/pyftpdlib/issues/386
%bcond_with test
Name: python-pyftpdlib Name: python-pyftpdlib
Version: 1.5.3 Version: 1.5.4
Release: 0 Release: 0
Summary: Asynchronous FTP server library for Python Summary: Asynchronous FTP server library for Python
License: MIT License: MIT
@@ -27,13 +29,20 @@ 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 Source: https://files.pythonhosted.org/packages/source/p/pyftpdlib/pyftpdlib-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose} BuildRequires: %{python_module nose}
BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pysendfile}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python-ipaddress
BuildRequires: python-mock
Requires: python-pyOpenSSL Requires: python-pyOpenSSL
Recommends: python-pysendfile
%ifpython2
Requires: python-ipaddress
%endif
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -51,9 +60,11 @@ write very asynchronous FTP servers with Python.
%python_install %python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib} %python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%if %{with test}
%check %check
export PYTHONPATH=$PWD export PYTHONPATH=$PWD
%python_exec pyftpdlib/test/runner.py %python_exec pyftpdlib/test/runner.py
%endif
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE