## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name blessed %global summary A thin, practical wrapper around terminal capabilities in Python %global _description \ Blessed is a thin, practical wrapper around terminal styling, screen \ positioning, and keyboard input. \ \ It provides: \ - Styles, color, and maybe a little positioning without necessarily clearing \ the whole screen first. \ - Works great with standard Python string formatting. \ - Provides up-to-the-moment terminal height and width, so you can respond \ to terminal size changes. \ - Avoids making a mess if the output gets piped to a non-terminal: outputs \ to any file-like object such as StringIO, files, or pipes. \ - Uses the terminfo(5) database so it works with any terminal type and \ supports any terminal capability: No more C-like calls to tigetstr and \ tparm. \ - Keeps a minimum of internal state, so you can feel free to mix and match \ with calls to curses or whatever other terminal libraries you like. \ - Provides plenty of context managers to safely express terminal modes, \ automatically restoring the terminal to a safe state on exit. \ - Act intelligently when somebody redirects your output to a file, omitting \ all of the terminal sequences such as styling, colors, or positioning. \ - Dead-simple keyboard handling: safely decoding unicode input in your \ system’s preferred locale and supports application/arrow keys. \ - Allows the printable length of strings containing sequences to be \ determined. Name: python-%{pypi_name} Version: 1.38.0 Release: %autorelease Summary: %{summary} License: MIT URL: https://github.com/jquast/blessed Source0: %{pypi_source} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pytest %description %{_description} %package -n python%{python3_pkgversion}-%{pypi_name} Summary: %{summary} %description -n python%{python3_pkgversion}-%{pypi_name} %{_description} %prep %autosetup -p1 -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} mkdir -p %{buildroot}%{_docdir}/%{name}/ (cd docs && find -name "*.rst" -exec cp --parents {} %{buildroot}%{_docdir}/%{name}/ \;) %check PYTHONIOENCODING=UTF8 TERM=xterm-256color %pytest --verbose --verbose --exitfirst -c /dev/null %files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} %doc %{_docdir}/%{name} %changelog ## START: Generated by rpmautospec * Wed Jun 03 2026 Python Maint - 1.38.0-3 - Rebuilt for Python 3.15 * Sat May 23 2026 Avram Lubkin - 1.38.0-2 - Remove old patch files * Sat May 23 2026 Avram Lubkin - 1.38.0-1 - Update to 1.38.0 * Sat Jan 17 2026 Fedora Release Engineering - 1.20.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 1.20.0-8 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 1.20.0-7 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 1.20.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jun 02 2025 Python Maint - 1.20.0-5 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 1.20.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 1.20.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.20.0-2 - Rebuilt for Python 3.13 * Sat Apr 20 2024 Avram Lubkin - 1.20.0-1 - Update to 1.20.0 (#2167042) - Remove EL6 patches * Fri Jan 26 2024 Fedora Release Engineering - 1.19.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.19.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.19.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.19.1-5 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.19.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.19.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.19.1-2 - Rebuilt for Python 3.11 * Wed Mar 30 2022 Avram Lubkin - 1.19.1-1 - Update to 1.19.1 (#2043269) * Fri Jan 21 2022 Fedora Release Engineering - 1.19.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 21 2021 Avram Lubkin - 1.19.0-1 - Update to 1.19.0 (#2006163) * Fri Jul 23 2021 Fedora Release Engineering - 1.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 15 2021 Fedora Release Monitoring - 1.18.1-1 - Update to 1.18.1 (#1932716) * Fri Jun 04 2021 Python Maint - 1.17.12-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.17.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 17 2021 Avram Lubkin - 1.17.12-1 - Updated to 1.17.12 * Mon Sep 14 2020 Avram Lubkin - 1.17.10-1 - Updated to 1.17.10 * Tue Jul 28 2020 Fedora Release Engineering - 1.17.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 19 2020 Avram Lubkin - 1.17.8-2 - Add EL7 pytest patch * Fri Jun 19 2020 Avram Lubkin - 1.17.8-1 - Updated to 1.17.8 * Tue May 26 2020 Miro Hrončok - 1.17.4-3 - Rebuilt for Python 3.9 * Sat Mar 28 2020 Avram Lubkin - 1.17.4-2 - Updated requirements file for EL7 * Sat Mar 28 2020 Avram Lubkin - 1.17.4-1 - Updated to 1.17.4 * Thu Jan 30 2020 Fedora Release Engineering - 1.16.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Oct 29 2019 Avram Lubkin - 1.16.1-2 - Fix epel6 requirements patch * Sun Oct 27 2019 Avram Lubkin - 1.16.1-1 - Updated to 1.16.1 * Thu Oct 03 2019 Miro Hrončok - 1.15.0-12 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.15.0-11 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.15.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.15.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Dec 24 2018 Avram Lubkin - 1.15.0-8 - Disable Python dependency generator until it has test code * Mon Dec 24 2018 Avram Lubkin - 1.15.0-7 - Remove Python 2 packages in Fedora 30+ (bz#1661354) - Clean up spec * Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 1.15.0-6 - Drop explicit locale setting See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot * Tue Nov 13 2018 Avram Lubkin - 1.15.0-5 - Build Python 3 version on all platforms * Fri Jul 13 2018 Fedora Release Engineering - 1.15.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 02 2018 Miro Hrončok - 1.15.0-3 - Rebuilt for Python 3.7 * Wed Jun 20 2018 Avram Lubkin - 1.15.0-2 - Fixed spec changelog error * Wed Jun 20 2018 Avram Lubkin - 1.15.0-1 - Updated to 1.15.0 (Python 3.7 Support) - Exit tests on first failure to avoid loops * Tue Jun 19 2018 Miro Hrončok - 1.14.1-7 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.14.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.14.1-5 - Fix creation of python2- subpackage * Wed Oct 04 2017 Avram Lubkin - 1.14.1-4 - Conflicting ordereddict requirements in EL6 * Wed Oct 04 2017 Avram Lubkin - 1.14.1-3 - Add EL6 build support * Thu Jul 27 2017 Fedora Release Engineering - 1.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Mar 13 2017 Aurelien Bompard - 1.14.1 - Initial package. ## END: Generated by rpmautospec