forked from pool/python-curtsies
Accepting request 790811 from home:mcalabkova:branches:devel:languages:python
- Update to version 0.3.1 * Add "dark" format function * Add Input option to disable terminal start/stop. Thanks George Kettleborough! * Fix Py3.6 compatibility. Thanks Po-Chuan Hsieh! * Assorted fixes, thanks Jakub Wilk and Manuel Mendez! - Drop upstreamed python-curtsies-dont-require-typing-for-python3.5.patch OBS-URL: https://build.opensuse.org/request/show/790811 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-curtsies?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
57da2863d0
commit
cdfd56c706
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9
|
||||
size 47120
|
||||
3
curtsies-0.3.1.tar.gz
Normal file
3
curtsies-0.3.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b2c913a8113c4382e1a221679f2338139b112839deb16c00ee873e57a4b33bd4
|
||||
size 47944
|
||||
@@ -1,23 +0,0 @@
|
||||
From 217b4f83e954837f8adc4c549c1f2f9f2bb272a7 Mon Sep 17 00:00:00 2001
|
||||
From: Po-Chuan Hsieh <sunpoet@sunpoet.net>
|
||||
Date: Wed, 14 Feb 2018 21:28:38 +0800
|
||||
Subject: [PATCH] Fix install_requires
|
||||
|
||||
typing is only required for Python 3.4 or below.
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index b35c7c3..6e52cbd 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -41,7 +41,7 @@ def get_long_description():
|
||||
install_requires = [
|
||||
'blessings>=1.5',
|
||||
'wcwidth>=0.1.4',
|
||||
- 'typing',
|
||||
+ 'typing; python_version<"3.5"',
|
||||
],
|
||||
tests_require = [
|
||||
'mock',
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 2 08:17:20 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to version 0.3.1
|
||||
* Add "dark" format function
|
||||
* Add Input option to disable terminal start/stop. Thanks George Kettleborough!
|
||||
* Fix Py3.6 compatibility. Thanks Po-Chuan Hsieh!
|
||||
* Assorted fixes, thanks Jakub Wilk and Manuel Mendez!
|
||||
- Drop upstreamed python-curtsies-dont-require-typing-for-python3.5.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 10:39:00 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-curtsies
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,15 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-curtsies
|
||||
Version: 0.3.0
|
||||
Version: 0.3.1
|
||||
Release: 0
|
||||
Summary: Curses-like terminal wrapper, with colored strings!
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/bpython/curtsies
|
||||
Source: https://files.pythonhosted.org/packages/source/c/curtsies/curtsies-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM python-curtsies-dont-require-typing-for-python3.5.patch gh#bpython/curtsies#111 badshah400@opensuse.org -- The typing module is only required for python3.4 and lower; patch taken from upstream git.
|
||||
Patch0: python-curtsies-dont-require-typing-for-python3.5.patch
|
||||
BuildRequires: %{python_module blessings}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
@@ -58,7 +56,6 @@ arrays of text.
|
||||
|
||||
%prep
|
||||
%setup -q -n curtsies-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user