# Created by pyp2rpm-3.1.2 %global pypi_name hug Name: python-%{pypi_name} Version: 2.3.0 Release: 1%{?dist} Summary: A Python framework that makes developing APIs simple License: MIT URL: https://github.com/timothycrosley/hug Source0: https://pypi.io/packages/source/h/%{pypi_name}/%{pypi_name}-%{version}.tar.gz %description hug aims to make developing Python driven APIs as simple as possible, but no simpler. As a result, it drastically simplifies Python API development. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} BuildRequires: python3-falcon = 1.2.0 BuildRequires: python3-setuptools BuildRequires: python3-devel BuildRequires: python3-Cython # Note: tests are failing to run currently #BuildRequires: python3-mock #BuildRequires: python3-pytest #BuildRequires: python3-requests Requires: python3-falcon = 1.2.0 Requires: python3-requests Requires: python3-setuptools %description -n python3-%{pypi_name} %{summary} %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} %license LICENSE %{_bindir}/hug %{python3_sitearch}/%{pypi_name} %{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Sat May 20 2017 Haïkel Guémar - 2.3.0-1 - Upstream 2.3.0 - Switch to arch-dependent build to match python-falcon * Wed Nov 2 2016 Haïkel Guémar - 2.2.0-1 - Upstream 2.2.0 * Fri Sep 2 2016 Haïkel Guémar - 2.1.2-1 - Initial package.