forked from pool/python-botocore
Robert Schweikert
1514cb16bb
- Update to 1.19.47 * api-change:servicecatalog: Update servicecatalog client to latest version - Changes in 1.19.46 * api-change:macie2: Update macie2 client to latest version * api-change:elasticache: Update elasticache client to latest version - Changes in 1.19.45 * api-change:acm-pca: Update acm-pca client to latest version * api-change:apigatewayv2: Update apigatewayv2 client to latest version - Changes in 1.19.44 * api-change:cloudfront: Update cloudfront client to latest version - Changes in 1.19.43 * api-change:compute-optimizer: Update compute-optimizer client to latest version * api-change:resource-groups: Update resource-groups client to latest version * api-change:dms: Update dms client to latest version - Changes in 1.19.42 * api-change:ssm: Update ssm client to latest version * api-change:iotwireless: Update iotwireless client to latest version * api-change:rds: Update rds client to latest version * api-change:glue: Update glue client to latest version * api-change:ce: Update ce client to latest version * api-change:connect: Update connect client to latest version * api-change:elasticache: Update elasticache client to latest version - Changes in 1.19.41 * api-change:config: Update config client to latest version * api-change:ec2: Update ec2 client to latest version * api-change:glue: Update glue client to latest version * api-change:batch: Update batch client to latest version * api-change:managedblockchain: Update managedblockchain client to latest version * api-change:service-quotas: Update service-quotas client to latest version * api-change:s3: Update s3 client to latest version * api-change:connectparticipant: Update connectparticipant client to latest version * api-change:securityhub: Update securityhub client to latest version * api-change:qldb-session: Update qldb-session client to latest version * api-change:outposts: Update outposts client to latest version * api-change:servicecatalog-appregistry: Update servicecatalog- appregistry client to latest version * api-change:dms: Update dms client to latest version * api-change:apigateway: Update apigateway client to latest version - Changes in 1.19.40 * api-change:rds: Update rds client to latest version * bugfix:SSO: Fixed timestamp format for SSO credential expirations * api-change:personalize-runtime: Update personalize-runtime client to latest version * api-change:ec2: Update ec2 client to latest version - Changes in 1.19.39 * api-change:ec2: Update ec2 client to latest version * api-change:servicecatalog: Update servicecatalog client to latest version * api-change:dlm: Update dlm client to latest version * api-change:kms: Update kms client to latest version * api-change:route53resolver: Update route53resolver client to latest version * api-change:sqs: Update sqs client to latest version * api-change:config: Update config client to latest version * api-change:imagebuilder: Update imagebuilder client to latest version * api-change:route53: Update route53 client to latest version - Changes in 1.19.38 * api-change:ce: Update ce client to latest version * api-change:amp: Update amp client to latest version * api-change:location: Update location client to latest version * api-change:wellarchitected: Update wellarchitected client to latest version * api-change:quicksight: Update quicksight client to latest version - Changes in 1.19.37 * api-change:iotwireless: Update iotwireless client to latest version * api-change:lambda: Update lambda client to latest version * api-change:greengrassv2: Update greengrassv2 client to latest version * api-change:ssm: Update ssm client to latest version * api-change:iotdeviceadvisor: Update iotdeviceadvisor client to latest version * api-change:iot: Update iot client to latest version * api-change:iotanalytics: Update iotanalytics client to latest version * api-change:amp: Update amp client to latest version * api-change:iotfleethub: Update iotfleethub client to latest version - Changes in 1.19.36 * api-change:ec2: Update ec2 client to latest version * api-change:globalaccelerator: Update globalaccelerator client to latest version * api-change:devops-guru: Update devops-guru client to latest version - Changes in 1.19.35 * api-change:guardduty: Update guardduty client to latest version * api-change:iotsitewise: Update iotsitewise client to latest version * api-change:autoscaling: Update autoscaling client to latest version * api-change:cloudwatch: Update cloudwatch client to latest version * api-change:pi: Update pi client to latest version * api-change:cloudtrail: Update cloudtrail client to latest version - Changes in 1.19.34 * api-change:networkmanager: Update networkmanager client to latest version * api-change:kendra: Update kendra client to latest version * api-change:ec2: Update ec2 client to latest version - Changes in 1.19.33 * api-change:globalaccelerator: Update globalaccelerator client to latest version * api-change:ec2: Update ec2 client to latest version * api-change:redshift: Update redshift client to latest version - Changes in 1.19.32 * api-change:ecr: Update ecr client to latest version * api-change:sagemaker: Update sagemaker client to latest version * api-change:kendra: Update kendra client to latest version * api-change:quicksight: Update quicksight client to latest version * api-change:auditmanager: Update auditmanager client to latest version * api-change:sagemaker-runtime: Update sagemaker-runtime client to latest version * api-change:sagemaker-edge: Update sagemaker-edge client to latest version * api-change:forecast: Update forecast client to latest version * api-change:healthlake: Update healthlake client to latest version * api-change:emr-containers: Update emr-containers client to latest version - Changes in 1.19.31 * api-change:dms: Update dms client to latest version * api-change:servicecatalog-appregistry: Update servicecatalog- appregistry client to latest version - Changes in 1.19.30 * api-change:ssm: Update ssm client to latest version * api-change:ec2: Update ec2 client to latest version * api-change:workspaces: Update workspaces client to latest version * api-change:license-manager: Update license-manager client to latest version * api-change:lambda: Update lambda client to latest version * api-change:ds: Update ds client to latest version * api-change:kafka: Update kafka client to latest version * api-change:medialive: Update medialive client to latest version * api-change:rds: Update rds client to latest version - Changes in 1.19.29 * api-change:license-manager: Update license-manager client to latest version * api-change:compute-optimizer: Update compute-optimizer client to latest version * api-change:amplifybackend: Update amplifybackend client to latest version * api-change:batch: Update batch client to latest version - Changes in 1.19.28 * api-change:customer-profiles: Update customer-profiles client to latest version - Changes in 1.19.27 * api-change:sagemaker-featurestore-runtime: Update sagemaker- featurestore-runtime client to latest version * api-change:ecr-public: Update ecr-public client to latest version * api-change:honeycode: Update honeycode client to latest version * api-change:eks: Update eks client to latest version * api-change:amplifybackend: Update amplifybackend client to latest version * api-change:lambda: Update lambda client to latest version * api-change:sagemaker: Update sagemaker client to latest version * api-change:lookoutvision: Update lookoutvision client to latest version * api-change:ec2: Update ec2 client to latest version * api-change:connect: Update connect client to latest version * api-change:connect-contact-lens: Update connect-contact-lens client to latest version * api-change:profile: Update profile client to latest version * api-change:s3: Update s3 client to latest version * api-change:appintegrations: Update appintegrations client to latest version * api-change:ds: Update ds client to latest version * api-change:devops-guru: Update devops-guru client to latest version - Changes in 1.19.26 * api-change:ec2: Update ec2 client to latest version - Unpin upper versions - Refresh remove_nose.patch OBS-URL: https://build.opensuse.org/request/show/860210 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=91
99 lines
3.4 KiB
RPMSpec
99 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package python-botocore
|
|
#
|
|
# 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-botocore
|
|
Version: 1.19.47
|
|
Release: 0
|
|
Summary: Python interface for AWS
|
|
License: Apache-2.0
|
|
URL: https://github.com/boto/botocore
|
|
Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
|
|
# Port test suite from nose to pytest, started as #2134, now in separate upstream branch pytest_migration,
|
|
# manually rebased onto 1.9.47
|
|
# PATCH-FEATURE-UPSTREAM remove_nose.patch -- initially gh#boto/botocore#2134 mcepl@suse.com
|
|
Patch0: remove_nose.patch
|
|
BuildRequires: %{python_module jmespath < 1.0.0}
|
|
BuildRequires: %{python_module jmespath >= 0.7.1}
|
|
BuildRequires: %{python_module python-dateutil < 3.0.0}
|
|
BuildRequires: %{python_module python-dateutil >= 2.1}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: %{python_module urllib3 < 1.27}
|
|
BuildRequires: %{python_module urllib3 >= 1.25.4}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-jmespath < 1.0.0
|
|
Requires: python-jmespath >= 0.7.1
|
|
Requires: python-python-dateutil < 3.0.0
|
|
Requires: python-python-dateutil >= 2.1
|
|
Requires: python-requests
|
|
Requires: python-six
|
|
Requires: python-urllib3 < 1.27
|
|
Requires: python-urllib3 >= 1.25.4
|
|
BuildArch: noarch
|
|
%if 0%{?suse_version} <= 1315
|
|
# We need the ssl module, which is provided by python and not python-base
|
|
BuildRequires: python
|
|
%endif
|
|
# SECTION Testing requirements
|
|
BuildRequires: %{python_module mock >= 1.3.0}
|
|
BuildRequires: %{python_module pluggy >= 0.7}
|
|
BuildRequires: %{python_module py >= 1.5.0}
|
|
BuildRequires: %{python_module pytest >= 4.6}
|
|
BuildRequires: %{python_module requests}
|
|
BuildRequires: %{python_module six}
|
|
# /SECTION
|
|
%python_subpackages
|
|
|
|
%description
|
|
A low-level interface to a growing number of Amazon Web Services.
|
|
|
|
%prep
|
|
%setup -q -n botocore-%{version}
|
|
%autopatch -p1
|
|
|
|
# remove bundled cacert.pem
|
|
rm botocore/cacert.pem
|
|
# remove bundled 3rd party Python modules
|
|
rm -r botocore/vendored/
|
|
# fix all imports:
|
|
sed -i 's/from botocore\.vendored //' botocore/*.py tests/functional/*.py tests/integration/*.py tests/unit/*.py
|
|
sed -i 's/botocore.vendored.requests.model.Response/requests.model.Response/' botocore/endpoint.py
|
|
sed -i 's/botocore\.vendored\.//' botocore/*.py tests/functional/*.py tests/integration/*.py tests/unit/*.py
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
%pytest tests/unit
|
|
|
|
%files %{python_files}
|
|
%doc README.rst
|
|
%license LICENSE.txt
|
|
%{python_sitelib}/botocore/
|
|
%{python_sitelib}/botocore-%{version}-py*.egg-info
|
|
|
|
%changelog
|