15
0
Files
python-curtsies/python-curtsies.spec
Todd R bd0481cd99 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
2017-08-31 22:18:09 +00:00

64 lines
1.9 KiB
RPMSpec

#
# spec file for package python-curtsies
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-curtsies
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-rpm-macros
Requires: python-blessings
BuildArch: noarch
%python_subpackages
%description
Curses-like terminal wrapper with a display based on compositing 2d
arrays of text.
%prep
%setup -q -n curtsies-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
%defattr(-,root,root,-)
%doc readme.md LICENSE
%{python_sitelib}/*
%changelog