# Created by pyp2rpm-3.3.2 %global pypi_name cached-property Name: python-%{pypi_name} Version: 1.5.1 Release: 1%{?dist} Summary: A decorator for caching properties in classes License: BSD URL: https://github.com/pydanny/cached-property Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description cached-property A decorator for caching properties in classes.Why? * Makes caching of time or computational expensive properties quick and easy. * Because I got tired of copy/pasting this code from non-web project to non-web project. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} cached-property A decorator for caching properties in classes.Why? * Makes caching of time or computational expensive properties quick and easy. * Because I got tired of copy/pasting this code from non-web project to non-web project. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/__pycache__/* %{python3_sitelib}/cached_property.py %{python3_sitelib}/cached_property-%{version}-py?.?.egg-info %changelog * Tue Jan 15 2019 Ernestas Kulik - 1.5.1-1 - Initial package.