2016-01-26 09:14:46 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-boto3
|
|
|
|
#
|
2023-01-04 15:00:21 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2016-01-26 09:14:46 +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-11-06 13:21:05 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-01-26 09:14:46 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-05-18 18:48:30 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2020-11-25 23:18:43 +00:00
|
|
|
%define skip_python2 1
|
2016-01-26 09:14:46 +00:00
|
|
|
Name: python-boto3
|
2023-08-29 11:17:32 +00:00
|
|
|
Version: 1.28.36
|
2016-01-26 09:14:46 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Amazon Web Services Library
|
|
|
|
License: Apache-2.0
|
2018-04-24 13:31:58 +00:00
|
|
|
URL: https://github.com/boto/boto3
|
|
|
|
Source: https://github.com/boto/boto3/archive/%{version}.tar.gz
|
2019-02-16 12:57:30 +00:00
|
|
|
# Related test dependencies
|
2023-07-14 13:41:26 +00:00
|
|
|
BuildRequires: %{python_module botocore < 1.32.0}
|
2023-08-29 11:17:32 +00:00
|
|
|
BuildRequires: %{python_module botocore >= 1.31.36}
|
2023-05-31 20:59:26 +00:00
|
|
|
BuildRequires: %{python_module pytest-xdist}
|
2022-05-20 15:47:25 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2022-06-03 12:56:31 +00:00
|
|
|
BuildRequires: %{python_module s3transfer < 0.7.0}
|
|
|
|
BuildRequires: %{python_module s3transfer >= 0.6.0}
|
2019-03-06 13:26:11 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2017-09-15 20:31:20 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2023-07-14 13:41:26 +00:00
|
|
|
Requires: python-botocore < 1.32.0
|
2023-08-29 11:17:32 +00:00
|
|
|
Requires: python-botocore >= 1.31.36
|
2023-01-06 19:18:06 +00:00
|
|
|
Requires: python-jmespath < 2.0.0
|
2016-01-26 09:14:46 +00:00
|
|
|
Requires: python-jmespath >= 0.7.1
|
2022-06-03 12:56:31 +00:00
|
|
|
Requires: python-s3transfer < 0.7.0
|
|
|
|
Requires: python-s3transfer >= 0.6.0
|
2016-01-26 09:14:46 +00:00
|
|
|
BuildArch: noarch
|
2017-05-18 18:48:30 +00:00
|
|
|
%python_subpackages
|
2016-01-26 09:14:46 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for
|
|
|
|
Python, which allows Python developers to write software that makes use of
|
|
|
|
services like Amazon S3 and Amazon EC2.
|
|
|
|
|
|
|
|
For documentation consult the online documentation at
|
|
|
|
http://boto3.readthedocs.org/en/latest/
|
|
|
|
|
2021-04-13 16:47:47 +00:00
|
|
|
|
2023-01-27 14:32:00 +00:00
|
|
|
|
2023-01-31 16:10:31 +00:00
|
|
|
|
2023-06-29 11:17:51 +00:00
|
|
|
|
2023-08-17 11:32:54 +00:00
|
|
|
|
2016-01-26 09:14:46 +00:00
|
|
|
# Note to maintainers also familia with python-boto:
|
|
|
|
# The documentation generation requires access to AWS, thus it is not
|
|
|
|
# possible to generate the documentation in OBS
|
2023-08-29 11:17:32 +00:00
|
|
|
|
2016-01-26 09:14:46 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n boto3-%{version}
|
|
|
|
|
|
|
|
%build
|
2017-05-18 18:48:30 +00:00
|
|
|
%python_build
|
2016-01-26 09:14:46 +00:00
|
|
|
|
|
|
|
%install
|
2017-05-18 18:48:30 +00:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2016-01-26 09:14:46 +00:00
|
|
|
|
2018-04-24 13:31:58 +00:00
|
|
|
%check
|
2023-05-31 20:59:26 +00:00
|
|
|
%pytest %{?jobs: -n %jobs} --ignore tests/integration -k "not no_bare_six_imports"
|
2018-04-24 13:31:58 +00:00
|
|
|
|
2017-05-18 18:48:30 +00:00
|
|
|
%files %{python_files}
|
2018-04-24 13:31:58 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc CONTRIBUTING.rst README.rst
|
2016-01-26 09:14:46 +00:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|