]> git.pld-linux.org Git - packages/python-pyftpdlib.git/commitdiff
- updated to 1.5.6 auto/th/python-pyftpdlib-1.5.6-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 Mar 2022 19:23:30 +0000 (20:23 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 Mar 2022 19:23:30 +0000 (20:23 +0100)
- removed obsolete sendfile patch

python-pyftpdlib-sendfile.patch [deleted file]
python-pyftpdlib.spec

diff --git a/python-pyftpdlib-sendfile.patch b/python-pyftpdlib-sendfile.patch
deleted file mode 100644 (file)
index 4b436ff..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
---- pyftpdlib-1.5.5/pyftpdlib/test/__init__.py.orig    2018-05-15 14:14:07.000000000 +0200
-+++ pyftpdlib-1.5.5/pyftpdlib/test/__init__.py 2019-10-05 17:47:17.336707773 +0200
-@@ -37,7 +37,8 @@
-     unittest.TestCase.assertRaisesRegex = unittest.TestCase.assertRaisesRegexp
- if os.name == 'posix':
--    import sendfile
-+    if not hasattr(os, 'sendfile'):
-+        import sendfile
- else:
-     sendfile = None
---- pyftpdlib-1.5.5/pyftpdlib/test/test_functional.py.orig     2019-03-27 17:31:43.000000000 +0100
-+++ pyftpdlib-1.5.5/pyftpdlib/test/test_functional.py  2019-10-05 17:55:46.157284589 +0200
-@@ -67,7 +67,8 @@
- import ssl
- if POSIX:
--    import sendfile
-+    if not hasattr(os, 'sendfile'):
-+        import sendfile
- else:
-     sendfile = None
index 3e990b6135104c3e86c1fc3a2320c8e78283a7a1..d385f9f485a048d557bf45e7695d9143a81595bd 100644 (file)
@@ -7,15 +7,14 @@
 Summary:       Very fast asynchronous FTP server library for Python 2
 Summary(pl.UTF-8):     Bardzo szybka biblioteka asynchronicznego serwera FTP dla Pythona 2
 Name:          python-pyftpdlib
-Version:       1.5.5
-Release:       4
+Version:       1.5.6
+Release:       1
 License:       MIT
 Group:         Libraries/Python
 #Source0Download: https://pypi.python.org/simple/pyftpdlib/
 Source0:       https://files.pythonhosted.org/packages/source/p/pyftpdlib/pyftpdlib-%{version}.tar.gz
-# Source0-md5: 7f8089520d60171bee5dab2b721e8d00
+# Source0-md5: 459dd3e685c4b7dfcf574ca05e5586eb
 Patch0:                %{name}-tests.patch
-Patch1:                %{name}-sendfile.patch
 URL:           https://github.com/giampaolo/pyftpdlib/
 %if %{with python2}
 BuildRequires: python-modules >= 1:2.6
@@ -76,7 +75,6 @@ jÄ™zyka programowania.
 %prep
 %setup -q -n pyftpdlib-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
 %if %{with python2}
This page took 0.097013 seconds and 4 git commands to generate.