14
0

Accepting request 891607 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/891607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyftpdlib?expand=0&rev=15
This commit is contained in:
2021-05-10 13:38:19 +00:00
committed by Git OBS Bridge
2 changed files with 15 additions and 4 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 7 23:13:10 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Skip masquerade tests failung because the newest Pythons don't
allow invalid addresses gh#giampaolo/pyftpdlib#550, bpo-43285
- Remove script interpreter lines for test files and _compyt.py
(fix rpmlint warnings)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 18 16:29:52 UTC 2020 - Benjamin Greiner <code@bnavigator.de> Fri Dec 18 16:29:52 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyftpdlib # spec file for package python-pyftpdlib
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# Copyright (c) 2016 LISA GmbH, Bingen, Germany. # Copyright (c) 2016 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -54,6 +54,7 @@ write very asynchronous FTP servers with Python.
%prep %prep
%setup -q -n pyftpdlib-%{version} %setup -q -n pyftpdlib-%{version}
sed -i '1 {/env python/ d}' pyftpdlib/test/*.py pyftpdlib/_compat.py
%build %build
%python_build %python_build
@@ -71,6 +72,8 @@ write very asynchronous FTP servers with Python.
# and disable only related tests. # and disable only related tests.
donttest="(TestFtpStoreDataTLSMixin and test_rest_on_stor)" donttest="(TestFtpStoreDataTLSMixin and test_rest_on_stor)"
donttest+=" or (TestFtpStoreDataTLSMixin and test_stor_ascii)" donttest+=" or (TestFtpStoreDataTLSMixin and test_stor_ascii)"
# https://github.com/giampaolo/pyftpdlib/issues/550
donttest+=" or test_masquerade_address"
ignorebuild="--ignore build" ignorebuild="--ignore build"
%{python_expand # expand to python flavor, not to the binary name, then strip the trailing _ %{python_expand # expand to python flavor, not to the binary name, then strip the trailing _
builddir=_build.$python_ builddir=_build.$python_