SHA256
1
0
forked from pool/python-boto3
python-boto3/python-boto3.spec
Markéta Machová 43bec12f65 Accepting request 894513 from home:alarrosa:branches:devel:languages:python:aws
- Update to version 1.17.75
  * api-change:support: [botocore] Documentation updates for
    support
  * api-change:apprunner: [botocore] AWS App Runner is a service
    that provides a fast, simple, and cost-effective way to deploy
    from source code or a container image directly to a scalable
    and secure web application in the AWS Cloud.
  * api-change:compute-optimizer: [botocore] This release enables
    compute optimizer to support exporting recommendations to
    Amazon S3 for EBS volumes and Lambda Functions.
  * api-change:personalize: [botocore] Amazon Personalize now
    supports the ability to optimize a solution for a custom
    objective in addition to maximizing relevance.
  * api-change:license-manager: [botocore] AWS License Manager
    now supports periodic report generation.
  * api-change:iotsitewise: [botocore] Documentation updates for
    AWS IoT SiteWise.
  * api-change:lexv2-models: [botocore] Update lexv2-models client
    to latest version
- from version 1.17.74
  * api-change:mediaconnect: [botocore] MediaConnect now supports
    JPEG XS for AWS Cloud Digital Interface (AWS CDI) uncompressed
    workflows, allowing you to establish a bridge between your
    on-premises live video network and the AWS Cloud.
  * api-change:sagemaker-a2i-runtime: [botocore] Documentation
    updates for Amazon A2I Runtime model
  * api-change:applicationcostprofiler: [botocore] APIs for AWS
    Application Cost Profiler.
  * api-change:neptune: [botocore] Neptune support for
    CopyTagsToSnapshots

OBS-URL: https://build.opensuse.org/request/show/894513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-boto3?expand=0&rev=89
2021-05-20 08:55:48 +00:00

94 lines
2.9 KiB
RPMSpec

#
# spec file for package python-boto3
#
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} >= 1500
%define skip_python2 1
%endif
Name: python-boto3
Version: 1.17.75
Release: 0
Summary: Amazon Web Services Library
License: Apache-2.0
URL: https://github.com/boto/boto3
Source: https://github.com/boto/boto3/archive/%{version}.tar.gz
# Related test dependencies
BuildRequires: %{python_module botocore < 1.21.0}
BuildRequires: %{python_module botocore >= 1.20.75}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module s3transfer < 0.5.0}
BuildRequires: %{python_module s3transfer >= 0.4.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-botocore < 1.21.0
Requires: python-botocore >= 1.20.75
Requires: python-jmespath < 1.0.0
Requires: python-jmespath >= 0.7.1
Requires: python-s3transfer < 0.5.0
Requires: python-s3transfer >= 0.4.0
Requires: python-six
BuildArch: noarch
%if 0%{?suse_version} <= 1315
# We need the ssl module, which is provided by python and not python-base
BuildRequires: python
%endif
%if %{with python2}
BuildRequires: python-futures
%endif
%ifpython2
Requires: python-futures
%endif
%python_subpackages
%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/
# 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
%prep
%setup -q -n boto3-%{version}
sed -i 's/from botocore.vendored //' boto3/compat.py
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand nosetests-%{$python_bin_suffix} -v tests/unit
%files %{python_files}
%license LICENSE
%doc CONTRIBUTING.rst README.rst
%{python_sitelib}/*
%changelog