14
0

Accepting request 734833 from home:jayvdb:python38-packages

- Add two patches to fix Python 3.8 compatibility
  * pr_9_1.patch and pr_9_2.patch

OBS-URL: https://build.opensuse.org/request/show/734833
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=35
This commit is contained in:
Tomáš Chvátal
2019-10-04 07:43:58 +00:00
committed by Git OBS Bridge
parent a540d3bc73
commit 9ce45547c8
4 changed files with 109 additions and 0 deletions

View File

@@ -26,6 +26,9 @@ 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
# Python 3.8 compatibility patches
Patch1: pr_9_1.patch
Patch2: pr_9_2.patch
# test requirements
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
@@ -44,6 +47,8 @@ applications.
%prep
%setup -q -n passlib-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%python_build