mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Remove python3-rich
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "python3-rich.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
# Created by pyp2rpm-3.3.8
|
||||
%global pypi_name rich
|
||||
%global pypi_version 13.4.1
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: %{pypi_version}
|
||||
Release: 1%{?dist}
|
||||
Summary: Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
|
||||
|
||||
License: None
|
||||
URL: https://github.com/Textualize/rich
|
||||
Source0: https://github.com/Textualize/rich/archive/refs/tags/v%version.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel poetry python3-installer
|
||||
BuildRequires: python3dist(setuptools)
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
Requires: (python3dist(ipywidgets) >= 7.5.1 with python3dist(ipywidgets) < 9~~)
|
||||
Requires: (python3dist(markdown-it-py) >= 2.2 with python3dist(markdown-it-py) < 3~~)
|
||||
Requires: (python3dist(pygments) >= 2.13 with python3dist(pygments) < 3~~)
|
||||
Requires: (python3dist(typing-extensions) >= 4 with python3dist(typing-extensions) < 5~~)
|
||||
%description -n python3-%{pypi_name}
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{pypi_version}
|
||||
|
||||
%build
|
||||
poetry build
|
||||
|
||||
%install
|
||||
python3.11 -m installer --destdir="%{buildroot}" dist/*.whl
|
||||
rm -rf %{python3_sitelib}/*/__pycache__
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/%{pypi_name}
|
||||
%{python3_sitelib}/%{pypi_name}*
|
||||
|
||||
%changelog
|
||||
* Sun Mar 19 2023 windowsboy111 <wboy111@outlook.com> - 13.3.2-1
|
||||
- Initial package.
|
||||
@@ -1 +0,0 @@
|
||||
rpm.global("pypi_version", pypi("rich"));
|
||||
Reference in New Issue
Block a user