File python-etcd3gw.spec of Package python-etcd3gw
#
# spec file for package python-etcd3gw
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-etcd3gw
Version: 2.4.2
Release: 0
Summary: A python client for etcd3 grpc-gateway v3 API
License: Apache-2.0
URL: https://docs.openstack.org/etcd3gw/latest/
Source: https://files.pythonhosted.org/packages/source/e/etcd3gw/etcd3gw-%{version}.tar.gz
BuildRequires: %{python_module pbr >= 2.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module futurist >= 0.16.0}
BuildRequires: %{python_module oslotest}
BuildRequires: %{python_module requests >= 2.20.0}
BuildRequires: %{python_module testtools}
# /SECTION
BuildRequires: fdupes
Requires: python-futurist >= 0.16.0
Requires: python-pbr >= 2.0
Requires: python-requests >= 2.20.0
BuildArch: noarch
%python_subpackages
%description
A python client for etcd3 grpc-gateway v3 API
%prep
%autosetup -p1 -n etcd3gw-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc AUTHORS ChangeLog README.md
%license LICENSE
%{python_sitelib}/etcd3gw
%{python_sitelib}/etcd3gw-%{version}.dist-info
%changelog