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

#
# spec file for package python-aliyun-python-sdk-threedvision
#
# Copyright (c) 2022 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-threedvision
Version:        1.0.4
Release:        0
Summary:        The threedvision 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-threedvision/aliyun-python-sdk-threedvision-%{version}.tar.gz
Source1:        ChangeLog.txt
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module wheel}
BuildRequires:  %{python_module aliyun-python-sdk-core >= 2.11.5}
BuildRequires:  fdupes
Requires:       python-aliyun-python-sdk-core >= 2.11.5
%if 0%{?sle_version} >= 150400
Obsoletes:      python3-aliyun-python-sdk-threedvision < 1.0.4
%endif
BuildArch:      noarch
%python_subpackages

%description
The threedvision module of Aliyun Python SDK.

%prep
%setup -q -n aliyun-python-sdk-threedvision-%{version}
cp %{SOURCE1} 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}/aliyunsdkthreedvision
%{python_sitelib}/aliyun_python_sdk_threedvision-%{version}.dist-info

%changelog
openSUSE Build Service is sponsored by