From 965534af3a483853db28f34b8b9ca8dd097da11f Mon Sep 17 00:00:00 2001 From: Alexander Manning Date: Wed, 3 Nov 2021 22:59:43 +0000 Subject: [PATCH] Add python-hiredis --- python-hiredis/python-hiredis.spec | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 python-hiredis/python-hiredis.spec diff --git a/python-hiredis/python-hiredis.spec b/python-hiredis/python-hiredis.spec new file mode 100644 index 0000000..bf33491 --- /dev/null +++ b/python-hiredis/python-hiredis.spec @@ -0,0 +1,53 @@ +# Created by pyp2rpm-3.3.5 +%global pypi_name hiredis + +Name: python-%{pypi_name} +Version: 2.0.0 +Release: 1%{?dist} +Summary: Python wrapper for hiredis + +License: BSD +URL: https://github.com/redis/hiredis-py +Source0: %{pypi_source} + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description + hiredis-py[![Build Status]( [![Windows Build Status]( extension that wraps +protocol parsing code in [hiredis][hiredis]. It primarily speeds up parsing of +multi bulk replies.[hiredis]: Installhiredis-py is available on [PyPI]( and can +be installed with: pip install hiredis Requirementshiredis-py requires **Python +3.6+**. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} + hiredis-py[![Build Status]( [![Windows Build Status]( extension that wraps +protocol parsing code in [hiredis][hiredis]. It primarily speeds up parsing of +multi bulk replies.[hiredis]: Installhiredis-py is available on [PyPI]( and can +be installed with: pip install hiredis Requirementshiredis-py requires **Python +3.6+**. + + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc README.md +%{python3_sitearch}/%{pypi_name} +%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Wed Nov 03 2021 Alexander Manning - 2.0.0-1 +- Initial package.