2017-02-01 08:50:49 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-msrest
|
|
|
|
|
#
|
2024-03-01 15:08:16 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2017-02-01 08:50:49 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2018-09-26 14:16:12 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-02-01 08:50:49 +00:00
|
|
|
#
|
2017-07-19 09:21:24 +00:00
|
|
|
|
|
|
|
|
|
2024-04-04 20:55:50 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2017-02-01 08:50:49 +00:00
|
|
|
Name: python-msrest
|
2022-08-15 12:37:17 +00:00
|
|
|
Version: 0.7.1
|
2017-02-01 08:50:49 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: AutoRest swagger generator Python client runtime
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/Python
|
2020-03-31 15:39:43 +00:00
|
|
|
URL: https://pypi.python.org/pypi/msrest
|
2022-08-15 12:37:17 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/m/msrest/msrest-%{version}.zip
|
2018-09-26 14:16:12 +00:00
|
|
|
Source1: LICENSE.md
|
2024-04-04 20:55:50 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2017-07-19 09:21:24 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2024-04-04 20:55:50 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-02-01 08:50:49 +00:00
|
|
|
BuildRequires: fdupes
|
2017-07-19 09:21:24 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2022-08-15 12:37:17 +00:00
|
|
|
BuildRequires: unzip
|
|
|
|
|
Requires: python-azure-core >= 1.24.0
|
2018-02-14 08:27:18 +00:00
|
|
|
Requires: python-certifi >= 2017.4.17
|
2018-05-13 14:03:43 +00:00
|
|
|
Requires: python-isodate >= 0.6.0
|
2017-07-19 09:21:24 +00:00
|
|
|
Requires: python-requests-oauthlib >= 0.5.0
|
2024-04-04 20:55:50 +00:00
|
|
|
Requires: (python-requests >= 2.16 with python-requests < 3.00)
|
|
|
|
|
%if 0%{?sle_version} >= 150400
|
|
|
|
|
Obsoletes: python3-msrest < 0.7.1
|
|
|
|
|
%endif
|
2017-02-01 08:50:49 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
2017-07-19 09:21:24 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
2017-02-01 08:50:49 +00:00
|
|
|
%description
|
|
|
|
|
AutoRest swagger generator Python client runtime
|
|
|
|
|
Swagger is a powerful open source framework: http://swagger.io
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n msrest-%{version}
|
2018-09-26 14:16:12 +00:00
|
|
|
cp %{SOURCE1} LICENSE.md
|
2017-02-01 08:50:49 +00:00
|
|
|
|
|
|
|
|
%build
|
2024-04-04 20:55:50 +00:00
|
|
|
%pyproject_wheel
|
2017-02-01 08:50:49 +00:00
|
|
|
|
|
|
|
|
%install
|
2024-04-04 20:55:50 +00:00
|
|
|
%pyproject_install
|
2019-04-15 15:05:22 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2017-02-01 08:50:49 +00:00
|
|
|
|
2017-07-19 09:21:24 +00:00
|
|
|
%files %{python_files}
|
2018-05-13 14:03:43 +00:00
|
|
|
%doc README.rst
|
2018-09-26 14:16:12 +00:00
|
|
|
%license LICENSE.md
|
2024-03-01 15:08:16 +00:00
|
|
|
%{python_sitelib}/msrest
|
|
|
|
|
%{python_sitelib}/msrest-%{version}*-info
|
2017-02-01 08:50:49 +00:00
|
|
|
|
|
|
|
|
%changelog
|