forked from pool/python-click-spinner
Accepting request 1004966 from home:pgajdos:python
- added patches fix https://github.com/click-contrib/click-spinner + python-click-spinner-remove-six.patch OBS-URL: https://build.opensuse.org/request/show/1004966 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-spinner?expand=0&rev=7
This commit is contained in:
13
python-click-spinner-remove-six.patch
Normal file
13
python-click-spinner-remove-six.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: click-spinner-0.1.10/tests/test_spinner.py
|
||||
===================================================================
|
||||
--- click-spinner-0.1.10.orig/tests/test_spinner.py
|
||||
+++ click-spinner-0.1.10/tests/test_spinner.py
|
||||
@@ -2,7 +2,7 @@ import sys
|
||||
import os
|
||||
import time
|
||||
import tempfile
|
||||
-from six import StringIO
|
||||
+from io import StringIO
|
||||
import click
|
||||
from click.testing import CliRunner
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 20 12:23:36 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
fix https://github.com/click-contrib/click-spinner
|
||||
+ python-click-spinner-remove-six.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 18 07:54:22 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-click-spinner
|
||||
#
|
||||
# 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
|
||||
@@ -26,6 +26,8 @@ Summary: Spinner for Click
|
||||
URL: https://github.com/click-contrib/click-spinner
|
||||
Group: Development/Languages/Python
|
||||
Source: https://github.com/click-contrib/click-spinner/archive/v%{version}.tar.gz#/click-spinner-%{version}.tar.gz
|
||||
# https://github.com/click-contrib/click-spinner
|
||||
Patch0: python-click-spinner-remove-six.patch
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -41,7 +43,7 @@ BuildArch: noarch
|
||||
Spinner for Click.
|
||||
|
||||
%prep
|
||||
%setup -q -n click-spinner-%{version}
|
||||
%autosetup -p1 -n click-spinner-%{version}
|
||||
|
||||
%build
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
Reference in New Issue
Block a user