- Add patch to fix libxcrypt compatibility:
* python-passlib-1.7.1-libxcrypt-compat.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=33
This commit is contained in:
parent
81869a0620
commit
a540d3bc73
24
python-passlib-1.7.1-libxcrypt-compat.patch
Normal file
24
python-passlib-1.7.1-libxcrypt-compat.patch
Normal file
@ -0,0 +1,24 @@
|
||||
Index: passlib-1.7.1/passlib/tests/test_handlers.py
|
||||
===================================================================
|
||||
--- passlib-1.7.1.orig/passlib/tests/test_handlers.py
|
||||
+++ passlib-1.7.1/passlib/tests/test_handlers.py
|
||||
@@ -176,7 +176,8 @@ class _bsdi_crypt_test(HandlerCase):
|
||||
|
||||
platform_crypt_support = [
|
||||
("freebsd|openbsd|netbsd|darwin", True),
|
||||
- ("linux|solaris", False),
|
||||
+ ("solaris", False),
|
||||
+ # linux - may be present in libxcrypt
|
||||
]
|
||||
|
||||
def test_77_fuzz_input(self, **kwds):
|
||||
@@ -1253,7 +1254,8 @@ class _sha1_crypt_test(HandlerCase):
|
||||
|
||||
platform_crypt_support = [
|
||||
("netbsd", True),
|
||||
- ("freebsd|openbsd|linux|solaris|darwin", False),
|
||||
+ ("freebsd|openbsd|solaris|darwin", False),
|
||||
+ # linux - may be present in libxcrypt
|
||||
]
|
||||
|
||||
# create test cases for specific backends
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 10:46:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add patch to fix libxcrypt compatibility:
|
||||
* python-passlib-1.7.1-libxcrypt-compat.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 2 15:20:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -25,6 +25,7 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://bitbucket.org/ecollins/passlib
|
||||
Source: https://files.pythonhosted.org/packages/source/p/passlib/passlib-%{version}.tar.gz
|
||||
Patch0: python-passlib-1.7.1-libxcrypt-compat.patch
|
||||
# test requirements
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -42,6 +43,7 @@ applications.
|
||||
|
||||
%prep
|
||||
%setup -q -n passlib-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
Reference in New Issue
Block a user