Hello community, here is the log from the commit of package python-pyftpdlib for openSUSE:Factory checked in at 2016-07-21 08:18:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyftpdlib (Old) and /work/SRC/openSUSE:Factory/.python-pyftpdlib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyftpdlib" Changes: -------- New Changes file: --- /dev/null 2016-07-07 10:01:34.856033756 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyftpdlib.new/python-pyftpdlib.changes 2016-07-21 08:19:04.000000000 +0200 @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Mon May 9 14:58:36 UTC 2016 - [email protected] + +- add patch to disable another failing test, related to icomplete + file receptions + +------------------------------------------------------------------- +Mon May 9 13:14:32 UTC 2016 - [email protected] + +- add patch to test SSLv3 only, if available + +------------------------------------------------------------------- +Mon May 9 10:34:42 UTC 2016 - [email protected] + +- add patch to disable a test, that triggers an error 0 in ssl + +------------------------------------------------------------------- +Sun May 8 20:15:42 UTC 2016 - [email protected] + +- version 1.5.1: initial build + New: ---- pyftpdlib-1.5.1.tar.gz pyftpdlib-disable-error-0-ssl-unwrap.diff pyftpdlib-disable-incomplete-file-received.diff pyftpdlib-handle-missing-SSLv3.diff python-pyftpdlib.changes python-pyftpdlib.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyftpdlib.spec ++++++ # # spec file for package python-pyftpdlib # # Copyright (c) 2016 SUSE LINUX Products 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 http://bugs.opensuse.org/ Name: python-pyftpdlib Version: 1.5.1 Release: 0 License: MIT Summary: Very fast asynchronous FTP server library Url: https://github.com/giampaolo/pyftpdlib/ Group: Development/Languages/Python Source: https://pypi.python.org/packages/a8/f8/0f6db156898616dbcbd7bf865660295c81479071ab0fcd1898fe1b3a4fc4/pyftpdlib-%{version}.tar.gz Patch1: pyftpdlib-disable-error-0-ssl-unwrap.diff Patch2: pyftpdlib-handle-missing-SSLv3.diff Patch3: pyftpdlib-disable-incomplete-file-received.diff BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-mock BuildRequires: python-nose BuildRequires: python-pyOpenSSL Requires: python-pyOpenSSL BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description 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 <http://www.faqs.org/rfcs/rfc959.html>`__ FTP server implementation available for `Python <http://www.python.org/>`__ programming language and it's used in projects like `Google Chromium <http://www.code.google.com/chromium/>`__ and `Bazaar <http://bazaar-vcs.org/>`__ and included in `Debian <http://packages.debian.org/sid/python-pyftpdlib>`__, `Fedora <https://admin.fedoraproject.org/pkgdb/packages/name/pyftpdlib>`__ and `FreeBSD <http://www.freshports.org/ftp/py-pyftpdlib/>`__ package repositories. %prep %setup -q -n pyftpdlib-%{version} %patch1 -p1 %patch2 -p1 %patch3 -p1 %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check make test %files %defattr(-,root,root,-) %doc README.rst LICENSE %{_bindir}/ftpbench %{python_sitelib}/* %changelog ++++++ pyftpdlib-disable-error-0-ssl-unwrap.diff ++++++ Index: b/pyftpdlib/test/test_functional_ssl.py =================================================================== --- a/pyftpdlib/test/test_functional_ssl.py +++ b/pyftpdlib/test/test_functional_ssl.py @@ -134,7 +134,7 @@ class TestFtpListingCmdsTLSMixin(TLSTest # File "/opt/python/2.7.9/lib/python2.7/ssl.py", line 771, in unwrap # s = self._sslobj.shutdown() # error: [Errno 0] Error - @unittest.skipIf(TRAVIS, "fails on travis") + @unittest.skipIf(1, "fails with SSL") def test_nlst(self): super(TestFtpListingCmdsTLSMixin, self).test_nlst() ++++++ pyftpdlib-disable-incomplete-file-received.diff ++++++ Index: b/pyftpdlib/test/test_functional.py =================================================================== --- a/pyftpdlib/test/test_functional.py +++ b/pyftpdlib/test/test_functional.py @@ -1956,7 +1956,7 @@ class TestCallbacks(unittest.TestCase): self.tearDown() self.assertEqual(_file, [os.path.abspath(TESTFN)]) - @unittest.skipIf(TRAVIS, "failing on Travis") + @unittest.skipIf(1, "failing on openSUSE Build Service") @retry_before_failing() def test_on_incomplete_file_received(self): _file = [] ++++++ pyftpdlib-handle-missing-SSLv3.diff ++++++ Index: b/pyftpdlib/test/test_functional_ssl.py =================================================================== --- a/pyftpdlib/test/test_functional_ssl.py +++ b/pyftpdlib/test/test_functional_ssl.py @@ -344,13 +344,15 @@ class TestFTPS(unittest.TestCase): self.client.quit() def test_ssl_version(self): - protos = [ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1] + protos = [ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1] if hasattr(ssl, "PROTOCOL_SSLv2"): protos.append(ssl.PROTOCOL_SSLv2) for proto in protos: self.try_protocol_combo(ssl.PROTOCOL_SSLv2, proto) - for proto in protos: - self.try_protocol_combo(ssl.PROTOCOL_SSLv3, proto) + if hasattr(ssl, "PROTOCOL_SSLv3"): + protos.append(ssl.PROTOCOL_SSLv3) + for proto in protos: + self.try_protocol_combo(ssl.PROTOCOL_SSLv3, proto) for proto in protos: self.try_protocol_combo(ssl.PROTOCOL_SSLv23, proto) for proto in protos:
