14
0

Accepting request 1142217 from home:pgajdos:python

- do not require six
- deleted patches
  - remove-future-requirement.patch (part of python-textfsm-no-python2.patch)
- added patches
  fix c8843d69da
  + python-textfsm-no-python2.patch

OBS-URL: https://build.opensuse.org/request/show/1142217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textfsm?expand=0&rev=25
This commit is contained in:
2024-01-30 15:40:53 +00:00
committed by Git OBS Bridge
parent a7d94c22fa
commit ccca2628b8
4 changed files with 2679 additions and 24 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jan 29 10:03:54 UTC 2024 - pgajdos@suse.com
- do not require six
- deleted patches
- remove-future-requirement.patch (part of python-textfsm-no-python2.patch)
- added patches
fix https://github.com/google/textfsm/commit/c8843d69daa9b565fea99a0283ad13c324d5b563
+ python-textfsm-no-python2.patch
-------------------------------------------------------------------
Tue Sep 5 01:14:13 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-textfsm
#
# Copyright (c) 2023 SUSE LLC
# 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
@@ -26,8 +26,8 @@ URL: https://github.com/google/textfsm
Source: https://github.com/google/textfsm/archive/v%{version}.tar.gz#/textfsm-%{version}.tar.gz
# PATCH-FIX-OPENSUSE https://github.com/google/textfsm/issues/118
Patch0: correct-version.patch
# PATCH-FIX-UPSTREAM gh#google/textfsm#116
Patch1: remove-future-requirement.patch
# https://github.com/google/textfsm/commit/c8843d69daa9b565fea99a0283ad13c324d5b563
Patch1: python-textfsm-no-python2.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}

View File

@@ -1,21 +0,0 @@
From b47bcfd36a753d330be0a9f4202b68dd3a549fc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?=
<frenzy.madness@gmail.com>
Date: Mon, 14 Aug 2023 11:43:50 +0200
Subject: [PATCH] Remove future from dependencies
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index e9ff894..8fccbbb 100755
--- a/setup.py
+++ b/setup.py
@@ -53,5 +53,5 @@
},
include_package_data=True,
package_data={'textfsm': ['../testdata/*']},
- install_requires=['six', 'future'],
+ install_requires=['six'],
)