diff --git a/.gear/python3-module-rich.spec b/.gear/python3-module-rich.spec new file mode 100644 index 0000000..177df6b --- /dev/null +++ b/.gear/python3-module-rich.spec @@ -0,0 +1,45 @@ +%global modname rich + +Summary: Render rich text and beautiful formatting in the terminal +Name: python3-module-%modname +Version: 12.2.0 +Release: alt1 +Url: https://github.com/willmcgugan/rich +# Download from https://pypi.org/project/rich +Source: %name-%version.tar +License: MIT +Group: Development/Python3 + +BuildArch: noarch +BuildRequires(pre): rpm-build-python3 +BuildRequires: python3-devel +BuildRequires: python3-module-setuptools + +%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. + +%prep +%setup -n %name-%version + +%build +%python3_build + +%install +%python3_install + +%files +%doc LICENSE README *.md +%python3_sitelibdir/* + +%changelog +* Tue Apr 26 2022 Andrei Iakunin 12.2.0-alt1 +- changing version to 12.2.0 + +* Tue Apr 26 2022 Andrei Iakunin 10.16.2-alt1 +- changing version to 10.16.2 + +* Sun Sep 06 2020 Alexey Shabalin 6.0.0-alt1 +- Initial build. diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..2229af0 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +spec: .gear/python3-module-rich.spec +tar: . name=@name@-@version@ diff --git a/setup.py b/setup.py index 43a929c..80cb2d6 100644 --- a/setup.py +++ b/setup.py @@ -5,4 +5,6 @@ import setuptools if __name__ == "__main__": - setuptools.setup(name="rich") + setuptools.setup(name="rich", + packages=['rich'], + package_dir = {'rich': 'rich'})