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:
13
no2to3.patch
Normal file
13
no2to3.patch
Normal 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",
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user