ee7aa9f
Name:           python-pebble
8ef4ab8
Version:        4.6.3
69f21ce
Release:        %autorelease
cca640b
Summary:        Threading and multiprocessing eye-candy for Python
d3b0dbc
License:        LGPL-3.0-or-later
cca640b
URL:            https://github.com/noxdafox/pebble
cca640b
Source:         %{pypi_source Pebble}
cca640b
BuildArch:      noarch
cca640b
cca640b
%global _description %{expand:
cca640b
Pebble provides an API to manage threads and processes within an application.
cca640b
It wraps Python’s standard library threading and multiprocessing objects.}
cca640b
cca640b
%description %_description
cca640b
ee7aa9f
%package -n python3-pebble
cca640b
Summary:        %{summary}
cca640b
cca640b
BuildRequires:  python3-devel
8ef4ab8
BuildRequires:  python3-setuptools
8ef4ab8
BuildRequires:  python3-pip
8ef4ab8
BuildRequires:  python3-wheel
cca640b
BuildRequires:  python3-pytest
cca640b
ee7aa9f
%description -n python3-pebble %_description
cca640b
cca640b
%prep
ee7aa9f
%autosetup -n Pebble-%{version}
ee7aa9f
ee7aa9f
%generate_buildrequires
8ef4ab8
# errors
8ef4ab8
# %%pyproject_buildrequires
cca640b
cca640b
%build
ee7aa9f
%pyproject_wheel
cca640b
cca640b
%install
ee7aa9f
%pyproject_install
ee7aa9f
%pyproject_save_files pebble
cca640b
cca640b
%check
ee7aa9f
%{pytest}
cca640b
ee7aa9f
%files -n python3-pebble -f %{pyproject_files}
cca640b
%doc README.rst
cca640b
cca640b
%changelog
69f21ce
%autochangelog