Name: python-asciimatics Version: 1.15.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: A cross-platform package to replace curses (mouse/keyboard input & text colours/positioning) and create ASCII animations # No license information obtained, it's up to the packager to fill it in License: Apache-2.0 URL: https://github.com/peterbrittain/asciimatics Source: %{pypi_source asciimatics} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations. Asciimatics is a package to help people create full-screen text UIs (from interactive forms to ASCII animations) on any platform. It is licensed under the Apache Software Foundation License 2.0. It brings a little joy to anyone who was programming in the 80s... Oh and it provides a single cross-platform Python class to do all the low-level console function you could ask for, including: - Coloured/styled text - including 256 colour terminals and unicode characters (even CJK languages) - Cursor positioning - Keyboard input (without blocking or echoing) including unicode support - Mouse input (terminal permitting) - Detecting and handling when the console resizes - Screen scraping In addition, it provides some simple, high-level APIs to provide more complex features including: - Anti-aliased ASCII line-drawing - Image to ASCII conversion - including JPEG and GIF formats - Many animation effects - e.g. sprites, particle systems, banners, etc. - Various widgets for text UIs - e.g. buttons, text boxes, radio buttons, etc. Currently this package has been proven to work on CentOS 6 & 7, Raspbian (i.e. Debian wheezy), Ubuntu 14.04, Windows 7, 8 & 10, OSX 10.11 and Android Marshmallow (courtesy of https://termux.com), though it should also work for any other platform that provides a working curses implementation. It should be implementation agnostic and has been successfully tested on CPython and PyPy2.} %description %_description %package -n python3-asciimatics Summary: %{summary} %description -n python3-asciimatics %_description %prep %autosetup -p1 -n asciimatics-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %pyproject_save_files -l asciimatics %check %pyproject_check_import %files -n python3-asciimatics -f %{pyproject_files} %changelog %autochangelog