commit dacd619aca536815bceb072dc72edb37d46c63f8
Author: Jakub Bogusz <[email protected]>
Date:   Tue Mar 22 20:23:30 2022 +0100

    - updated to 1.5.6
    - removed obsolete sendfile patch

 python-pyftpdlib-sendfile.patch | 24 ------------------------
 python-pyftpdlib.spec           |  8 +++-----
 2 files changed, 3 insertions(+), 29 deletions(-)
---
diff --git a/python-pyftpdlib.spec b/python-pyftpdlib.spec
index 3e990b6..d385f9f 100644
--- a/python-pyftpdlib.spec
+++ b/python-pyftpdlib.spec
@@ -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}
diff --git a/python-pyftpdlib-sendfile.patch b/python-pyftpdlib-sendfile.patch
deleted file mode 100644
index 4b436ff..0000000
--- a/python-pyftpdlib-sendfile.patch
+++ /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
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyftpdlib.git/commitdiff/dacd619aca536815bceb072dc72edb37d46c63f8

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to