15
0

Accepting request 520044 from devel:languages:python:singlespec-staging

- Update to version 0.2.11
  * Add sequences for home and end (fixes Curtsies #78)
  * fix #90 again
  * strip ansi escape sequences if parsing fmtstr input fails
  * prevent invalid negative cursor positions in CursorAwareWindow (fixes bpython #607)
  * '\x1bOA' changed from ctrl-arrow key to arrow key (fixes bpython #621)
  * alternate codes for F1-F4 (fixes bpython #626)
- singlespec auto-conversion
- Initial package.

OBS-URL: https://build.opensuse.org/request/show/520044
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-curtsies?expand=0&rev=3
This commit is contained in:
Todd R
2017-08-31 22:18:09 +00:00
committed by Git OBS Bridge
parent 03963a0aba
commit bd0481cd99
4 changed files with 40 additions and 16 deletions

3
curtsies-0.2.11.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec4639df654357944c201abd0d791d9dfd3ac27ce4f90ba1c2991aaf07af92ee
size 46740

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:431631b9c1417b2ae8156d0bb6d7c3ce0c97941413717ed6713a9a9c60e9576e
size 43639

View File

@@ -1,5 +1,22 @@
-------------------------------------------------------------------
Thu Aug 31 22:14:20 UTC 2017 - toddrme2178@gmail.com
- Update to version 0.2.11
* Add sequences for home and end (fixes Curtsies #78)
* fix #90 again
* strip ansi escape sequences if parsing fmtstr input fails
* prevent invalid negative cursor positions in CursorAwareWindow (fixes bpython #607)
* '\x1bOA' changed from ctrl-arrow key to arrow key (fixes bpython #621)
* alternate codes for F1-F4 (fixes bpython #626)
-------------------------------------------------------------------
Thu Aug 24 13:35:27 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Mon Aug 15 00:42:48 UTC 2016 - badshah400@gmail.com
- Initial package.

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-curtsies
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,28 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-curtsies
Version: 0.2.6
Version: 0.2.11
Release: 0
Summary: Curses-like terminal wrapper, with colored strings!
License: MIT
Group: Development/Languages/Python
Url: https://github.com/thomasballinger/curtsies
Source: https://files.pythonhosted.org/packages/source/c/curtsies/curtsies-%{version}.tar.gz
BuildRequires: %{python_module blessings}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pyte}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-blessings
BuildRequires: python-devel
BuildRequires: python-mock
BuildRequires: python-pyte
BuildRequires: python-setuptools
BuildRequires: python-rpm-macros
Requires: python-blessings
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
Curses-like terminal wrapper with a display based on compositing 2d
arrays of text.
@@ -42,15 +46,18 @@ arrays of text.
%setup -q -n curtsies-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes %{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%check
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*
%doc readme.md LICENSE
%{python_sitelib}/*
%changelog