2020-11-16 11:29:20 +08:00
|
|
|
%global pypi_name botocore
|
|
|
|
|
Name: python-%{pypi_name}
|
2021-07-26 17:44:16 +00:00
|
|
|
Version: 1.20.26
|
2020-11-16 11:29:20 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: Low-level, data-driven core of boto 3
|
2021-07-26 17:44:16 +00:00
|
|
|
License: Apache-2.0
|
2020-11-16 11:29:20 +08:00
|
|
|
URL: https://github.com/boto/botocore
|
2021-07-26 17:44:16 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/09/e9/3f85aac6fcf346a12b59e7f946aa23a732c0689a39c9a658dd3dc91c3ea6/botocore-1.20.26.tar.gz
|
2020-11-16 11:29:20 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
%description
|
|
|
|
|
A low-level interface to a growing number of Amazon Web Services. The
|
|
|
|
|
botocore package is the foundation for the AWS CLI as well as boto3.
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
|
|
|
Summary: Low-level, data-driven core of boto 3
|
|
|
|
|
BuildRequires: python3-devel python3-setuptools
|
2021-07-26 17:44:16 +00:00
|
|
|
buildRequires: python3-nose
|
|
|
|
|
buildRequires: python3-tox
|
|
|
|
|
buildRequires: python3-mock
|
|
|
|
|
buildRequires: python3-behave
|
|
|
|
|
buildRequires: python3-jsonschema
|
|
|
|
|
BuildRequires: python3-urllib3
|
|
|
|
|
BuildRequires: python3-dateutil
|
|
|
|
|
BuildRequires: python3-jmespath
|
2020-11-16 11:29:20 +08:00
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
|
Requires: python3-jmespath
|
|
|
|
|
%description -n python3-%{pypi_name}
|
|
|
|
|
A low-level interface to a growing number of Amazon Web Services. The
|
|
|
|
|
botocore package is the foundation for the AWS CLI as well as boto3.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{pypi_name}-%{version}
|
2021-07-26 17:44:16 +00:00
|
|
|
# unable to import "botocore". I'm not 100% sure why this happened but for now
|
|
|
|
|
# just exclude this one test and run all the other functional tests.
|
|
|
|
|
rm -vr tests/functional/leak
|
2020-11-16 11:29:20 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
2021-07-26 17:44:16 +00:00
|
|
|
%check
|
|
|
|
|
cd tests
|
|
|
|
|
nosetests-%{python3_version} unit functional
|
|
|
|
|
|
2020-11-16 11:29:20 +08:00
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-07-26 17:44:16 +00:00
|
|
|
* Mon Jul 26 2021 OpenStack_SIG <openstack@openeuler.org> - 1.20.26-1
|
|
|
|
|
- update to 1.20.26
|
|
|
|
|
|
2020-11-16 11:29:20 +08:00
|
|
|
* Mon Nov 16 2020 yanan li <liyanan32@huawei.com> - 1.19.17-1
|
|
|
|
|
- Package init
|