python-botocore/python-botocore.spec

63 lines
2.1 KiB
RPMSpec
Raw Normal View History

2020-11-16 11:29:20 +08:00
%global pypi_name botocore
Name: python-%{pypi_name}
2022-04-06 16:44:00 +08:00
Version: 1.23.4
Release: 1
2020-11-16 11:29:20 +08:00
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
2022-04-06 16:44:00 +08:00
Source0: https://files.pythonhosted.org/packages/b1/25/2da6559083f9dc3f9863c1dc0c18ec18098fd06990f71693c3b63777ce57/botocore-1.23.4.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-tox
buildRequires: python3-mock
buildRequires: python3-jsonschema
BuildRequires: python3-urllib3
BuildRequires: python3-dateutil
BuildRequires: python3-jmespath
2022-04-06 16:44:00 +08:00
BuildRequires: python3-pytest
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} -p1
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
2022-04-06 16:44:00 +08:00
%{__python3} -m pytest tests/unit
2021-07-26 17:44:16 +00:00
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
2022-04-06 16:44:00 +08:00
* Wed Apr 6 2022 caodongxia <caodongxia@h-partners.com> - 1.23.4-1
- Upgrade python-botocore to 1.23.4
* Thu Mar 31 202 wulei <wulei80@huawei.com> - 1.20.26.2
- Fix rejecting URLs with unsafe characters in is_valid_endpoint_url()
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