File python-aliyun-python-sdk-hivisengine.spec of Package python-aliyun-python-sdk-hivisengine.34006

#
# spec file for package python-aliyun-python-sdk-hivisengine
#
# Copyright (c) 2021 SUSE LLC
#
# 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/
#


%{?sle15_python_module_pythons}
Name:           python-aliyun-python-sdk-hivisengine
Version:        0.0.2
Release:        0
Summary:        The hivisengine module of Aliyun Python SDK
License:        Apache-2.0
URL:            http://develop.aliyun.com/sdk/python
Source:         https://files.pythonhosted.org/packages/source/a/aliyun-python-sdk-hivisengine/aliyun-python-sdk-hivisengine-%{version}.tar.gz
Source1:        LICENSE
Source2:        ChangeLog.txt
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module wheel}
# SECTION test requirements
BuildRequires:  %{python_module aliyun-python-sdk-core >= 2.11.5}
# /SECTION
BuildRequires:  fdupes
Requires:       python-aliyun-python-sdk-core >= 2.11.5
%if 0%{?sle_version} >= 150400
Obsoletes:      python3-aliyun-python-sdk-hivisengine < 0.0.2
%endif
BuildArch:      noarch
%python_subpackages

%description
The hivisengine module of Aliyun Python SDK.

%prep
%setup -q -n aliyun-python-sdk-hivisengine-%{version}
cp %{SOURCE1} LICENSE
cp %{SOURCE2} ChangeLog.txt

%build
%pyproject_wheel

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

%files %{python_files}
%doc ChangeLog.txt README.rst
%license LICENSE
%{python_sitelib}/aliyunsdkhivisengine
%{python_sitelib}/aliyun_python_sdk_hivisengine-%{version}.dist-info

%changelog
openSUSE Build Service is sponsored by