Accepting request 686033 from devel:languages:python
- Add patch to fix libxcrypt compatibility: * python-passlib-1.7.1-libxcrypt-compat.patch - Do not use symlinks when creating fdupes OBS-URL: https://build.opensuse.org/request/show/686033 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-passlib?expand=0&rev=18
This commit is contained in:
commit
7510fe1572
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,14 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Do not use symlinks when creating fdupes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 19 00:03:58 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-passlib
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -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,13 +43,14 @@ applications.
|
||||
|
||||
%prep
|
||||
%setup -q -n passlib-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand nosetests-%{$python_version} -v
|
||||
|
Loading…
Reference in New Issue
Block a user