# Created by pyp2rpm-3.3.2 %global pypi_name peewee Name: python-%{pypi_name} Version: 3.7.1 Release: 1%{?dist} Summary: a little orm License: MIT License URL: https://github.com/coleifer/peewee/ Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3dist(sphinx) BuildRequires: python3-apsw BuildRequires: python3-flask BuildRequires: python3-psycopg2 BuildRequires: gcc BuildRequires: sqlite sqlite-devel BuildRequires: python3-pysqlcipher3 BuildRequires: sqlcipher-devel %description Peewee is a simple and small ORM. It has few (but expressive) concepts, making it easy to learn and intuitive to use.* a small, expressive ORM * python 2.7+ and 3.4+ (developed with 3.6) * supports sqlite, mysql and postgresql * tons of extensions < New to peewee? These may help:* Quickstart < * Example twitter app < %package -n python3-%{pypi_name} Summary: %{summary} Requires: sqlite Requires: python3-pysqlcipher3 Requires: sqlcipher %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Peewee is a simple and small ORM. It has few (but expressive) concepts, making it easy to learn and intuitive to use.* a small, expressive ORM * python 2.7+ and 3.4+ (developed with 3.6) * supports sqlite, mysql and postgresql * tons of extensions < New to peewee? These may help:* Quickstart < * Example twitter app < %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE %doc playhouse/README.md README.rst %{_bindir}/pwiz.py %{python3_sitearch}/__pycache__/* %{python3_sitearch}/%{pypi_name}.py %{python3_sitearch}/pwiz.py %{python3_sitearch}/playhouse %{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Fri Nov 09 2018 Miroslav Suchý - 3.7.1-1 - Initial package.