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

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
results_*
*/built/*
*.src.rpm

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

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

122
python-rich/changelog Normal file
View file

@ -0,0 +1,122 @@
* Mon Dec 13 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.16.0-1
- Update to 10.16.0 version (#2031494)
* Mon Dec 06 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.15.2-1
- Update to 10.15.2 version (#2028523)
* Tue Nov 30 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.15.1-1
- Update to 10.15.1 version (#2027489)
* Wed Nov 17 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.14.0-1
- Update to 10.14.0 version (#2023800)
* Mon Nov 08 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.13.0-1
- Update to 10.13.0 version (#2020951)
* Wed Oct 20 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.12.0-1
- Update to 10.12.0 version (#2011373)
* Tue Sep 28 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.11.0-1
- Update to 10.11.0 version (#2007584)
* Sat Sep 18 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.10.0-1
- Update to 10.10.0 version (#2005578)
* Thu Sep 02 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.9.0-1
- Update to 10.9.0 version (#1998751)
* Fri Aug 06 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.7.0-1
- Update to 10.7.0 version (#1990647)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 10.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jul 13 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.6.0-1
- Update to 10.6.0 version (#1981531)
* Mon Jul 12 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.5.0-1
- Update to 10.5.0 version (#1979302)
* Fri Jul 02 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.4.0-1
- Update to 10.4.0 version (#1973835)
* Fri Jun 11 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.3.0-1
- Update to 10.3.0 version (#1970067)
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 10.2.2-2
- Rebuilt for Python 3.10
* Fri May 21 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.2.2-1
- Update to 10.2.2 version (#1962272)
* Tue May 18 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.2.1-1
- Update to 10.2.1 version (#1961434)
* Sat May 15 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.2.0-1
- Update to 10.2.0 version (#1959946)
* Wed Apr 07 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.1.0-1
- Update to 10.1.0 version (#1945988)
* Wed Mar 31 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.0.1-1
- Update to 10.0.1 version (#1944804)
* Sat Mar 27 2021 Parag Nemade <pnemade AT redhat DOT com> - 10.0.0-1
- Update to 10.0.0 version (#1943805)
* Mon Mar 08 2021 Parag Nemade <pnemade AT redhat DOT com> - 9.13.0-1
- Update to 9.13.0 version (#1936085)
* Thu Mar 04 2021 Parag Nemade <pnemade AT redhat DOT com> - 9.12.4-1
- Update to 9.12.4 version (#1933882)
* Sun Feb 28 2021 Parag Nemade <pnemade AT redhat DOT com> - 9.12.3-1
- Update to 9.12.3 version (#1933478)
* Sun Feb 28 2021 Parag Nemade <pnemade AT redhat DOT com> - 9.12.2-1
- Update to 9.12.2 version (#1931063)
* Tue Feb 16 2021 Parag Nemade <pnemade AT redhat DOT com> - 9.11.0-1
- Update to 9.11.0 version (#1928971)
* Tue Feb 2 14:22:24 IST 2021 Parag Nemade <pnemade AT redhat DOT com> - 9.10.0-1
- Update to 9.10.0 version (#1921301)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 24 08:37:21 IST 2021 Parag Nemade <pnemade AT redhat DOT com> - 9.9.0-1
- Update to 9.9.0 version (#1915923)
* Tue Jan 12 14:05:31 IST 2021 Parag Nemade <pnemade AT redhat DOT com> - 9.8.0-1
- Update to 9.8.0 version (#1913979)
* Sat Jan 2 21:51:00 IST 2021 Parag Nemade <pnemade AT redhat DOT com> - 9.6.1-1
- Update to 9.6.1 version (#1911840)
* Thu Dec 31 22:12:44 IST 2020 Parag Nemade <pnemade AT redhat DOT com> - 9.6.0-1
- Update to 9.6.0 version (#1911672)
* Tue Dec 22 20:05:06 IST 2020 Parag Nemade <pnemade AT redhat DOT com> - 9.5.1-1
- Update to 9.5.1 version (#1909212)
* Fri Dec 18 13:36:15 IST 2020 Parag Nemade <pnemade AT redhat DOT com> - 9.4.0-1
- Update to 9.4.0 version (#1907029)
* Thu Dec 3 15:11:46 IST 2020 Parag Nemade <pnemade AT redhat DOT com> - 9.3.0-1
- Update to 9.3.0 version (#1903254)
* Fri Nov 13 12:18:46 IST 2020 Parag Nemade <pnemade AT redhat DOT com> - 9.2.0-1
- Update to 9.2.0 version (#1895694)
* Sat Oct 24 12:47:42 IST 2020 Parag Nemade <pnemade AT redhat DOT com> - 9.1.0-1
- Update to 9.1.0 version (#1889145)
* Sun Oct 18 16:38:50 IST 2020 Parag Nemade <pnemade AT redhat DOT com> - 8.0.0-1
- Update to 8.0.0 version (#1884915)
* Thu Oct 1 08:41:03 IST 2020 Parag Nemade <pnemade AT redhat DOT com> - 7.1.0-1
- Update to 7.1.0 version (#1882733)
* Wed Aug 26 2020 Parag Nemade <pnemade AT redhat DOT com> - 6.0.0-1
- Initial package.

View file

@ -0,0 +1,63 @@
%global pypi_name rich
Name: python-%{pypi_name}
Version: 13.3.3
Release: %autorelease
Summary: Render rich text and beautiful formatting in the terminal
License: MIT
URL: https://github.com/Textualize/rich
Source0: %{url}/archive/v%{version}/rich-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
# for checks
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(attrs)
%description
Rich is a Python library for rich text and beautiful formatting in the terminal.
The Rich API makes it easy to add color and style to terminal output. Rich can
also render pretty tables, progress bars, markdown, syntax highlighted source
code, tracebacks, and more out of the box.
%package -n python3-%{pypi_name}
Summary: %{summary}
# This was previously misnamed, remove the obsolete in Fedora 38, EPEL 10
Obsoletes: python-%{pypi_name} < 10.16.1-2
%description -n python3-%{pypi_name}
Rich is a Python library for rich text and beautiful formatting in the terminal.
The Rich API makes it easy to add color and style to terminal output. Rich can
also render pretty tables, progress bars, markdown, syntax highlighted source
code, tracebacks, and more out of the box.
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
%generate_buildrequires
%pyproject_buildrequires -r
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files rich
%check
# add below to make sure initial build will catch runtime import errors
%pyproject_check_import
# some tests are skipped so python-rich builds during Python 3.11 mass rebuild
# downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=2049619
%pytest -vv -k "not test_inspect_text and not test_inspect_integer_with_methods and not test_log and not test_attrs_broken and not test_inspect_builtin_function"
%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE
%doc README.md
%changelog
%autochangelog

Binary file not shown.

1
python-rich/sources Normal file
View file

@ -0,0 +1 @@
SHA512 (rich-13.3.3.tar.gz) = 049b5145685509f722d744e5b7e2703bf14e5449da02f24e92ac856552bddeef96777760ead4e1e0f6599cc1b13cc424dc558a20c426dcbd7d4230322226832c

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.