File python-gbulb.spec of Package python-gbulb
%define mod_name gbulb
%define debug_package %{nil}
Name: python-%{mod_name}
Version: 0.6.6
Release: 0%{?dist}
Url: http://github.com/beeware/gbulb
Summary: GLib event loop for asyncio (PEP 3156)
License: Apache-2.0
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/92/cb/d2a0e4899cde5aa797e31d77a0a7422dcd188d880bb38d0e9d1b1196e5c6/%{mod_name}-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: gtk3-devel
BuildRequires: git
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module gobject}
%python_subpackages
%description
Gbulb is a python library that implements a PEP 3156 interface for the GLib
main event loop. It is designed to be used together with the tulip reference
implementation.
%prep
%autosetup -p1 -n %{mod_name}-%{version}
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%install
%pyproject_install
%files %{python_files}
%doc README.rst AUTHORS.rst CHANGELOG.rst
%{python_sitelib}/*
%changelog