forked from pool/python-random2
Accepting request 886211 from home:cgiboudeaux:branches:devel:languages:python
- Add patch from Debian to fix build with python 3.9: * python3.9.patch OBS-URL: https://build.opensuse.org/request/show/886211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-random2?expand=0&rev=7
This commit is contained in:
@@ -25,6 +25,8 @@ Summary: A Session and Caching library with WSGI Middleware
|
||||
License: Python-2.0
|
||||
URL: https://pypi.python.org/pypi/random2
|
||||
Source: https://files.pythonhosted.org/packages/source/r/random2/random2-%{version}.zip
|
||||
# PATCH-FIX-UPSTREAM -- python3.9.patch Origin: Debian
|
||||
Patch0: python3.9.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -45,7 +47,7 @@ makes porting code to Python 3 a lot harder, if all those tests have to be
|
||||
adjusted. This package fixes that.
|
||||
|
||||
%prep
|
||||
%setup -q -n random2-%{version}
|
||||
%autosetup -p1 -n random2-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user