add (updated) rich/textual

This commit is contained in:
Josh Lay 2023-04-22 17:42:02 -05:00
parent 1121ae7307
commit b33669b41f
Signed by: jlay
GPG key ID: B265E45CACAD108A
10 changed files with 274 additions and 0 deletions

3
python-textual/README.md Normal file
View file

@ -0,0 +1,3 @@
# python-textual
The python-textual package

View file

@ -0,0 +1,80 @@
Name: python-textual
Version: 0.20.1
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}
sed -i \
-e 's/importlib-metadata = "^4.11.3"/importlib-metadata = ">4.11.3"/g' pyproject.toml
%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
* 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

1
python-textual/sources Normal file
View file

@ -0,0 +1 @@
SHA512 (textual-0.10.0.tar.gz) = d25e5053afe6eacd1405f37b2048c3baab0dc410e7964717a09e192b99fb6e01ee395254afdde9991caaff49e82d06a5d84559b45e257256be53ee3080da0cee

Binary file not shown.