File python-sophos-central-api-connector.spec of Package python-sophos-central-api-connector

#
# spec file for package python-sophos_central_api_connector
#
# Copyright (c) 2024, Martin Hauke <mardnh@gmx.de>
#
# 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-sophos_central_api_connector
Version:        0.1.6
Release:        0
Summary:        Sophos Central API Connector
License:        GPL-3.0-or-later
URL:            https://github.com/sophos-cybersecurity/sophos-central-api-connector
Source:         https://files.pythonhosted.org/packages/source/s/sophos-central-api-connector/sophos_central_api_connector-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module setuptools_scm}
BuildRequires:  %{python_module wheel}
# SECTION test requirements
BuildRequires:  %{python_module boto3 >= 1.17.21}
BuildRequires:  %{python_module botocore >= 1.20.21}
BuildRequires:  %{python_module certifi >= 2020.12.5}
BuildRequires:  %{python_module chardet >= 4.0.0}
BuildRequires:  %{python_module docutils >= 0.16}
BuildRequires:  %{python_module intelix >= 0.1.2}
BuildRequires:  %{python_module jmespath >= 0.10.0}
BuildRequires:  %{python_module python-dateutil >= 2.8.1}
BuildRequires:  %{python_module requests >= 2.25.1}
BuildRequires:  %{python_module s3transfer >= 0.3.4}
BuildRequires:  %{python_module six >= 1.15.0}
BuildRequires:  %{python_module urllib3 >= 1.26.3}
# /SECTION
BuildRequires:  fdupes
Requires:       python-boto3 >= 1.17.21
Requires:       python-botocore >= 1.20.21
Requires:       python-certifi >= 2020.12.5
Requires:       python-chardet >= 4.0.0
Requires:       python-docutils >= 0.16
Requires:       python-intelix >= 0.1.2
Requires:       python-jmespath >= 0.10.0
Requires:       python-python-dateutil >= 2.8.1
Requires:       python-requests >= 2.25.1
Requires:       python-s3transfer >= 0.3.4
Requires:       python-six >= 1.15.0
Requires:       python-urllib3 >= 1.26.3
BuildArch:      noarch
%python_subpackages

%description
Sophos Central API Connector

%prep
%autosetup -p1 -n sophos_central_api_connector-%{version}

%build
%pyproject_wheel

%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}
%{python_sitelib}/sophos_central_api_connector
%{python_sitelib}/sophos_central_api_connector-%{version}.dist-info

%changelog
openSUSE Build Service is sponsored by