97 lines
2.3 KiB
RPMSpec
97 lines
2.3 KiB
RPMSpec
Name: python-textual
|
|
Version: 0.26.0
|
|
Release: 1%{?dist}
|
|
Summary: TUI (Text User Interface) framework for Python
|
|
License: MIT
|
|
URL: https://github.com/Textualize/textual
|
|
Source0: %{url}/archive/v%{version}/textual-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
# Test dependencies:
|
|
BuildRequires: pytest
|
|
BuildRequires: python3-jinja2
|
|
BuildRequires: python3-syrupy
|
|
BuildRequires: python3-time-machine
|
|
BuildRequires: python3-pytest-asyncio
|
|
BuildRequires: python3-aiohttp
|
|
BuildRequires: python3-pytest-aiohttp
|
|
|
|
%global _description %{expand:
|
|
Textual is a TUI (Text User Interface) framework for Python inspired
|
|
by modern web development. Currently a Work in Progress.}
|
|
|
|
%description
|
|
%{_description}
|
|
|
|
%package -n python3-textual
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-textual
|
|
%{_description}
|
|
|
|
%package -n python3-textual-doc
|
|
Summary: Docs and examples for python3-textual
|
|
|
|
%description -n python3-textual-doc
|
|
%{_description}
|
|
|
|
%prep
|
|
%autosetup -n textual-%{version}
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires -r -x dev
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files textual
|
|
|
|
|
|
%check
|
|
%pytest
|
|
|
|
|
|
%files -n python3-textual -f %{pyproject_files}
|
|
%license LICENSE
|
|
|
|
%files -n python3-textual-doc
|
|
%license LICENSE
|
|
%doc README.md docs/ examples/
|
|
%{_bindir}/textual
|
|
|
|
|
|
%changelog
|
|
* Sun May 28 2023 Josh Lay <me+fedora@jlay.io> - 0.26.0-1
|
|
- Update to 0.26.0: The Trogon release
|
|
- New behaviour related to focus.
|
|
- If a newly focused widget is not in view, then it will scroll to center.
|
|
- This more closely matches how browsers behave.
|
|
- Added Widget.can_view
|
|
|
|
* Thu May 18 2023 Josh Lay <me+fedora@jlay.io> - 0.25.0-1
|
|
- Update to 0.25.0: 'Focusing on fixes'
|
|
|
|
* Mon May 08 2023 Josh Lay <me+fedora@jlay.io> - 0.24.1-1
|
|
- Update to 0.24.1
|
|
|
|
* Mon May 01 2023 Josh Lay <me+fedora@jlay.io> - 0.22.3-1
|
|
- Update to 0.22.3 for COPR
|
|
|
|
* Sun Apr 30 2023 Josh Lay <me+fedora@jlay.io> - 0.21.0-1
|
|
- Update to 0.21.0 for COPR
|
|
|
|
* Wed Feb 15 2023 Jonathan Wright <jonathan@almalinux.org> - 0.10.0-1
|
|
- Update to 0.10.0 rhbz#2162484
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.18-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Sun Jul 31 2022 Jonathan Wright <jonathan@almalinux.org> - 0.1.18-1
|
|
- Initial package build
|
|
- rhbz#2121258
|