15
0
forked from pool/python-behave

- add no2to3.patch for compatibility with newer setuptools

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-behave?expand=0&rev=8
This commit is contained in:
2022-03-01 09:49:42 +00:00
committed by Git OBS Bridge
parent f80b95038b
commit 6217a931e8
3 changed files with 21 additions and 1 deletions

13
no2to3.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: behave-1.2.6/setup.py
===================================================================
--- behave-1.2.6.orig/setup.py
+++ behave-1.2.6/setup.py
@@ -100,8 +100,6 @@ setup(
"pylint",
],
},
- # MAYBE-DISABLE: use_2to3
- use_2to3= bool(python_version >= 3.0),
license="BSD",
classifiers=[
"Development Status :: 4 - Beta",

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 1 09:46:46 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add no2to3.patch for compatibility with newer setuptools
-------------------------------------------------------------------
Wed Sep 8 06:52:58 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-behave
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# 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-2-Clause
Group: Development/Languages/Python
URL: https://github.com/behave/behave
Source: https://files.pythonhosted.org/packages/source/b/behave/behave-%{version}.tar.gz
Patch1: no2to3.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -73,6 +74,7 @@ code.
%prep
%setup -q -n behave-%{version}
%patch1 -p1
%build
%python_build