Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 11bcbf5dba | |||
| d59595fec7 |
@@ -1,8 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 19 11:26:56 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
- add remove-2to3.patch to fix build with Python 3.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 10:30:28 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-slimit
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -30,8 +30,6 @@ Patch0: python-slimit-add-licence.patch
|
||||
# https://github.com/rspivak/slimit/commit/40956e7fc6e954b3e6d7b629faeb3303f5efb7ea
|
||||
Patch1: python-slimit-fix-python3.patch
|
||||
Patch2: py313-makesuite.patch
|
||||
# PATCH-FIX-UPSTREAM remove-2to3.patch
|
||||
Patch3: remove-2to3.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module ply >= 3.4}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
Index: slimit-0.8.1/setup.py
|
||||
===================================================================
|
||||
--- slimit-0.8.1.orig/setup.py
|
||||
+++ slimit-0.8.1/setup.py
|
||||
@@ -23,11 +23,6 @@ if major == 2 and minor <=6:
|
||||
requirements.append('odict')
|
||||
if major == 3:
|
||||
PYTHON3 = True
|
||||
- try:
|
||||
- import lib2to3 # Just a check--the module is not actually used
|
||||
- except ImportError:
|
||||
- print("Python 3.X support requires the 2to3 tool.")
|
||||
- sys.exit(1)
|
||||
|
||||
def read(*rel_names):
|
||||
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
|
||||
Reference in New Issue
Block a user