From bd0481cd99e08158c60e2050e35345e974ebc7a27858cbde00933522d8fb749b Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 31 Aug 2017 22:18:09 +0000 Subject: [PATCH] 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 --- curtsies-0.2.11.tar.gz | 3 +++ curtsies-0.2.6.tar.gz | 3 --- python-curtsies.changes | 17 +++++++++++++++++ python-curtsies.spec | 33 ++++++++++++++++++++------------- 4 files changed, 40 insertions(+), 16 deletions(-) create mode 100644 curtsies-0.2.11.tar.gz delete mode 100644 curtsies-0.2.6.tar.gz diff --git a/curtsies-0.2.11.tar.gz b/curtsies-0.2.11.tar.gz new file mode 100644 index 0000000..38f6c03 --- /dev/null +++ b/curtsies-0.2.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec4639df654357944c201abd0d791d9dfd3ac27ce4f90ba1c2991aaf07af92ee +size 46740 diff --git a/curtsies-0.2.6.tar.gz b/curtsies-0.2.6.tar.gz deleted file mode 100644 index 1883fa4..0000000 --- a/curtsies-0.2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:431631b9c1417b2ae8156d0bb6d7c3ce0c97941413717ed6713a9a9c60e9576e -size 43639 diff --git a/python-curtsies.changes b/python-curtsies.changes index 811fb53..f611ab3 100644 --- a/python-curtsies.changes +++ b/python-curtsies.changes @@ -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. + diff --git a/python-curtsies.spec b/python-curtsies.spec index d383c26..ff04031 100644 --- a/python-curtsies.spec +++ b/python-curtsies.spec @@ -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